Docs Cookbook
Coins and a score
Place a coin. What is it? ▸ Pickup, Type Coin, and its Worth (a gold coin worth 5).
#Without code
- Place a coin. What is it? ▸ Pickup, Type Coin, and its Worth (a gold coin worth 5).
- Coins are Counted on screen by themselves.
- For a score too: the coin's Rule (Advanced Trigger) When touches it, Then Add to
counter (Counter
score, Add 10). - Show it with Show text on screen:
Score: {score}(see Collectible counter on the HUD).
#Quick code
Where it goes: on the coin, Event: Player touches / steps on it.
give("Coin")
score = score + 10
play("blip")
self.remove()
Get an email when Voxel Game Maker launches
It's coming to Steam with a launch discount. One email on launch day, the odd progress update, nothing else.