Shop: Difference between revisions

389 bytes removed ,  10 September
→‎Limits: Improve wording
(→‎Menu items: Added content to be aware.)
Tags: Reverted Mobile edit Mobile web edit
(→‎Limits: Improve wording)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
When you play-test the game you should see the coin counter at the corner of the screen.
When you play-test the game you should see the coin counter at the corner of the screen.
To get coins just increment the variable you used as the coin counter.
To get coins just increment the variable you used as the coin counter.
Note: the Set Score script can have a Score, or coins.
You can add variables to the Set Score script, to save it (like a Clicker game.) or to make a never ending game, to impress your friends and the world. (Like the Alphabet series by R3DZER.)


[[File:Coins_display.png|thumb|right|Ten coins are set.]]
[[File:Coins_display.png|thumb|right|Ten coins are set.]]


Another Note: When making a game, you can give yourself free coins to test your upgrade shop.
Note: When making a game, you can give yourself free coins to test your upgrade shop.
They won't count in the published game though.
They won't count in the published game though.


Line 23: Line 19:


To add items to the shop, take as many Menu Item blocks as you need, and after placing them in the floor you will see two inputs: a Picture input and a Variable input.
To add items to the shop, take as many Menu Item blocks as you need, and after placing them in the floor you will see two inputs: a Picture input and a Variable input.
Also, it'll need a {{Port|o|Pink}} input (AKA, the object input), and a {{Port|n|Variable/Blue}} input (AKA, the number input.).


The {{Port|o|Picture}} input is the object that will be displayed for the corresponding item in the Shop.
The {{Port|o|Picture}} input is the object that will be displayed for the corresponding item in the Shop.
Line 44: Line 38:
** '''Double''': the price starts at the set amount, and doubles each time you buy the upgrade.
** '''Double''': the price starts at the set amount, and doubles each time you buy the upgrade.


Important note: The existing prices are 10, 100, 1k (1,000) and 10k (10,000) for all these options, except for 10k, which only has the Fixed option.
The existing prices are 10, 100, 1k (1,000) and 10k (10,000) for all these options, except for 10k, which only has the Fixed option.


== Variables ==
== Variables ==
Line 66: Line 60:
== Limits ==
== Limits ==


A level may only have 6 pages and 100 items (including titles).
A level may only have up to 6 pages and up to 100 items (including titles).


== Buggy effects of negative numbers ==
== Buggy effects of negative numbers ==