<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Editor keeps game changes after ending the player]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=804&amp;type=atom"/>
	<updated>2013-10-08T12:39:06Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=804</id>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5399#p5399"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>anael wrote:</cite><blockquote><p>did you run multiple instances of Maratis at the same time by any chance?</p></blockquote></div><p>No but I loaded another project from the editor menu. The previous project was mine, which uses a game plugin. The second project was the joint demo.<br /></p><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>or was the system lagging or something when the bug occurred ?</p></blockquote></div><p>No.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-08T12:39:06Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5399#p5399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5347#p5347"/>
			<content type="html"><![CDATA[<p>did you run multiple instances of Maratis at the same time by any chance ?<br />or was the system lagging or something when the bug occurred ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-10-06T11:13:33Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5347#p5347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5345#p5345"/>
			<content type="html"><![CDATA[<p>Yes I&#039;ve found &quot;temp.level&quot; file.<br />I have problems reproducing the bug consistently though, it doesn&#039;t happen very often, so it&#039;s a bit tricky to do tests.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-06T10:33:51Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5345#p5345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5340#p5340"/>
			<content type="html"><![CDATA[<p>normally you don&#039;t need to be administrator,<br />but I&#039;m not sure how the permissions works in all cases,<br />Maratis asks windows for a temporary directory and create a temp file there that is used to reload the level.</p><p>Can you check if you see a level in C:\users\username\AppData\Local\Temp, where username is your user account name ?<br />Check just after you started the game because the temp level is then deleted when you go back to editor.</p><p>(The dir could be something different than AppData\Local\Temp thought)</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-10-06T09:52:14Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5340#p5340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5338#p5338"/>
			<content type="html"><![CDATA[<p>About the plugin, this is what I initially thought, but the same happened with the joint demo.<br />I&#039;m on Windows 7 and I have Maratis on C:\ and I&#039;m not administrator for security reasons, so it could be permission stuff, I&#039;ll check that.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-06T09:21:41Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5338#p5338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5334#p5334"/>
			<content type="html"><![CDATA[<p>What platform are you in ? are you using a custom game plugin ?</p><p>The first possibility is that Maratis is not able to save a temporary level when you press play,<br />but I&#039;m surprised that it&#039;s variant, it could be a authorization problem or so.</p><p>Second possibility, if you are using a custom plugin, is that you have a behavior that run during editor mode,<br />if it is the case, ensure the behavior call this on top of update :<br /></p><div class="codebox"><pre><code>MGame * game = engine-&gt;getGame();

// check if the game is running, removing this test will enable In-Editor update (like for the lookAt behavior)
if(! game-&gt;isRunning())
    return;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-10-06T08:01:59Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5334#p5334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Editor keeps game changes after ending the player]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5326#p5326"/>
			<content type="html"><![CDATA[<p>I&#039;m in the editor, then I play the game, then I press ESC to return to the editor. Sometimes the editor keeps the player changes (e.g. entities position after collisions), sometimes not (how it should be). I would like to understand more about this.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-05T22:51:52Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5326#p5326</id>
		</entry>
</feed>
