This week was a big week for the team. We came together and discussed modifying the game from a straight rhythm game to a rail shooter rhythm game. This new game uses a Kinect for aiming and a guitar hero controller for shooting. The object of the game is to shoot the colored enemies with the correctly colored bullets. The player can only shoot on beat and the enemies can only move, spawn and shoot on beat as well. This game started as a side project that the other programmer and myself made in two weeks.
This week we tried hard to try to complete everything so we could challenge deep dive and finally go into the next stage. The team wants to present at the senior show. We have to be in the next stage to request to be in the show.
This week I was working on the enemy AI. I worked on enemy movement and shooting. There are four types of enemies and four different x positions. The closer the enemy gets to the player the closer the enemies x and y converge. When they are as close as they can get to the player, they are touching an form a "wall". This way the enemy actually stays in view so it will be easier for the player hit the enemies.
The four enemies all have different movements. The green enemies move straight at the player. The red enemies move across the row then moves forward and repeat. The yellow ones move diagonal towards the player. The blue ones move two steps forward and one step back.
The enemies shoot every 6 secs. Since this game is two players The enemies aims at the closest player.