#how to keep a sprite drawn after the draw end event

11 messages · Page 1 of 1 (latest)

hexed echo
#

.

#
    drawGraph();
    nx++;
}```
also the "i<10" just seems to change the speed at which nx increments
#

like 1 is slow, 10 fast

#

isnt it just supposed to stop after hitting 10

#

and call at a constant speed, which is the draw end

keen chasm
#

i does not go higher than 10 here

#

nx does not appear to be a local variable so it just goes up every iteration

hexed echo
#

yes

#

but it should only be 9 iterations

#

why is it infinitely going up then

keen chasm
#

i does not infinitely go up. nx does