12
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

2d game iang

Embed Size (px)

Citation preview

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

This is me creating a player object

This is me coding my sprite.

This is the coding finished

This is me creating a level to test my sprite

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

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

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

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

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

here is the finished code for the particle system.

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