Monday, October 31, 2011

Back in Action 5

Man, I don't know why I always wait so late at night to do these.

Anyways, today we're focusing on collision. We get that going and the boss is mostly done. Might add a special projectile for that, dunno yet, wanna see how the boss fight goes with the current one.

It mostly seems pretty routine. I just replace enemies or enemies2 with bosses in most of the stuff I copy over for the player hitting the boss (as well as changing it so the boss doesn't auto die if collided with but the player does). Since it is currently using the same projectiles as the two enemy types.

After playing through it (and fixing one instance of forgetting to change enemies2 to bosses) I see that it works. The problem is that the bosses fires too slow to be a real credible threat. Before the lower firing rate is ok because with all the enemies flying at the player they have to watch out, but here it is just the projectiles. I could either use an if statement to drastically increase the projectile fire rate once the boss shows up, or I could make a new projectile.

Additionally I need to do something about the last enemy that spawns before the boss as all the projectiles come from him until he is destroyed or off screen. Maybe just make an if statement that says if counter = 5 and the boss counter is 9, just increase the bosscounter without spawning one of the second types of enemies. Should be fairly easy.

Tomorrow I want to add a You Won screen for when the boss dies and fix the enemy spawning before the boss. I might try the if statement to increase enemy firing rate thing too.

No comments:

Post a Comment