I currently have this setup gyazo.com/a194e173600c9b27230e03edbf4bfff4/draw
But it doesn't work as expected (obviously since I'm here...hehe)
Also here is the result of the setup: gyazo.com/51b33bd82bdf5a3eb7627e28fa7c05fc
I want to import new images to different frames in runtime, how would I go about doing this?
Develop games in your browser. Powerful, performant & highly capable.
curFrame variable is local, it's reset to default value at the end of each tick. You need to set it as Static - then it will remember its value.
Check your other local variables, you may need to make some of them static as well.
curFrame variable is local, it's reset to default value at the end of each tick. You need to set it as Static - then it will remember its value. Check your other local variables, you may need to make some of them static as well.
AH Voila! works now XD Thanks so much!