Jump to content

Menu Item: Difference between revisions

No change in size ,  28 June 2024
m
Fix and make links
m (Add template, substitute backticks. This article probably still needs reworking)
m (Fix and make links)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
}}
}}


The Menu Item block is a script block which was added on Fancade 1.6.
The Menu Item block is a script block which was added on [[Version History#fancade-1-6-6|Fancade 1.6]].
When it is executed at least once it activates the shop system adding a shop to the game which is only accessible when you win or lose the game.
When it is executed at least once it activates the shop system adding a shop to the game which is only accessible when you win or lose the game.
The main use of this script is to add items to a shop which should only be done ''once'' per item.
The main use of this script is to add items to a shop which should only be done ''once'' per item.
To learn how to use it, see [[How to use the shop system?|here]].
To learn how to use it, see [[How to use the shop system|here]].


== Notes ==
== Notes ==
Line 39: Line 39:
Do the same for the <code>Coins</code> variable.
Do the same for the <code>Coins</code> variable.


Add a way to make the player claim the coins they got in game and to submit their score. If you are using an object to do this then check if the object has no other object around it or is unglued; if not, do so. If you don't know how to do it then check [[How glue makes objects stick together|this article]]. You may also need the [[Tap to pick closest object]] article.
Add a way to make the player claim the coins they got in game and to submit their score. If you are using an object to do this then check if the object has no other object around it or is unglued; if not, do so. If you don't know how to do it then check [[Glue|this article]]. You may also need the [[Tap to pick closest object]] article.


== Related ==
== Related ==