Unity Project 6: Coin Collection

Standard assets imported from the asset store so that we could use an FPS controller.


Standard assets


Coin Gameplay


Scene view


Invisible enemy (Spike) 

'Spike Trap' script attached so that when the player collides with the spike trap, an object can be triggered or an event can occur (such as. losing health).


Enemy Inspector

The 'Pick Up' script is attached to the coin object.


Coin Inspector

Outer mesh of the coin has an 'Idle Move' and 'Constant Rotation' script attached, allowing the coin to move up and down on the spot as a type of animation.


Outer Mesh of Coin Inspector


Assets


Hierarchy

Comments

Popular posts from this blog

Unity Project 4: Ball platformer game

[Research] Traditional Poster Design (4CTA1214)