Discuss Scratch

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
setrebirthCountto1

then make some button sprite and
whenthisspriteclickedifyourMoney>999thenchangerebirthCountby1setyourMoneyto0setallUpgradesto0

then at your clicker object button instead of
whenthisspriteclickedchangemoneyby1*allUpgrades

whenthisspriteclickedchangemoneybyrebirthCount*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

tr33guy11
Scratcher
12 posts

i need help making a rebirth in my clicker game

thats is my game
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

setclickStrengthto1whenspacekeypressedifMoney>100thenchangeclickStrengthbyfloorofsqrtofMoney/10setMoneyto0whenthisspriteclickedchangeMoneybyclickStrength

Last edited by everybodyedit (March 1, 2020 00:52:53)

tr33guy11
Scratcher
12 posts

i need help making a rebirth in my clicker game

ya idk
everybodyedit
Scratcher
100+ posts

i need help making a rebirth in my clicker game

more simply:

setclickStrengthto1whenspacekeypressedifMoney>100thenchangeclickStrengthby1setMoneyto0whenthisspriteclickedchangeMoneybyclickStrength
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
New 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
OtherAsriel
Scratcher
100+ posts

i need help making a rebirth in my clicker game

ggenije wrote:

make variable and set it to 1
setrebirthCountto1

then make some button sprite and
whenthisspriteclickedifyourMoney>999thenchangerebirthCountby1setyourMoneyto0setallUpgradesto0

then at your clicker object button instead of
whenthisspriteclickedchangemoneyby1*allUpgrades

whenthisspriteclickedchangemoneybyrebirthCount*allUpgrades

That way when you “rebirth” you will have everything on 0 but your will earn money much faster.
I suggest change it by 1 x rebirth count plus 0.5 x allupgrades
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

tr33guy11 wrote:

i dont have upgrades though
Yes 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

whenclickedsetto

Powered by DjangoBB