In my project, I want to change the size of things every time there is a level up. I know it sound simple, but I can't get the growing to stop. I just want it to grow by 10, then stop. Any ideas? Thank you
Offline
Try this, Annabeth4vever29:
when I receive [level up v] repeat (10) change size by (1) endIf you wanted it to grow instantly you could get rid of the repeat loop and just put "10" into the "change size by( )" block!
Offline
You could do something quite complex like this:
when gf clicked forever change size by ((((90)+((level)*(10)))-(size))/(10))This allows to avoid broadcasts and have a "smoothing" effect as it changes size
Offline
Thank you, but the growing still keeps growing. Any ideas?
Offline
If you tried sparks' script (sorry AtomicBawm3, I'm too lazy to look at yours ) and it still keeps growing, the problem is probably elsewhere. Do you change the sprite's size in any other script? Do you broadcast "level up" more often than you intended? Either of these could be causing the bug.
Offline
It could be that your doing this:
forever broadcast [level up v]
Offline