oldnoob
Member
Hi all,
I've just started a very simple project that creates snow (one drop every cycle) falling down the screen. When the Y pos of the snowdrop is greater than 350, I destroy it.
Unfortunately, once it loops around by about 600 times, the drops get fewer and fewer and by the time the counter is at 700, there are no new snowdrops at all!
I don't understand why as I'm destroying the instances when they get to the bottom of the screen. Here's a GIF...
The step event of my controller object has this...
Any idea why this is happening?
Thanks.
Noob.
I've just started a very simple project that creates snow (one drop every cycle) falling down the screen. When the Y pos of the snowdrop is greater than 350, I destroy it.
Unfortunately, once it loops around by about 600 times, the drops get fewer and fewer and by the time the counter is at 700, there are no new snowdrops at all!
I don't understand why as I'm destroying the instances when they get to the bottom of the screen. Here's a GIF...
The step event of my controller object has this...
GML:
instance_create_depth(random(600),-20,0,obj_snowdrop)
count+=1;
Thanks.
Noob.
Last edited: