Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » forever loop help
- ReeKidV2
- Scratcher
9 posts
forever loop help
i wanna create one clone when it touches a hit box (in this game https://scratch.mit.edu/projects/562726171) but i keeps creating multiple of it self. What do i do?
- Eagle138
- Scratcher
500+ posts
forever loop help
Add a ‘wait _ seconds’ block under the ‘if touching _’ loop, so that the sprite waits a while before creating another clone. If it waits, it probably isn't going to create a new problem until it hits the hitbox again.
~ Eagle38
coder/artist/noob animator :: he/they :: unconventional :: comment ‘e’ on my profile if you see this
just call me Eagle
fancy signature banner coming…one day
- deck26
- Scratcher
1000+ posts
forever loop help
The spike sprite is cloned and each clone will respond to the broadcast as well as the sprite so they'll quickly multiply.
- Discussion Forums
- » Help with Scripts
- » forever loop help