I'm using a HUD wich requires a picture to be shown, I show the picture with
in Scene_map, and it appears fine, I also used "@sprite.dispose" where all the others "dispose" are, and "@sprite.update" where all the others "update" are too. it works fine with disapearing whenever I enter the menu,and reapearing when i get back to the map, however, when I teleport to another map(or even the same map) my picture disapears, and doesn't come back till I enter and exit the menu again.
How can I do so when I change maps, the picture stays? (or reloads)
I'm guessing this might be pretty simple, I hope someone will be able to help me...
BTW: I tried instead of using an image, making a window with
then, updating it and disposing it in the same parts where I updated and disposed the image,
but when I teleport to another map, it works perfectly fine...
I'm guessing then that pictures work different, is there any way to make the picture not disapear when changing map?
Code:
# Make HUD
@sprite = Sprite.new
@sprite.bitmap = RPG::Cache.picture("HUD1.png")
How can I do so when I change maps, the picture stays? (or reloads)
I'm guessing this might be pretty simple, I hope someone will be able to help me...
BTW: I tried instead of using an image, making a window with
Code:
@playtime_window = Window_PlayTime.new
@playtime_window.x = 0
@playtime_window.y = 224
but when I teleport to another map, it works perfectly fine...
I'm guessing then that pictures work different, is there any way to make the picture not disapear when changing map?