Tuesday, February 12, 2013

Vinyl Lights and Sound!

Huge progress on the game this week.  We've got songs playing in game and we have the ability to change the speed of it based on the players speed.  So at the optimal speed the song would play correctly as opposed to too fast or slow.  A slight problem with this seems to be that the song is getting warped somehow, so if you speed up/slow down and then return to the normal speed it won't sound right.  We're trying to figure out why this is.

Volume also is full while in the center of the pipe and decreases as you get near the edges.

On top of this we added lasers as another object to obstruct the player.  These act as walls that prevent you from moving side to side in the pipe narrowing the playing field and making it noticeably harder.  As a side effect of adding these we ran into a small bug where the lasers were appearing pointing up into the sky instead of along the length of the pipe.  We currently added this as an additional feature so that there's a mini light show going on in the distance now, it looks pretty cool, especially since it's all based on how the player is moving.

To go along with all of this we added a Score and Speed display to help inform the player.  Speed currently shows an internal value we understand, but we need to convert it to a number that makes sense and we can teach the player about (RPMs).  Score constantly increases, but does so faster if you're in the center of the pipe and going at the optimal speed.

Now we want to make things change based on the music as opposed to just randomly spawning them in the world.  We're not sure if we'll actually have this done in time for the pitch in two weeks, but maybe it will happen.

Here's what it currently looks like:

No comments:

Post a Comment