Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » i need help making a rebirth in my clicker game
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
in my clicker game it is really basic and i want rebirths but idk how to do it i hope someone see's this and helps me
Last edited by tr33guy11 (Feb. 29, 2020 19:30:24)
- ggenije
-
Scratcher
500+ posts
i need help making a rebirth in my clicker game
make variable and set it to 1
then make some button sprite and
then at your clicker object button instead of
That way when you “rebirth” you will have everything on 0 but your will earn money much faster.
set [rebirthCount v] to [1]
then make some button sprite and
when this sprite clicked
if ((yourMoney)>[999]) then
change [rebirthCount v] by (1)
set [yourMoney v] to (0)
set [allUpgrades v] to [0]
end
then at your clicker object button instead of
when this sprite clicked
change [money v] by ((1) * (allUpgrades))
when this sprite clicked
change [money v] by ((rebirthCount) * (allUpgrades))
That way when you “rebirth” you will have everything on 0 but your will earn money much faster.
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
i dont have upgrades and that is a little confusing
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
can you make a video or something pls
- everybodyedit
-
Scratcher
100+ posts
i need help making a rebirth in my clicker game
What would the rebirth do?
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
when you rebirth you lose everything like you money goes to zero but when you click instead of 1 you get 2
- everybodyedit
-
Scratcher
100+ posts
i need help making a rebirth in my clicker game
set [clickStrength v] to [1]
when [space v] key pressed
if <(Money) > [100]> then
change [clickStrength v] by ([floor v] of (([sqrt v] of (Money)) / (10)))
set [Money v] to [0]
end
when this sprite clicked
change [Money v] by (clickStrength)
Last edited by everybodyedit (March 1, 2020 00:52:53)
- everybodyedit
-
Scratcher
100+ posts
i need help making a rebirth in my clicker game
more simply:
set [clickStrength v] to [1]
when [space v] key pressed
if <(Money) > [100]> then
change [clickStrength v] by (1)
set [Money v] to [0]
end
when this sprite clicked
change [Money v] by (clickStrength)
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
ya i need a vid idk how to do it
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
can someone make a yt vid on it i dont understand here
- jens1502
-
Scratcher
1 post
i need help making a rebirth in my clicker game
it isnt working
when i click space my clickstrength go up when i even don't have 100 money
when i click space my clickstrength go up when i even don't have 100 money
- OtherAsriel
-
Scratcher
100+ posts
i need help making a rebirth in my clicker game
make variable and set it to 1I suggest change it by 1 x rebirth count plus 0.5 x allupgradesset [rebirthCount v] to [1]
then make some button sprite andwhen this sprite clicked
if ((yourMoney)>[999]) then
change [rebirthCount v] by (1)
set [yourMoney v] to (0)
set [allUpgrades v] to [0]
end
then at your clicker object button instead ofwhen this sprite clicked
change [money v] by ((1) * (allUpgrades))when this sprite clicked
change [money v] by ((rebirthCount) * (allUpgrades))
That way when you “rebirth” you will have everything on 0 but your will earn money much faster.
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
i dont have upgrades though
- fdreerf
-
Scratcher
1000+ posts
i need help making a rebirth in my clicker game
i dont have upgrades thoughYes you do, you can buy things. Those are upgrades.
- tr33guy11
-
Scratcher
12 posts
i need help making a rebirth in my clicker game
ik but i dont have suffixes for the upgrades
- lucasgamer2030
-
Scratcher
2 posts
i need help making a rebirth in my clicker game
Need rebirths? click here -> scratch.mit.edu/projects/376501401/
- lucasgamer2030
-
Scratcher
2 posts
i need help making a rebirth in my clicker game
when green flag clicked
set [ v] to []
- Discussion Forums
- » Help with Scripts
-
» i need help making a rebirth in my clicker game






