Game Programming I – Assingment day 24
|
Worked more on the overlap function today. box vs box and circle vs circle collisions now work better. Added an enemy class called FoeLarge. The FoeLarge is spawned at the middle of the x-line of coordinates no matter what resolution you set the game to. The new enemy takes damage from bullets but not from the player. The player collides with the large enemy but takes no damage. Added victory and defeat conditions. Helped a little with the options state.
|