i know if you preload an image and use that to create sprites with its supposed to only delete that sprite and image and not the original preloaded image correct? as in:
images.MetalBack = LoadImage("Backgrounds/Metalbox.png")
////////
Gunboxs[i].id = createsprite(images.MetalBack)
//////
deletesprite(Gunboxs[i].id)
i have no other instances if that sprite being deleted and zero instances of the image (images.MetalBack) being deleted. It works the first time around but then when i come back to reload it again it says the image cant be found.
i added:
if GetImageExists(images.MetalBack) = 0
images.MetalBack = loadimage("Backgrounds/Metalbox.png")
endif
and this allows me to pass through again. I have never had this issue before. if anyone can give me a hint of what i might be doing wrong, thank you in advance.