Gamebridge/Coin Tutorial

From Noisebridge
Revision as of 23:30, 10 November 2015 by Lxpk (talk | contribs) (Created page with "= Coin Tutorial = == Once you've made your first level have obstacles to avoid falling forever, it's time to add some objectives for your players to seek out. == * Create a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Coin Tutorial

Once you've made your first level have obstacles to avoid falling forever, it's time to add some objectives for your players to seek out.

  • Create a Coin.cs script
  • Create a World.cs script
  • Make Coin.cs a trigger that sends an AddCoin message to World.cs
  • Make World.cs increment a coin integer variable and display it OnGUI.