<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - In game menu?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=620&amp;type=atom"/>
	<updated>2013-03-28T07:17:31Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=620</id>
		<entry>
			<title type="html"><![CDATA[Re: In game menu?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3891#p3891"/>
			<content type="html"><![CDATA[<p>Hmm i dont know if this work (havent try it...)<br />but you could make a variable and in SceneUpdate for example pause=0 at start of the game, pause=1 when pause.<br />and just wrap &quot;if&quot;-statement the game logic (player move etc).<br />So when player goes to menu, other things goes to pause (i think this atleast work with LUA, and in C++ , well might take few more lines of codes because you write ai in c++? maybe add behaviour that just dont do anything or something)<br />also if you have object you have to getCentralForces ( i think, im noob in coding with LUA still...) and somehow save them and stop all forces (clearForces)</p><p>Correct me if im wrong tho <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> <br />but basically i think&nbsp; that you have to save current scenes forces, behaviours etc, clear them (stop them moving) when going menu,<br />and when coming back put all forces back... but this will be problem when multiple objects... (first objects have their forces and the other dont yet (end of the list))</p>]]></content>
			<author>
				<name><![CDATA[pleedian]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1409</uri>
			</author>
			<updated>2013-03-28T07:17:31Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3891#p3891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[In game menu?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3880#p3880"/>
			<content type="html"><![CDATA[<p>Did anyone do this?<br />an ingame menu that stops everything e show a panel ?<br />I thought to use the same system of the GUIs using another scene<br />but I don&#039;t know how to freeze the current scene... <img src="http://forum.maratis3d.com/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>any help?</p>]]></content>
			<author>
				<name><![CDATA[SadWolf]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1268</uri>
			</author>
			<updated>2013-03-22T20:58:31Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3880#p3880</id>
		</entry>
</feed>
