So I'm trying to play my game, quit, then go right back to playing the same level. I delete all sprites, audio, animations, objects, everything! Only problem is that when I go to play a second time the animations don't play. If I disable the function to load the sprites at the beginning of the game it works fine. The interesting thing is if I use "set display mode" in the delete process it works correctly. I can only assume that something Isn't being deleted, but I know my loop is going through all the items.
This is what I do when I load:
load_sprite:
load image "myimage",1
sprite 1,0,0,1
set sprite alpha 1,0
return
delete_sprite:
show sprite 1
set sprite alpha 1,255
delete sprite 1
return
The reason why I use show sprite and change the alpha when deleting it is to restore it to its original values, in hopes of making it work, but still no luck
The fastfood zombie killer