Discuss Scratch

scratchymonko
Scratcher
5 posts

How Do You Make A Shop With Items That Unlocks Characters?

I Am Try To Make Characters That Cost Money In A Store How Do I Make It?
_teh_armenian_
Scratcher
13 posts

How Do You Make A Shop With Items That Unlocks Characters?

You can basically click a button that will broadcast a script to another sprite to change the costume of the sprite. If you want to add currency than use this script.
If YOURVARIABLE = amount than
change costume to (costumenumber#)
scratchymonko
Scratcher
5 posts

How Do You Make A Shop With Items That Unlocks Characters?

_teh_armenian_ wrote:

You can basically click a button that will broadcast a script to another sprite to change the costume of the sprite. If you want to add currency than use this script.
If YOURVARIABLE = amount than
change costume to (costumenumber#)
It Doesn't Help Me At All
superbluigi
Scratcher
100+ posts

How Do You Make A Shop With Items That Unlocks Characters?

whenskeypressedshowlistcostumesaskWhich costume?andwaitifanswer=1thenswitchcostumetocatifanswer=2thenswitchcostumetoamogushidelistcostumeswhenclickedhidelistcostumes
GameCatastrophe0927
Scratcher
1000+ posts

How Do You Make A Shop With Items That Unlocks Characters?

I did something like this. To simplify the code,
whenclickedforeveriftouchingmouse pointer?andmousedown?thenbroadcastjoinbuyshopShop variable is a number referring to which item the player bought. I used a simple slider.waituntilnotmousedown?whenIreceivebuy1in the first character's sprite, or in an overall sprite. . .whenIreceivebuy2ditto, second character sprite. . .
et cetera.

Powered by DjangoBB