Saturday, January 7, 2012

Kart Racer- Audio Department and Yet Even More AI

Today I've started to work on some audio related aspects.

First off, I've added a crashing sound that will play when you bump into a wall. There's also a separate sound that plays when you crash into a tree [leaves rustling, etc.] I was hoping to trigger the sound only if the kart was traveling at a certain velocity before impact, but I couldn't get it to work properly. It seems fine the way it is.

Also, I've finished another track for the game. This will play at the main menu screen and at the results screen shortly after a race. I kept this one short, as the player won't hear it for too long anyway.



Next, I'm starting to conceptualize a system for when the player finishes three laps. Basically, the player kart will be swapped out with an AI kart after crossing the finish line, and the view will switch to a different camera that rotates 360 around the kart. This is when the menu track will fade in.

As far as artificial intelligence goes, I'm currently trying to figure out how to switch to the next target once it gets within a certain distance of the first target. Because the kart goes in a closed loop, it needs at least three or more targets placed around the track to go all the way around. That's it for now.

No comments:

Post a Comment