This shows you the differences between the selected revision and the current
version of the page.
faq 2009/02/16 10:37 | faq 2010/10/07 17:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FAQ ====== | ====== FAQ ====== | ||
+ | ===== Q: How do I setup the first game scene? ===== | ||
- | ===== Q: Ako nastavím prvú scénu v hre? ===== | ||
+ | A: Find a line in data/scripts/game.script which starts with Game.ChangeScene. Change this line to match the correct scene. | ||
- | A: Nájdite riadok v data/scripts/game.script ktorý začína s Game.ChangeScene. Zmeňte tento riadok tak, aby sa zhodo val so správnou scénou. | ||
===== Q: My scene works in Project Manager but not in compiled mode? ===== | ===== Q: My scene works in Project Manager but not in compiled mode? ===== | ||
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 26: | 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 |
<code script> | <code script> | ||
if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible) | if(Game.Interactive && Game.MouseY < 45 &&! Game.ResponsesVisible &&! WinMenu.Visible) |