Login

Fancade Wiki

Updated Menu Item.md (markdown)

... ...
@@ -12,7 +12,7 @@ Items can be either one type of upgrades or boosters just by playing with the bu
12 12
13 13
You also cannot use menu item to add buttons on the top of the screen or the pause menu. Remember the [[top of this page|#top]]?
14 14
## Example
15
You can make a clicker game with Menu Item. So, add a [[touch sensor]], a [[get variable]], a [[increase number]] and this script (Menu Item). Make it detect tap begins. Make it increase variables named `Coins` and `!Score`. (! means saved variable, tap `Local` then `Global` to get `Saved`.
15
You can make a clicker game with Menu Item. So, add a [[touch sensor]], a [[get variable]], a [[increase number]] and this script (Menu Item). Make it detect tap begins. Make it increase variables named `Coins` and `!Score`. (! means saved variable, tap `Local` then `Global` to get `Saved`.)
16 16
17 17
Now get a [[set score]], plug in `!Score` into the Score wire, and plug `Coins` into the Coins wire.
18 18
Fancade Wiki