Week 3 - Update


I had time today to add the animated character from last week's post to the level I created this week, calculating the speed of the player each frame to decide which animation to play (idle or walk). In the process, I also found a small logic error in my code which could have affected where the baby penguins move to. I did some debugging and found the difference between where I wanted them to go and where they were being told to go was so tiny it wasn't noticeable during playtesting. Learning from this, I was able to adjust the code to properly account for the player's speed and direction. Here is a quick gif to show the finished product for this week. There is a playable version available here: KIT207 Tutorial 3 by davomcd (itch.io) (left click to move, right click to spawn baby penguins).


Get UTAS KIT207 Portfolio

Leave a comment

Log in with itch.io to leave a comment.