This shows you the differences between the selected revision and the current
version of the page.
faq 2008/12/23 14:06 | faq 2010/10/07 17:38 current | ||
---|---|---|---|
Line 17: | Line 17: | ||
Also important to know is that all your gfx, music etc. must reside in your project directory otherwise it doesn't get compiled into packages. | Also important to know is that all your gfx, music etc. must reside in your project directory otherwise it doesn't get compiled into packages. | ||
+ | |||
+ | |||
+ | |||
Line 24: | Line 27: | ||
A: Normally would have been sufficient to set Game.InventoryVisible = false; but WME demo has a sliding inventory, so we would need a bit more for that. | A: Normally would have been sufficient to set Game.InventoryVisible = false; but WME demo has a sliding inventory, so we would need a bit more for that. | ||
- | Go into data/scripts/game_daemon.script file to the line which reads | + | Go into data/scripts/game_loop.script file to the line which reads |
- | if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible) Game.InventoryVisible = true; | + | <code script> |
+ | if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible) | ||
+ | Game.InventoryVisible = true; | ||
+ | </code> | ||
and change it to | and change it to | ||
- | if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible && InventoryActive) Game.InventoryVisible = true; | + | <code script> |
+ | if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible && InventoryActive) | ||
+ | Game.InventoryVisible = true; | ||
+ | </code> | ||
Add into data/scripts/base.inc line global InventoryActive; and finally in data/scripts/game.script insert at the begining line InventoryActive = true; | Add into data/scripts/base.inc line global InventoryActive; and finally in data/scripts/game.script insert at the begining line InventoryActive = true; |