28/03/2019
I have managed to fix the glitch that messed up the camera by making the camera to rotate with the player when it turns around. I have made it so after a bullet is fired it will be deleted after one second by connecting the fire button to a button that deletes the object. I made the delete button have a delay so that the bullet wouldn't be deleted instantly. I have also made it so the backgrounds are on different layers so that they scroll at different speeds which is something that would realistically happen. I have also placed a health bar that is above both the enemy and player, it follows them wherever they go and it will begin to empty when they take damage. It is locked to the top of their heads which means if they rotate the health bar will also be where the head is. I have also made it so that the player will die after being hit by the enemy too much. I have added the ability to shoot to enemies, however, their bullets don't move and will stay in place. Becau...