Posts

Showing posts from May, 2019

Project Report 30/05/2019

This week I handed in my project, recorded myself playing all three of the levels and wrote a report about how I made the game, how it is different from my original planned game and what went wrong while I was making the game.

23/05/2019

This week I decided to make it so that once the bullet hits the enemy they will be instantly deleted. Because of this, I have decided to make there be more enemies in each stage rather than there being fewer enemies in each stage. While I was working on my project today the game stopped working and wouldn't play. It was because every prefab that was assigned to an object was removed such as the enemies targeting the player and the camera following the player so I fixed that and the game started working again. Another issue that I had was that for some reason my player would lose the ability to shoot. I quickly found out that it was because my firepoint had gravity set to it so it fell through the map. I fixed it by setting the gravity scale to 0. Another issue with my shooting is that the bullet wasn't firing from my fire point, they were instead coming from off-screen, no matter which way I faced it kept firing from off-screen behind my player.

16/05/2019

Image
This week I changed the player's health bar to a UI element since I could figure out how to take damage and get the health bar to deplete. I moved the placement of the UI health bar so that it is always positioned above the player's head. Because of this I'm also removing the health bars from enemies and making it so that the bullets that the player fires will knock back the enemy.

09/05/2019

Today, there was a glitch that prevented me from being able to play my game. Eventually, I realised that it was a compiler error and to fix it I needed to add a 2DRigidBody to all of the fire points which allowed me to play the game.