Tuesday, February 1, 2011

AI, Laser and other tweaks

I improved the AI so that it's a little more fun to fight. They now speed up after they fly by you so you can't catch them without using an engine pod. When they turn around and start to fly back toward you, their speed cuts in half so you have more time to shoot at them. This solves the problem of the game moving too fast without compromising the speed of the ships.

I also tried for hours to get the lasers to billboard around the z-axis instead of around the y-axis with no success. After profiling the engine, we decided that we can use a model instead of a billboard sprite and it wouldn't cost us too much more.

No comments:

Post a Comment