Make navigation screen animate in only once
Posted: Wed Jul 29, 2015 10:45 pm
I currently have a navigation() screen that slides in anytime a player right clicks to open the save menu. When the player moves to another screen, such as preferences, the menu slides in again with the animation. I only need the navigation screen to slide in once, and not repeat as we move between screens. Been racking my brain over this for a while! Appreciate all the help!
Also, is there any way to just have the navigation() screen show on right click rather than the save() screen?
Here's now the navigation() anim works:
Calling navigation in preferences:
Also, is there any way to just have the navigation() screen show on right click rather than the save() screen?
Here's now the navigation() anim works:
Code: Select all
screen navigation():
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
add "prefmenuanimred"
add "prefmenuanim"
Code: Select all
screen preferences():
tag menu
# Include the navigation.
use navigation