Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » My Clones are not Working
- calebtristan5000
- Scratcher
100+ posts
My Clones are not Working
I have a zombie apocalypse game, and I seem to have a problem with my clones. I have a script for the zombies, and they worked, until I added a home menu. I didn't change any of original code. I have no idea why my script isn't working. Any help would really be appreciated.
Here is the game link:
https://scratch.mit.edu/projects/237766687/
Here is the game link:
https://scratch.mit.edu/projects/237766687/
- DerpyHead0
- Scratcher
1000+ posts
My Clones are not Working
you have too many flower clones
the clone limit is 301
why do you even need 300 clones anyways?
also you should also use less forever loops, you seem to use them for every individual thing.
you can just:
the clone limit is 301
why do you even need 300 clones anyways?
also you should also use less forever loops, you seem to use them for every individual thing.
you can just:
foreverno need to:
thing 1 :: grey
thing 2 :: grey
end
forever
thing 1 :: grey
end
forever
thing 2 :: grey
end
Last edited by DerpyHead0 (Aug. 11, 2018 13:24:23)
when I start as a clone
delete this clone
- calebtristan5000
- Scratcher
100+ posts
My Clones are not Working
Okay. Thank you so much! I will make changes.
- ZechTechWow
- New to Scratch
3 posts
My Clones are not Working
If you need your clones to work at certain times you can:
when green flag clicked
forever
if <(backdrop #) = [1]> then
repeat until <not <(backdrop #) = [1]>>
create clone of [zombie v]
end
end
end
Last edited by ZechTechWow (Aug. 12, 2018 16:40:13)
- Discussion Forums
- » Help with Scripts
- » My Clones are not Working