<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Maratis3D - C++]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=970</link>
		<description><![CDATA[The most recent posts in Maratis3D - C++.]]></description>
		<lastBuildDate>Sun, 30 Mar 2014 13:21:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6670#p6670</link>
			<description><![CDATA[<p>If you are trying to add a force to the cube, the code should be:</p><div class="codebox"><pre><code>addCentralForce(Cube,{8,0,0},&quot;local&quot;)</code></pre></div><p>Also, it is best to name objects in the Editor also:</p><div class="codebox"><pre><code>cube = getObject(&quot;Cube&quot;)</code></pre></div><p>Then your code would be:<br /></p><div class="codebox"><pre><code>addCentralForce(cube,{8,0,0},&quot;local&quot;)</code></pre></div><p>And you would be adding a force to the &quot;cube&quot; variable, which is getting the object named &quot;Cube&quot; in the editor.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Sun, 30 Mar 2014 13:21:17 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6670#p6670</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6655#p6655</link>
			<description><![CDATA[<p>Also, I&#039;m trying to apply this to a cube, I see no errors to pop up from anywhere but nothing happens when I run the game.</p><p>--get stuff<br />Cube = getObject(&quot;Entity0&quot;)</p><p>function onSceneUpdate()<br />&nbsp; &nbsp; if isKeyPressed(&quot;W&quot;) then<br />&nbsp; &nbsp; &nbsp; &nbsp; addCentralForce(Player, {8, 0, 0}, &quot;local&quot;)<br />&nbsp; &nbsp; end</p><p>end</p><br /><p>My first shot at Lua ...lol<br />Also when I exit maratis and I try to open a project and then load a level a first it seems all right but when I try to publish it (File-&gt;Publish Project) it says that I need to open a project first, but I have.<br />(Nevermind, fixed the publish thingy, but still wondering about the script I guess im going to sleep on it.)<br />Solved the code (feel so dumb) I left&nbsp; typed Player instead of Entity in addCentralForce oh wells.<br />It would have been nice to see a message when you try to access something that isn&#039;t on your scene.</p>]]></description>
			<author><![CDATA[dummy@example.com (maximalista)]]></author>
			<pubDate>Thu, 27 Mar 2014 23:47:04 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6655#p6655</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6654#p6654</link>
			<description><![CDATA[<p>Hm... Is it possible to build Maratis only with VS2012 and do everything from there ?</p>]]></description>
			<author><![CDATA[dummy@example.com (maximalista)]]></author>
			<pubDate>Thu, 27 Mar 2014 23:29:50 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6654#p6654</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6653#p6653</link>
			<description><![CDATA[<p>By the way, I wish I knew C++ better. I would love to add features to the engine itself (which you could do, since you know C++), and you can make game plugins and such. When I get a chance I will finish learning C++.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 27 Mar 2014 23:23:57 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6653#p6653</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6652#p6652</link>
			<description><![CDATA[<p>I think I will give Lua a shot after all.</p>]]></description>
			<author><![CDATA[dummy@example.com (maximalista)]]></author>
			<pubDate>Thu, 27 Mar 2014 23:16:03 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6652#p6652</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6651#p6651</link>
			<description><![CDATA[<p>I am comming from another angle myself. I can&#039;t stand the syntax of C++, but after thorough investigation into learning C++, I see the power of it, and why it was designed the way it was. </p><p>I like Python and Lua also, and I am really liking the flexibility of LUA. I liike the syntax of LUA more than Python because with Python you have to indent correctly or else you will get errors. Not the case with lua. A statement is ended with the word &quot;end.&quot;</p><p>I have a few tutorials on here about about programming in LUA.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 27 Mar 2014 22:55:10 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6651#p6651</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6650#p6650</link>
			<description><![CDATA[<p>Hi,</p><p>like ulbex said, you can code in c++, follow the tutorial from the first link,<br />of course, you need a compiler installed on your system to compile the c++ code into a dynamic library.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Thu, 27 Mar 2014 22:00:44 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6650#p6650</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6648#p6648</link>
			<description><![CDATA[<p>you don&#039;t know what you&#039;re missing but okay...</p>]]></description>
			<author><![CDATA[dummy@example.com (ulbex)]]></author>
			<pubDate>Thu, 27 Mar 2014 20:39:24 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6648#p6648</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6647#p6647</link>
			<description><![CDATA[<p>This seems as too much toying around for me. I guess I&#039;m going back to the infinite loop of looking for a suitable engine.<br />What a shame, I really wanted to try something with this engine, unfortunately I won&#039;t be touching it again until C++ arrives(IF ti does).</p><p>I just can&#039;t stand Lua.</p>]]></description>
			<author><![CDATA[dummy@example.com (maximalista)]]></author>
			<pubDate>Thu, 27 Mar 2014 20:37:28 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6647#p6647</guid>
		</item>
		<item>
			<title><![CDATA[Re: Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6646#p6646</link>
			<description><![CDATA[<p>right now you have to compile all your c++ code in a game.dll , you can check those tutorials<br /><a href="http://www.maratis3d.org/?p=500">http://www.maratis3d.org/?p=500</a></p><p>i would recommend sticking to lua for multiplatform compatibility: <br />you wouldn&#039;t have to recompile everything for windows/osx/android etc , and recompiling lua scripts is very fast<br />( very nice when you&#039;re designing a game )</p><p>despite it&#039;s ugly syntax , lua is apparently quite powerful <br />you can include multiple files via dofile command ( just like any other language )<br />and make classes<br /><a href="http://wiki.maratis3d.org/index.php?title=Object_Oriented_Programming_in_Maratis">http://wiki.maratis3d.org/index.php?tit &#133; in_Maratis</a></p><p>it&#039;s a good &quot; game design oriented &quot; language</p>]]></description>
			<author><![CDATA[dummy@example.com (ulbex)]]></author>
			<pubDate>Thu, 27 Mar 2014 20:28:37 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6646#p6646</guid>
		</item>
		<item>
			<title><![CDATA[Maratis3D - C++]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6645#p6645</link>
			<description><![CDATA[<p>Can I program in C++ without any additional stuff. I mean just create a .cpp file in the &quot;Scripts&quot; Folder and start writing code.<br />I don&#039;t like LUA(blah).<br />Why aren&#039;t there any tutorials, at least I can&#039;t find them it seems.<br />..help ?</p>]]></description>
			<author><![CDATA[dummy@example.com (maximalista)]]></author>
			<pubDate>Thu, 27 Mar 2014 19:34:22 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6645#p6645</guid>
		</item>
	</channel>
</rss>
