2d game anthony newman brother

19
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

Upload: anthonynewman

Post on 20-Jul-2015

61 views

Category:

Economy & Finance


1 download

TRANSCRIPT

Page 1: 2d game anthony newman brother

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 anthony newman brother

This is me creating a player object

Page 3: 2d game anthony newman brother

This is me coding my sprite.

This is the coding finished

Page 4: 2d game anthony newman brother

This is me creating a level to test my sprite

Page 5: 2d game anthony newman brother

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

Page 6: 2d game anthony newman brother

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 anthony newman brother

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

Page 8: 2d game anthony newman brother

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 anthony newman brother

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 anthony newman brother

here is the finished code for the particle system.

Page 11: 2d game anthony newman brother

I am now creating bullets for my sprite

here is the code for the bullets

Here you can see the bullets

Page 12: 2d game anthony newman brother

Here I am creating the enemy spawner and setting its movements.

Page 13: 2d game anthony newman brother

Here is the finished coding

Page 14: 2d game anthony newman brother

I am now going to create where the enemy can be destroyed by my laser.

Page 15: 2d game anthony newman brother
Page 16: 2d game anthony newman brother

Here you can see that I have destroyed

the bottom enemy.

I made it so that the bullet doesn’t

continue to be on the screen after it has destroyed the enemy

I am going to make it so that the enemy can destroy me.

Page 17: 2d game anthony newman brother

I have made it so that if the

bullet goes outside the room it is destroyed.

I am making the shield for my player.

Page 18: 2d game anthony newman brother

Here you can see that I

have a health bar now.

Here you can see that my health bar has gone down

I’m creating it where the player dies and the game restarts

Page 19: 2d game anthony newman brother