<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Functions request]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=152</link>
		<description><![CDATA[The most recent posts in Functions request.]]></description>
		<lastBuildDate>Tue, 29 Jul 2014 20:28:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7053#p7053</link>
			<description><![CDATA[<p>My Lua functions request:<br />-&gt;SendMessage()<br />-&gt;Material.color(r,g,b) - To add highlights on selected objects or when mouseover them.</p>]]></description>
			<author><![CDATA[dummy@example.com (Akira_san)]]></author>
			<pubDate>Tue, 29 Jul 2014 20:28:07 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7053#p7053</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6711#p6711</link>
			<description><![CDATA[<p>Hey ReubenUnicruz!</p><p>I think all logic and physics runs at 60Hz so getting the framerate would be quite useless.<br />What in fact is useful is the average frame rate of the graphics.</p><p>I already implemented this feature in my game plugin and will port it to the standard engine.</p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Mon, 14 Apr 2014 18:44:32 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6711#p6711</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6709#p6709</link>
			<description><![CDATA[<p>My requested functions would be (adopted from the Blender Game Engine):</p><p>&nbsp; &nbsp; 1.) getAverageFrameRate() -&gt; framerate<br />&nbsp; &nbsp; 2.) getMaxLogicTic() -&gt; ticrate<br />&nbsp; &nbsp; 3.) getMaxPhysicsTic() -&gt; ticrate<br />&nbsp; &nbsp; 4.) getMaxLogicFrame() -&gt; framerate<br />&nbsp; &nbsp; 5.) getMaxPhysicsFrame() -&gt; framerate<br />&nbsp; &nbsp; 6.) setMaxLogicTic( ticrate )<br />&nbsp; &nbsp; 7.) setMaxPhysicsTic( ticrate )<br />&nbsp; &nbsp; 8.) setMaxLogicFrame( framerate )<br />&nbsp; &nbsp; 9.) setMaxPhysicsFrame( framerate )</p>]]></description>
			<author><![CDATA[dummy@example.com (ReubenUnicruz)]]></author>
			<pubDate>Mon, 14 Apr 2014 14:48:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6709#p6709</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6577#p6577</link>
			<description><![CDATA[<p>I posted a link to LuaSQL in the General category, which is a Lua-based persistent store that can utilize multiple database types.</p><p>You would simply write the needed data to the database and then load it in your next scene. This would supplement the modular design paradigm that the engine currently uses.</p><p>------</p><p>LuaSQL post: <a href="http://forum.maratis3d.com/viewtopic.php?id=945">http://forum.maratis3d.com/viewtopic.php?id=945</a></p>]]></description>
			<author><![CDATA[dummy@example.com (sunnystormy)]]></author>
			<pubDate>Thu, 06 Mar 2014 20:23:26 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6577#p6577</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6575#p6575</link>
			<description><![CDATA[<p>That would be an important function.</p>]]></description>
			<author><![CDATA[dummy@example.com (Akira_san)]]></author>
			<pubDate>Thu, 06 Mar 2014 04:07:29 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6575#p6575</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6569#p6569</link>
			<description><![CDATA[<p>Can&#039;t you duplicate the level file and change the name? This would be a temporary fix. A good way for this to be added is to have a groping system.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Wed, 05 Mar 2014 15:22:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6569#p6569</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6568#p6568</link>
			<description><![CDATA[<p>A suggestion for scene switching :</p><p>Right now i don&#039;t see a good way to make use of scene switching or level switching as <br />you can&#039;t import/keep objects from the previous scene/level.</p><p>while i was searching on the subject, i found this :<br /><strong>DontDestroyOnLoad</strong> from unity, which is preserving the objects you want for the next scene</p><p>Something similiar would be great !</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Wed, 05 Mar 2014 09:17:34 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6568#p6568</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6095#p6095</link>
			<description><![CDATA[<p>1. debug (text) - write &quot;text&quot; on screen/console. If lua file contains errors then error text display on same place.<br />2. dostring (str) - execute lua string, e.g. dostring(&quot;On&quot;..&lt;getObjectUnderCursorName&gt;..&quot;Click()&quot;)<br />3. I think that GetSystemTick is not necessary function and can be replaced by os.clock() (standard lua function).<br />4. timer(msDelay, AfterDelay_LuaStringToDo). It&#039;s can be realized as lua-library throught &quot;dostring&quot;.<br />5. if &lt;smth&gt;.lua is not-correct then dofile(&lt;smth&gt;.lua) must return error.&nbsp; <br />In MScript.cpp -&gt; doFile change <strong>luaL_dostring(L, text);</strong> to<br /></p><div class="codebox"><pre><code>int result = luaL_dostring(L, text);
if (result != 0)
         printf(lua_tostring(L, -1));</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Aikon)]]></author>
			<pubDate>Tue, 17 Dec 2013 16:59:08 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6095#p6095</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5577#p5577</link>
			<description><![CDATA[<p>An isSoundOver() function would be useful to me right now, hehe. Also, just more sound functions in general (lua side). Or even being able to adjust the pitch of the sound or all the other parameters that are in the editor through script. This really goes for all editor parameters really.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 17 Oct 2013 15:50:32 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5577#p5577</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5573#p5573</link>
			<description><![CDATA[<p>So I do. But it&#039;s not comfortable.</p>]]></description>
			<author><![CDATA[dummy@example.com (ant0n)]]></author>
			<pubDate>Thu, 17 Oct 2013 03:42:30 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5573#p5573</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5563#p5563</link>
			<description><![CDATA[<p>Well, if you want to spawn an entity, make a single instance of the entity you want to spawn (with all the properties) and create a table for all the clones. Then use getClone(parent), which will create a clone of the parent entity and return it, and just put that in the table. Then you can just use a for loop to cycle through all the clones and make them do stuff.</p>]]></description>
			<author><![CDATA[dummy@example.com (X54321)]]></author>
			<pubDate>Wed, 16 Oct 2013 15:52:26 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5563#p5563</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5558#p5558</link>
			<description><![CDATA[<p>Add already function spawn! Is it so difficult??? Something like these:<br />spawnEntity(&quot;file path&quot;) or loadMesh(&quot;file path&quot;)<br />Pleeeease!</p>]]></description>
			<author><![CDATA[dummy@example.com (ant0n)]]></author>
			<pubDate>Wed, 16 Oct 2013 03:38:26 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5558#p5558</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4793#p4793</link>
			<description><![CDATA[<p>yes, sorry it&#039;s &quot;relative&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 27 Aug 2013 09:58:09 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4793#p4793</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4782#p4782</link>
			<description><![CDATA[<p>Thanks anael that will do.</p><p>Now is it possible to tag objects ( is different from the name, objects with different names can have the same tag), if not something like getObjectTag() would be helpful.</p><p>anael i can&#039;t seam to find the local option that you talk about on the sound properties, thres only a relative option is that what you are referring to?</p>]]></description>
			<author><![CDATA[dummy@example.com (Argoon)]]></author>
			<pubDate>Mon, 26 Aug 2013 23:20:51 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4782#p4782</guid>
		</item>
		<item>
			<title><![CDATA[Re: Functions request]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4772#p4772</link>
			<description><![CDATA[<p>Argoon :<br />for global sounds, you can use a stereo sound (only mono sounds are 3d)<br />or select the &quot;local&quot; option in the sound property and the sound position will be local to the camera (the global effect you want) &gt; set the position to &quot;0 0 0&quot; for a centered sound</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 26 Aug 2013 20:18:42 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4772#p4772</guid>
		</item>
	</channel>
</rss>
