Erasing maps?

johnnyp1015
I'm super new to the Quest program, but I am loving every bit of it. I think it's very powerful, and for the game I'm designing I'm sure Quest has the tools for bringing it to life.

But I have no idea how to do it.

My game has levels. I'm not talking about the physical levels, like levels in a building, but stages, the Mario World 1-2, 1-3, etc. I understand the up-down exits. What I want to be able to do is have the player go to a different room with the entire map clearing, or being erased. Kind of like how you can erase previous text. When the player leaves the apartment and goes to the bank, the apartment text is cleared and the bank text begins. I want apartment map to clear and the bank map to be free.

Is there anyway to do this? Thanks for any help, it's this or bust for me, and I really like the map mechanic.

johnnyp1015
bump?

jaynabonne
When you change POV with the map on, Quest does this internally:

JS.Grid_ClearAllLayers()
Grid_Redraw


The first is probably what you're looking for, but the second might be needed as well to make the current map show up.

(Sorry for taking so long to get back to you on this.)

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums