<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Automatic Text Display]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=909</link>
		<description><![CDATA[The most recent posts in Automatic Text Display.]]></description>
		<lastBuildDate>Tue, 25 Mar 2014 08:59:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6621#p6621</link>
			<description><![CDATA[<p>Pretty nice, the voice is better than expected (i tried some text 2 speech apps on my side, it was awful)</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 25 Mar 2014 08:59:37 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6621#p6621</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6613#p6613</link>
			<description><![CDATA[<p>Hehe. That is actually a text-to-speech software called Speak It (for iPad)</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Sat, 22 Mar 2014 01:39:55 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6613#p6613</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6611#p6611</link>
			<description><![CDATA[<div class="quotebox"><cite>Tutorial Doctor wrote:</cite><blockquote><p>I realized I still had a Box account that I could upload stuff to. Here is the project file for the narration I did using your text display script. Right now it works best in fullscreen until I use the EnableCameraLayer() function to make it work better. </p><p><a href="https://app.box.com/s/g45efbwrf53lnz09rjcf">https://app.box.com/s/g45efbwrf53lnz09rjcf</a></p></blockquote></div><p>Curious, where on earth did you find a voice narrator ? <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" />)</p><p>thx<br />vd</p>]]></description>
			<author><![CDATA[dummy@example.com (VeganDev)]]></author>
			<pubDate>Fri, 21 Mar 2014 19:41:42 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6611#p6611</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6610#p6610</link>
			<description><![CDATA[<p>I realized I still had a Box account that I could upload stuff to. Here is the project file for the narration I did using your text display script. Right now it works best in fullscreen until I use the EnableCameraLayer() function to make it work better. </p><p><a href="https://app.box.com/s/g45efbwrf53lnz09rjcf">https://app.box.com/s/g45efbwrf53lnz09rjcf</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Fri, 21 Mar 2014 02:01:30 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6610#p6610</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6563#p6563</link>
			<description><![CDATA[<p>I just did something really catchy with your text display script. I put in my own text and put a voice narrator with it. I also add some ominous background music. It looks cool. I just need to add a background.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Tue, 04 Mar 2014 16:22:07 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6563#p6563</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6418#p6418</link>
			<description><![CDATA[<p>You are TOO cool. haha. You added backspace and delete. nice.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Mon, 10 Feb 2014 19:12:25 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6418#p6418</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6414#p6414</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>I started a thread called &quot;Code Snippets&quot; I wonder if I should put my snippets on the wiki</p></blockquote></div><p>Sure, the snippet section on the wiki is quite empty, plus your formatting perfectly matches the wiki style <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="quotebox"><blockquote><p>I just tried out the text input script. THANK YOU SO MUCH! These scripts will come in so handy. I might be able to find a way to make the text delete when you press a key (put them into an array?)</p></blockquote></div><p>np <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Edit : I&#039;ve done the backspace, updated the post</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Mon, 10 Feb 2014 17:07:03 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6414#p6414</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6406#p6406</link>
			<description><![CDATA[<p>I just tried out the text input script. THANK YOU SO MUCH! These scripts will come in so handy. I might be able to find a way to make the text delete when you press a key (put them into an array?)</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Mon, 10 Feb 2014 15:51:02 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6406#p6406</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6405#p6405</link>
			<description><![CDATA[<p>I started a thread called &quot;Code Snippets&quot; I wonder if I should put my snippets on the wiki. That way, if people want a certain effect, they can just grab the code from there. These scripts would be nice as little snippets too.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Mon, 10 Feb 2014 15:49:58 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6405#p6405</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6395#p6395</link>
			<description><![CDATA[<p>Basically the first example works as follow :<br /> <span class="postimg"><img src="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/exp.jpg" alt="PunBB bbcode test" /></span><br />The red rectangle represent what will be displayed on screen</p><p>here&#039;s for stringsub info : <a href="http://www.gammon.com.au/scripts/doc.php?lua=string.sub">http://www.gammon.com.au/scripts/doc.php?lua=string.sub</a></p><p>By the way i updated the post, added another level in the example</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Mon, 10 Feb 2014 09:27:43 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6395#p6395</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6392#p6392</link>
			<description><![CDATA[<p>I moved some stuff around in the automatic text display script to make it more dynamic to use, but I still am struggling to understand what string.sub does in layman terms, or even what those lines of code does, its a very light script (thanks for that) but that part gets me. </p><div class="codebox"><pre><code>--This is a text object
Text0 = getObject(&quot;Text0&quot;)

--This is a text object
Info = getObject(&quot;Info&quot;)

--time variable
t = 0

--initialize counter variable
count = 0

--Text you want printed
-- \n is to switch line
SampleText = &quot;MOS Technology SID&quot; .. 
&quot;\nGeneral Instrument AY-3-8910&quot; ..
&quot;\nAnalog-digital hybrid Atari POKEY&quot; ..
&quot;\nYamaha YM2149 on the Atari ST&quot;

--Alternate text that can be displayed
myText = &quot;Welcome to the Renderer&quot;

function TypeText(text_name)
    setText(Text0, T1text)
    
    --increment timer
    t = t + 1
    
    -- Change 5 to a different value to increase or decrease typing speed
    if t == 5 then
        count = count + 1
        t = 0
    end
    
    -- it&#039;s that string.sub thing who&#039;s writing letter one by one
    for i=1, count do T1text = string.sub (text_name, 1, 0+i) end
    
    -- Stop counting when we are at the end of the line
    if count == string.len(text_name) then t = 0 end
    
    Infotext = &quot;Line Lenght :: &quot; .. count
    setText(Info, Infotext) 
end


function onSceneUpdate()

    TypeText(myText)

end</code></pre></div><p>Oops, I re-read your initial post, I guess you had a time trying to figure out how it works too. hehe.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Mon, 10 Feb 2014 05:26:56 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6392#p6392</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6140#p6140</link>
			<description><![CDATA[<p>No problem <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> got some more stuff coming, just need time to make the scripts<br /> less ridiculous, that&#039;s the major difficulty to me <img src="http://forum.maratis3d.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 07 Jan 2014 03:04:40 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6140#p6140</guid>
		</item>
		<item>
			<title><![CDATA[Re: Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6137#p6137</link>
			<description><![CDATA[<p>Cool!!! Thanks Vegas!</p>]]></description>
			<author><![CDATA[dummy@example.com (Tutorial Doctor)]]></author>
			<pubDate>Mon, 06 Jan 2014 17:51:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6137#p6137</guid>
		</item>
		<item>
			<title><![CDATA[Automatic Text Display]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6135#p6135</link>
			<description><![CDATA[<p><span class="postimg"><img src="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/TextTyping.png" alt="PunBB bbcode test" /></span></p><p>Here&#039;s an example for automatic text displaying, there&#039;s <strong>three levels</strong> :</p><p><strong>1)</strong> Simple text typing<br />It will start displaying text when you launch the scene, nothing fancy</p><p><strong>2)</strong> IOread example<br />Will read text in an external text file when you press 1 or 2 or 3 or 4<br /><strong><span style="color: #FF0000">WARNING</span></strong>, you must edit the script IOread.lua and set the correct path for the .txt file</p><p><strong>3)</strong> Text Input<br />Press any keyboard letter to write text (only letters, space, backspace and delete)<br />It will switch to a new line when you entered 15 characters</p><p>• Project : <a href="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/TextTyping.rar">TextDisplay</a><br />• Lua script only (Simple) : <a href="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/SimpleTextType.lua">SimpleText</a><br />• Lua script only (IOread) : <a href="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/IOread.lua">IOread</a><br />• Lua script only (Text Input) : <a href="https://dl.dropboxusercontent.com/u/19970067/Maratis/AutomaticTextDisplay/TextInput.lua">TextInput</a></p><p>ps. the text displayed doesnt make sense, i was just on a chiptune site then copied random lines</p><p>Feel free to edit/improve <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Mon, 06 Jan 2014 15:29:01 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6135#p6135</guid>
		</item>
	</channel>
</rss>
