Skip to content
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 in index.html

The entity is well setup for handling collision with player.

  1. Spawn the coin in Asteroid.js
  2. 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!