Workflow

10
First I had to create my sprite. However to do this I needed to decide on the amount of pixels that were going to be on it, this was not that hard to decide as all it needed to be was a square. I made the sprite look like a kind of spaceship and added some colour to it that I thought went well with my ideal thee of the game.

Transcript of Workflow

First I had to create my sprite. However to do this I needed to decide on the amount of pixels that were going to be on it, this was not that hard to decide as all it needed to be was a square. I made the sprite look like a kind of spaceship and added some colour to it that I thought went well with my ideal thee of the game.

Then, I had to create the collision mask for my sprite. I could either use presets for it, change it myself or make it fit to the exact shape. I decided to use a diamond shape instead of creating it to fit the exact shape. My reasoning for

this is because in previous tests this was rather glitchy and it would either not register or register in the wrong places.

After that I created the coding to move the sprite. I opened up a place to type the code and then started to write it. However I added hints in using “///”. I did this so that if I needed to edit the code later, I knew what code did what to my game.

Then I needed to create my room for the game. I created the preset to the room and also put it to the resolution that I believed fit. This then opened up a tool that was similar to paint and in this I used the fill tool to make the background light blue to look like a sky and I created the clouds by creating alot of circles and merging them together.

I then edited the code that I used for my user sprite and added in two functions. These functions were to shoot with a singular button press and then one to fire a constant stream, this feature was added in because I did not know which I wanted to implement into the game, however in the end I decided to add both.

After that, I needed to add sound effects to the firing of my sprite. I collected some that were already pre-made for me and then I added them and I made these uncompressed. The reasoning for this is because the sound file was not that long, therefore it would not make the game load any slower.

However, I then needed to create a projectile for my sprite to shoot. I did this the same way that I created my ship, however this time I instead created a circle that fit the entire sprite and coloured it red, I then did it again but made

different colours such as black, yellow and red. These then merged together to create one sprite that would alternate colours. I then wrote in the code to make this fire from my sprite.

Then I created something that I would be able to shoot and destroy, so I created a sprite for it, made the collision mask and then coded in a projectile for them to shoot and also for them to move.

I then coded in for the enemy to be destroyed and also for it to make a sound effect and a visual effect for it also.

Then, I created a destruction animation for my sprite being destroyed the same way that I created my enemy projectile. Then I coded it into the game, this time it was a little different however because the coding that I did was added into my sprite and also I needed to make the enemy stop firing when I was destroyed.

Then, I coded in a shield for my sprite. This was made so that it was not destroyed the second that it was hit. This was really simple as I created something that would soak up the damage that collided with my animation and I also created a bar at the top of the screen to show how much of my shield was left.

I then created a boss monster by just making it a bigger version of my normal enemy and I increased the same that it did to my shield. I made the sprite bigger to show that it was meant to be the boss. I then had to code it and make the collision mask of it as well as positioning it in the room. Then I made a scoring system for my game so that when you destroyed an enemy, you gained points and I made it visual in the top left part of the screen as well as deciding what font I wanted to use.