Making a Game in Two Weeks: Day 9

Day 9 and of my Game in Two Weeks and things are starting to come together nicely. All the parts have been implemented to some degree or another, now it is time to start filling out the remaining features and removing the scaffolding.

Day 9. Use the Animated Models

Up until now my Unity game had been using a single butterfly model to represent the characters. Now that I have all my fairies (Chloe, Sofia, Zoe, Aria, and Stella) with animations and other features, I need to revisit everything.

First off, getting the models in game requires a little bit of cleanup. The alpha channels in the wings needed to have the textures marked as using alpha, some of Unity’s default shaders needed to be changed to mobile shaders, some animations needed to be marked as looping, and so on. I needed an animation controller graph to indicate the transitions between animations, and a few other small things. Nothing was very complex, but it unfortunately takes a bit of time to track each item down individually.

Next, I added each of the characters to the front end so the player could choose which ones go in the race.

I added some starting locations to the map so each of the characters could spawn at the right place before the race. Then in my front end’s StartGame function I assigned each of the characters a starting position and the correct character asset.

racersingame

And that wraps up Tuesday.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.