Top Banner
2d game This is me starting to make a sprite for my game And this is the end product This is me creating the sprite properties
12
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 2d game iang

2d game

This is me starting to make a sprite for my game

And this is the end product

This is me creating the sprite properties

Page 2: 2d game iang

This is me creating a player object

Page 3: 2d game iang

This is me coding my sprite.

This is the coding finished

Page 4: 2d game iang

This is me creating a level to test my sprite

Page 5: 2d game iang

I will be setting movement limits because the sprite can go off the screen and I don’t want that.

Page 6: 2d game iang

This is me setting movement limits

This means that if the sprite goes to 32 pixels it won’t be able to go any further

I have set my movement limits

Page 7: 2d game iang

Here you can see that the sprite can’t go off the screen now

Page 8: 2d game iang

I am now going to create a scrolling star background

Here I have put the background on, now I’m going to make it scroll

Page 9: 2d game iang

Here is the finished background, it is a scrolling background

I am now going to create a thrust coming out from my sprite

Here is the finished

product

Page 10: 2d game iang

here is the finished code for the particle system.

Page 11: 2d game iang

I am now creating bullets for my sprite

here is the code for the bullets

Here you can see the bullets

This is me creating an enemy sprite for me to shoot

Page 12: 2d game iang