Discuss Scratch

metaknight99989
Scratcher
6 posts

I'm Trying to make a simple shop for a simple clicker game

Can you help me?
deck26
Scratcher
1000+ posts

I'm Trying to make a simple shop for a simple clicker game

What are you stuck with. That involves multiple steps but mostly simple ones so you should be able to do some of it. What you want to end up with is probably a variable representing the ‘score’ for a single click.
-Paths-
Scratcher
100+ posts

I'm Trying to make a simple shop for a simple clicker game

a clone ID script can be used to clone buttons, background and other things;
set a variable to something ( i.e; ‘buy button’ )
then, under ‘when i start as clone’, put an if - else with if ; ID variable = buy button, do stuff.
AnyGalaxyWolf
Scratcher
15 posts

I'm Trying to make a simple shop for a simple clicker game

metaknight99989 wrote:

Can you help me?

Use my project for ideas https://scratch.mit.edu/projects/572019891/
AnyGalaxyWolf
Scratcher
15 posts

I'm Trying to make a simple shop for a simple clicker game

-Paths- wrote:

a clone ID script can be used to clone buttons, background and other things;
set a variable to something ( i.e; ‘buy button’ )
then, under ‘when i start as clone’, put an if - else with if ; ID variable = buy button, do stuff.

Here is a script example

whenIreceive setupClonesset cloneIDto 1set clonesto10repeatclonescreatecloneof myselfchange cloneIDby1whenIstartasacloneUI|ID:1X:0Y:0Costume:0UI|ID:2X:0Y:0Costume:0UI|ID:3X:0Y:0Costume:0UI|ID:4X:0Y:0Costume:0UI|ID:5X:0Y:0Costume:0UI|ID:6X:0Y:0Costume:0UI|ID:7X:0Y:0Costume:0UI|ID:8X:0Y:0Costume:0UI|ID:9X:0Y:0Costume:0UI|ID:10X:0Y:0Costume:0defineUI|ID:idX:xY:yCostume:costumeifid=cloneIDthenforevergotox:xy:yswitchcostumetocostumeAdd your custom project code after this block

Last edited by AnyGalaxyWolf (Oct. 7, 2021 19:22:18)

MrPotatoManv3
Scratcher
37 posts

I'm Trying to make a simple shop for a simple clicker game

metaknight99989 wrote:

Can you help me?

Try using the code in ShopButton on this game. Feel free to use as much of it as you wish. Just be sure to give credit, thanks!
https://scratch.mit.edu/projects
metaknight99989
Scratcher
6 posts

I'm Trying to make a simple shop for a simple clicker game

deck26 wrote:

What are you stuck with. That involves multiple steps but mostly simple ones so you should be able to do some of it. What you want to end up with is probably a variable representing the ‘score’ for a single click.
I'm stuck with not knwoing how to make a simple shop I want it so that when my mouse hovers over a grey area that the shop opens kinda like a tower defense shop
supergamer10000
Scratcher
1000+ posts

I'm Trying to make a simple shop for a simple clicker game

metaknight99989
Scratcher
6 posts

I'm Trying to make a simple shop for a simple clicker game

Also SThanks every body for joining this scratch disscuss!
TheFezzle
Scratcher
14 posts

I'm Trying to make a simple shop for a simple clicker game

When this sprite licked broadcast open shop when x clicked broadcast close shop
metaknight99989
Scratcher
6 posts

I'm Trying to make a simple shop for a simple clicker game

TheFezzle wrote:

When this sprite licked broadcast open shop when x clicked broadcast close shop
Hm I've made the shop its just that I cant close it! 0o0

Powered by DjangoBB