Discuss Scratch

idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

I just need a counter that when i click the counter goes up. and i need halp with my upgrades. tanks if u help meh

Link:https://scratch.mit.edu/projects/837312127/

Last edited by idotonearth (May 3, 2023 12:30:04)

Spentine
Scratcher
1000+ posts

Halp wit my cliker gaem in scrtahc

You can use a clone text engine to render the clicker counter. As for the upgrades, you can create variables that denote the amount of “IQ” gained per click and every second.
idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

a
idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

how do teh clone text engine tingy?
Spentine
Scratcher
1000+ posts

Halp wit my cliker gaem in scrtahc

You can follow griffpatch's clone text engine tutorial on YouTube.
cs2975871
Scratcher
100+ posts

Halp wit my cliker gaem in scrtahc

You can build a clone text engine using individual costumes with numbers 0-9, label them accordingly and add a clone ID system. Use More Blocks (tick run without screen refresh) and add this code to the define block-
define spawn
go to x: (where you want the thing to originate) y: (ditto)
set cloneID to [1]
repeat (length of (oh, say 12))
create clone of [myself]
change [ cloneID] by (1)
change x by (a reasonable number so the clones don't merge)
end

when I start as a clone
set IDclone to (cloneID)
forever
if (<(IDclone) < (length of (score))> then
if <not <(score) = [0]>> then


switch costume to [ (letter (IDclone) of (score))]

else
switch costume to [0]
end


else
hide
end

Last edited by cs2975871 (May 5, 2023 14:33:24)

cs2975871
Scratcher
100+ posts

Halp wit my cliker gaem in scrtahc

cs2975871 wrote:

You can build a clone text engine using individual costumes with numbers 0-9, label them accordingly and add a clone ID system. Use More Blocks (tick run without screen refresh) and add this code to the define block-
define spawn
go to x: (where you want the thing to originate) y: (ditto)
set cloneID to [1]
repeat (length of (oh, say 12))
create clone of [myself]
change [ cloneID] by (1)
change x by (a reasonable number so the clones don't merge)
end

when I start as a clone
set IDclone to (cloneID)
forever
if (<(IDclone) < (length of (score))> then
if <not <(score) = [0]>> then


switch costume to [ (letter (IDclone) of (score))]

else
switch costume to [0]
end


else
hide
end
[/quote]

Good luck on your game however!
cs2975871
Scratcher
100+ posts

Halp wit my cliker gaem in scrtahc

just don't mind the last one, good luck on programming your game however.
idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

tanks you
idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

but i still dont know what thar (letter (IDclone) of (score)) mean
idotonearth
Scratcher
8 posts

Halp wit my cliker gaem in scrtahc

@cs2975871 Idk what to do with clone id or with score

Powered by DjangoBB