Work Flow

5
Connor Martin At first I created a basic player sprite that I would use in my 2D shooter game, I was making a space shooter game so my player sprite had to relate to that, I searched for lots of different design for a spaceship and in the end I settled for my own design and I think that it looks good in game. I then created an object and wrote a piece of code to make my player sprite become an object so it can be used in game, move, shoot, explode etc. the code was quiet complex but I understood what to do and my player object works in game. This is the code that makes my player object do what it needs to do, move, shoot etc. the script that I had to write was easy to understand but there was a lot of it and it was easy to get something wrong and if you I got something wrong with the code then my player object wouldn’t work so I had to make sure everything was correct.

Transcript of Work Flow

Page 1: Work Flow

Connor Martin

At first I created a basic player sprite that I would use in my 2D shooter game, I was making a space shooter game so my player sprite had to relate to that, I searched for lots of different design for a spaceship and in the end I settled for my own design and I think that it looks good in game.

I then created an object and wrote a piece of code to make my player sprite become an object so it can be used in game, move, shoot, explode etc. the code was quiet complex but I understood what to do and my player object works in game.

This is the code that makes my player object do what it needs to do, move, shoot etc. the script that I had to write was easy to understand but there was a lot of it and it was easy to get something wrong and if you I got something wrong with the code then my player object wouldn’t work so I had to make sure everything was correct.

I then created a basic background that I would later expand on and make it look like a space game and I also put my player object into the level and tested the controls and everything worked fine and it looked good so I kept everything the same until I worked on my background. I also made the background scroll to the side to make it look like I was moving with the player object.

Page 2: Work Flow

Connor Martin

I created a particle effect that looked like the jet of an engine and attached it to my player object so when it moves around the level the particle effect follows it and moves like a flame. The coding for this particular part was quiet challenging, there was a lot of coding to do and there were a lot of little things that needed to be perfect otherwise it wouldn’t work.

I then had to create a player projectile that would fire when I pressed a button, I had to create a sprite that animated to make the projectile look better and I also had to code it to fire when I pressed the spacebar. I also added sound to the projectile so when it fired it made a firing noise.

I created an enemy sprite that animated to make it look a lot better than just a static sprite; I made the ball in the middle of the sprite rotate around the enemy sprite to make it look like it was moving along the level.

Page 3: Work Flow

Connor Martin

I created a system that I placed into the room for the enemy’s to spawn and to make them move around the room, the coding was simple for this but I can change it to make the enemy’s change their pattern on how they move in the room.

I then created a sprite for an explosion for my enemy object and animated it so when the enemy object is shot and explodes the explosion looks like an explosion not just a load of random colours flying across the screen, I also coded it to make it explode when the player object is shot and for it to only last for a limited amount of time.

I then created an enemy projectile that I coded to shoot at my player when it entered the screen and the projectile would aim and follow my player object to make the game a bit more challenging and for the enemy’s to be a bit more difficult to defeat.

Page 4: Work Flow

Connor Martin

I also created a Shield/Health bar that would decrease every time I get hit by an enemy projectile, the coding was simple for the Shield/Health bar but getting it to decrease when I got hit was challenging because I had to figure out the values that I wanted to lose and how much health I would have.

I then created code so that when my player got hit by the enemy projectile I would take damage and my health bar would decrease and when my health reached 0 my player object would explode and move into the next room which was a game over screen, the coding was simple for it but it had to be perfect otherwise the room would reset and not go into the game over room.

I made a score system for my game so when you destroy an enemy you would get points and they would show up on screen, the whole objective of my game is to get as many points as possible and this looks good in my game.