Week 10 Challenge – Unity Bone Rigged Animation

Outcomes Idle For the idle animation I made the sprite bob up and down the way boxers do during fights. Walk Run Jump Evaluation I think all my animations could use more secondary action as most of them don’t have much if any which makes them less realistic and less interesting. The jumping animation could… Continue reading Week 10 Challenge – Unity Bone Rigged Animation

Platformer

Ghost Adventure by danielRift (itch.io) Player Movement Camera Follow Player Jump Kill Enemy Reload Spike – Kill the player

Top Down Shooter

Rabies Simulator by danielRift (itch.io) Player Movement This script has the code that allows the player to move and contains the movement to a specific area on the screen to prevent the sprite getting stuck outside of sight of the player. Vector3 stores a position with x, y and z coordinates. This script turns the… Continue reading Top Down Shooter

Space Invaders

Space Invaders by danielRift (itch.io) The clamp keeps the player locked on the y axis and limits their movement on the x axis to prevent them from moving off screen. When the bullet is spawned it checks that the time that has passed is more than nextFire which is the bullet cooldown time. Enemy code… Continue reading Space Invaders

Cookie Clicker

Cat Clicker by danielRift (itch.io) This is a simple function that adds one to the counter number each time the button is clicked. A coroutine runs the code at a time interval, the time for the coroutine changes during this so that when the player buys upgrades to their autoclick it clicks more frequently with… Continue reading Cookie Clicker