<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - TD Levels (with downloads)]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=775</link>
		<description><![CDATA[The most recent posts in TD Levels (with downloads).]]></description>
		<lastBuildDate>Tue, 10 Dec 2013 08:03:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6075#p6075</link>
			<description><![CDATA[<p>Finally!!!! I have a human character with an idle and walking animation. I didn&#039;t have to code it from scratch because I just used my Customizeable Game Script (one of my topics). The transition doesn&#039;t bother me as much as my other test levels. </p><p>Of course, my animation skills are not good yet. </p><p>(Soldier In St Petersburg)</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Tue, 10 Dec 2013 08:03:57 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6075#p6075</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6055#p6055</link>
			<description><![CDATA[<div class="quotebox"><cite>ant0n wrote:</cite><blockquote><p>great job!<br />St Petersburg <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p></blockquote></div><p>Hehe thanks. This was a quick model for testing. If I can get textures to import into blender or assimp correctly I could have a better looking town (I think the issue is with sketchup) we will see.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 05 Dec 2013 03:23:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6055#p6055</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6054#p6054</link>
			<description><![CDATA[<p>Okay, If only I can figure out how to get these match photo textures into blender correctly. I wonder how assimp treats them?<br /><span class="postimg"><img src="https://sites.google.com/site/maratisfiles/files/Screenshot%20%28913%29.png" alt="https://sites.google.com/site/maratisfiles/files/Screenshot%20%28913%29.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 05 Dec 2013 03:19:50 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6054#p6054</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6053#p6053</link>
			<description><![CDATA[<p>great job!<br />St Petersburg <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ant0n)]]></author>
			<pubDate>Thu, 05 Dec 2013 02:57:28 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6053#p6053</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6052#p6052</link>
			<description><![CDATA[<p>Just threw the car into St Petersburg:<br /><span class="postimg"><img src="https://sites.google.com/site/maratisfiles/files/Screenshot%20%28912%29.png" alt="https://sites.google.com/site/maratisfiles/files/Screenshot%20%28912%29.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Wed, 04 Dec 2013 21:44:00 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6052#p6052</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6026#p6026</link>
			<description><![CDATA[<div class="quotebox"><cite>Vegas wrote:</cite><blockquote><p>I just tried your car level, pretty good idea to have a free camera inside <br />the car, that gives a nice layer of immersion <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />That would be interesting to see your level with a more detailed buildings such as <a href="http://www.blendswap.com/blends/view/63110">this</a></p><p>Good work!</p></blockquote></div><p>Thank You Vegas. A city like that should be simple to create in Sketchup. I might just use one from the 3d warehouse to start. </p><p>I do want to work on this level more, just trying to win this fight with Blender. Hehe.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Wed, 27 Nov 2013 17:27:20 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6026#p6026</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6024#p6024</link>
			<description><![CDATA[<p>I just tried your car level, pretty good idea to have a free camera inside <br />the car, that gives a nice layer of immersion <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />That would be interesting to see your level with a more detailed buildings such as <a href="http://www.blendswap.com/blends/view/63110">this</a></p><p>Good work!</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Wed, 27 Nov 2013 16:03:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6024#p6024</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6010#p6010</link>
			<description><![CDATA[<p>I&#039;m just going ahaead and uploading the car level project file. I uploaded the published version in another post, but this is the project file (in first post).</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Sun, 24 Nov 2013 03:59:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6010#p6010</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5579#p5579</link>
			<description><![CDATA[<p>Okay guys, I almost have the Car Level finished, just want to place a character in the passenger seat and maybe some background music. Perhaps a voice over? we will see.</p><p>I also figured out how to toggle. I just use booleans with a table.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 17 Oct 2013 16:26:02 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5579#p5579</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5578#p5578</link>
			<description><![CDATA[<div class="quotebox"><cite>ant0n wrote:</cite><blockquote><div class="quotebox"><cite>Tutorial Doctor wrote:</cite><blockquote><p>I have been trying to create a script that lets me toggle through characters.</p></blockquote></div><p>I did it for you! ;-)<br />Press TAB to switch between characters.<br /><a href="http://yadi.sk/d/rdl24-1wB2m8E">2_Jules.7zip</a></p></blockquote></div><p>I checked it out for a little, but I still have to look at it (the code). I am going to apply this to my Character Select Level. Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Thu, 17 Oct 2013 16:24:41 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5578#p5578</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5557#p5557</link>
			<description><![CDATA[<div class="quotebox"><cite>Tutorial Doctor wrote:</cite><blockquote><p>I have been trying to create a script that lets me toggle through characters.</p></blockquote></div><p>I did it for you! ;-)<br />Press TAB to switch between characters.<br /><a href="http://yadi.sk/d/rdl24-1wB2m8E">2_Jules.7zip</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ant0n)]]></author>
			<pubDate>Wed, 16 Oct 2013 03:26:45 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5557#p5557</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5539#p5539</link>
			<description><![CDATA[<div class="quotebox"><cite>Tutorial Doctor wrote:</cite><blockquote><p>I have been trying to create a script that lets me toggle through characters. I know I have to use a table, but I want to be able to just add any new character object to the table and be able to toggle it. I haven&#039;t been able to find out how to use for and while loops in maratis without it crashing (guess I don&#039;t understand how the onSceneUpdate function works as it relates to loops.</p></blockquote></div><p>I haven&#039;t tried it yet but chances are you need to use Lua Coroutine&#039;s(Multithreading) OpenGL is single-threaded it can only run one process at a time, same with most things in regards to computers. One of two things is going to happen when dealing with pointers(objects) in this case eather A. The program freezes until the process is complete or B. The program crashes.</p><p>But then again when Mixing C++ and a Scripting Language(Lua) a program operates completely different than when using one or the other. Anyways Coroutine&#039;s ...</p><p><a href="http://lua-users.org/wiki/CoroutinesTutorial">http://lua-users.org/wiki/CoroutinesTutorial</a><br /><a href="http://www.lua.org/pil/9.1.html">http://www.lua.org/pil/9.1.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (zester)]]></author>
			<pubDate>Tue, 15 Oct 2013 07:11:36 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5539#p5539</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5538#p5538</link>
			<description><![CDATA[<p>I have been trying to create a script that lets me toggle through characters. I know I have to use a table, but I want to be able to just add any new character object to the table and be able to toggle it. I haven&#039;t been able to find out how to use for and while loops in maratis without it crashing (guess I don&#039;t understand how the onSceneUpdate function works as it relates to loops.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Tue, 15 Oct 2013 06:48:37 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5538#p5538</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5455#p5455</link>
			<description><![CDATA[<p>No problem <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Fri, 11 Oct 2013 17:38:24 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5455#p5455</guid>
		</item>
		<item>
			<title><![CDATA[Re: TD Levels (with downloads)]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=5454#p5454</link>
			<description><![CDATA[<p>Thanks Vegas. I was able to get it to display each box when moused over (Also changed the names from Entity... to Box...)</p><div class="codebox"><pre><code>alex = getObject(&quot;Alex&quot;)
model = getObject(&quot;Model&quot;)
click = getObject(&quot;Click&quot;)
text = getObject(&quot;Text&quot;)

deactivate(model)

Unprojected = getObject(&quot;Unprojected&quot;)
Camera0 = getObject(&quot;Camera0&quot;)

function Spin(x)
    if isKeyPressed(&quot;D&quot;) then
        rotate(x,{0,0,1},3)
    end
    
    if isKeyPressed(&quot;A&quot;) then
        rotate(x,{0,0,1},-3)
    end
end

function Switch(x,y)
    if isKeyPressed(&quot;RIGHT&quot;) then
        playSound(click)
        deactivate(x)
        activate(y)
    end
    
    if isKeyPressed(&quot;LEFT&quot;) then
        playSound(click)
        deactivate(y)
        activate(x)
    end
end

function onSceneUpdate()

    Spin(model)
    Spin(alex)
    Switch(model,alex)
    
--[[----------------------------------------------------------------------UNPROJECTED POINT]]
    mx = getAxis(&quot;MOUSE_X&quot;)
    my = getAxis(&quot;MOUSE_Y&quot;)    

    V1 = getUnProjectedPoint(Camera0, vec3(mx, my, 0))
    V2 = getUnProjectedPoint(Camera0, vec3(mx, my, 1))

    point, Unprojected = rayHit(V1, V2) -- note that rayHit only detects objects with physics enabled

    if point then
        Xname = getName(Unprojected)
        Xobj = getObject(Xname)
        setText(text,Xname)
        print(Xname)
        
        if Xname == &quot;BoxR&quot; and onKeyDown(&quot;MOUSE_BUTTON1&quot;) then deactivate(Xobj) end
        if Xname == &quot;BoxL&quot; and onKeyDown(&quot;MOUSE_BUTTON1&quot;) then deactivate(Xobj) end
        if Xname == &quot;BoxT&quot; and onKeyDown(&quot;MOUSE_BUTTON1&quot;) then deactivate(Xobj) end
    end

end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Fri, 11 Oct 2013 17:30:06 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=5454#p5454</guid>
		</item>
	</channel>
</rss>
