Thursday, November 17, 2016

Senior Game Development Blog Week 11

This is the last week to work on the game. The presentations to continue next semester is on Monday, 11/21. Even though this is the last week we are still going to present to try to challenge into Vertical Slice. Vertical Slice isn't the last stage. The last stage is Final Iteration and Presentation Pitch.

This week I was finishing up everything that wasn't done. I converted the position from the Wii pointer into a UI reticle. Then converted it to have x positions and y positions in screen space. This way the other programmer could rotate the guitars using this UI reticle and his code form before.

I also modified the enemy movement code to be more like what the designer wanted. We had it so that the enemies move in specific patterns in a grid movement. Then we changed it to have specific movement that wasn't a grid movement. Now we are back to the grid movement but the enemies have different patterns than before.

I also fixed a small problem where the music in the level would skip a couple beats when it would go from the intro audio clip to the looping audio clip. I have a script that plays an audio file. Once that audio file is finished it plays another audio script and repeats it. It turned out it wasn't waiting the whole audio clip's length. It was coming in like 1.6 seconds too soon. Now in the code the new audio clip won't play until a certain amount of time has passed, the audio clip's length plus a constant number. I don't know why it was messed up because the script worked on another game. If I were to take a guess. I would say the first audio clip was messed up.