Showing posts with label Task 4 Using a 2D Game Engine. Show all posts
Showing posts with label Task 4 Using a 2D Game Engine. Show all posts

Task 4 Using a 2D Game Engine
















































































































In this screenshot, you see how I programmed my Bug Enemy 1, using events to command it what do do. I made it so it slowly came to the screen and then it quickly shot fast towards the player. The aim was for the player to mainly dodge it using reaction speed and I think that this mechanic makes the game more fun. After that, I wanted the bug enemy to be destroyed when it was off the screen so I added an event so that it would get destroyed and mot make the game lag.



I then added pixel blood so that my enemy shows it when it dies for effect and I like how this looks because it looks very nice and appealing. It also tells the player that the enemy has been killed and I also added in an explosion noise to also indicate the same thing. I also wanted them to shoot a few bullets when they came on screen because it makes the game become harder and it makes the player need to think more and have quicker reaction times. I also set it so that the bullet gets destroyed when it hits my player or goes off the screen so that it doesn't make my game lag or freeze.

In this, you can see that I have added audio into my game when I hold space to make he player shoot. This is so that the player knows that the player is actually shooting and I aimed to get it to play when I held it down and when I stopped shooting, I wanted the sound to also stop.


In this screenshot, you can see that I have added an effect onto my maggot launcher where it bulges slowly in a motion  using a sine type of effect. I like the way this looks in the game because it makes it look like the maggots inside of it are desperate to get out of it. I think that this brings a little bit of life into my game which makes my game look more lively and generally nice.



This is a video showing how my 2D game works, showing how the characters and entities look like and the sound produced when my character shoots or when things get destroyed. I think that I could have done better in most aspects of the game and how it performed overall but next time, I am going to spend more time creating the game making sure the sound works properly so it plays and  stops at the times that it should.  From the video, you can see how everything I've done up to now has came together to create this game and I think that I have done a fairly good job overall mainly looking at areas such as the art since pixel art is something that I think looks very nice and is appealing to look at.