Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2011, 5:29:02 PM (14 years ago)
Author:
landauf
Message:
  • opening the ingame menu pauses the game, closing the ingame menu unpauses the game
  • added a text overlay to the default HUD which shows a notice if the game is paused
Location:
code/branches/usability/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/data/gui/scripts/InGameMenu.lua

    r7928 r7935  
    3333        P:setSelection(1, 1)
    3434    end
     35
     36    orxonox.execute("setPause 1")
     37end
     38
     39function P.onQuit()
     40    orxonox.execute("setPause 0")
    3541end
    3642
  • code/branches/usability/data/overlays/debug.oxo

    r6417 r7935  
    6666    />
    6767
     68    <PauseNotice
     69     name     = "pausenotice"
     70     position = "0.5, 0.3"
     71     font     = "VeraMono"
     72     textsize = 0.03
     73     colour   = "1.0, 1.0, 1.0, 1.0"
     74     align    = "center"
     75    />
     76
    6877    <AnnounceMessage
    6978     name     = "announcemessage"
Note: See TracChangeset for help on using the changeset viewer.