Points

Obj: points

Create a new object- call it diamond and set it to the diamond sprite (or choose something else from the "more points, goals" folder and name it points).

First add the event Collision with person...

Now add actions so the player gets 5 points for every diamond, it plays a sound and the diamond disappears.

  • Set Score - add 5 points for every diamond collect (make sure it's relative or the score won't go up!)
  • Play sound (diamond)
  • Destroy the instance

Room

Add 3-5 diamonds into your testing room.

Test out your game - when you collect the diamonds, the score should go up by 5 points...