Skip to content
bstream 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. Coin should give player +5 score

📧

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 collisions with player.

  1. Spawn the coin in Asteroid.js
  1. Increase the score when coin is collected in Coin.js

For now I have made it a yellow circle - we will replace it with animation later

I do realize that the tasks are getting more complex so don't hesitate to ask for help - and helping the rest of our employees is more than appreciated.

Cheers!

--

Joshua Hal

Producer