-
Notifications
You must be signed in to change notification settings - Fork 123
Chapter 8, Coins
rezoner edited this page Oct 11, 2014
·
6 revisions
Hello there,
Our client claims that the player should get more reward for his "outstanding" performance :)
We've decided to introduce collectible coins - that should spawn when the asteroid is destroyed
First let's get the coins working and then we will move to animating them.
📧
I have prepared a Coin Entity template for you. Put it in
script/Entities/Coin.js
and include it inindex.html
The entity is well setup for handling collision with player.
- Spawn the coin in
Asteroid.js
- Increase the score when coin is collected in
Coin.js
I do realize that the tasks are getting more complex so don't hesitate to [ask for help](http://www.reddit.com/r/unfinishedasteroids) - and helping the rest of our employees is more than appreciated.
Cheers!