<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Keys input]]></title>
		<link>https://gprogs.com/viewtopic.php?id=378</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=378&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Keys input.]]></description>
		<lastBuildDate>Sun, 14 Jun 2009 09:46:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1455#p1455</link>
			<description><![CDATA[<p>Thx Gman,</p><p>For mi curent project i&#039;m using MiniB3D because its easy to get in to if you know Blitz3D.</p><p>But, i&#039;m going to keep playing with the Irrlicht mods untill i know enough to make a game with it.<br />I see this as the next step in mi game making adventures, but its still to advanced for me to create a full game with.<br />The info i got so far and the eamples are great.</p><p>And all these great mods for free, you got mi full support!</p><p>Thx again</p>]]></description>
			<author><![CDATA[null@example.com (Ferret)]]></author>
			<pubDate>Sun, 14 Jun 2009 09:46:11 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1455#p1455</guid>
		</item>
		<item>
			<title><![CDATA[Re: Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1454#p1454</link>
			<description><![CDATA[<p>greetings <img src="https://gprogs.com/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; the mod needed recompile for v1.5 of Irrlicht.&nbsp; it also did not have a GetChar equivalent.&nbsp; please download the newest version.&nbsp; </p><p>you should be able to use Chr() straight from BMAX.&nbsp; for the rest use the following methods on SmoothEventReciever:</p><p>GetChar() =&gt; PopKey()<br />KeyHit() =&gt; KeyHitCnt()<br />FlushKeys() =&gt; FlushKeys()</p>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Tue, 09 Jun 2009 23:58:33 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1454#p1454</guid>
		</item>
		<item>
			<title><![CDATA[Re: Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1450#p1450</link>
			<description><![CDATA[<p>I think that is what i need but i get a error when i import Irrlicht.Addons,</p><p>Linking:15.loadirrfile.debug.exe<br />C:/Program Files/BlitzMax/mod/irrlicht.mod/addons.mod/addons.debug.win32.x86.a(addons.bmx.debug.win32.x86.o): undefined reference to `_irrlicht_core_SMaterial_create&#039;<br />Build Error: Failed to link D:/MaxDev/irrlicht_examples/examples/15.LoadIrrFile/15.loadirrfile.debug.exe<br />Process complete</p><p>Is ist posible to get what key was pressed like GetChar(), instead of cycling trough all posible keys?</p>]]></description>
			<author><![CDATA[null@example.com (Ferret)]]></author>
			<pubDate>Tue, 02 Jun 2009 09:48:09 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1450#p1450</guid>
		</item>
		<item>
			<title><![CDATA[Re: Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1449#p1449</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Mon, 01 Jun 2009 23:50:45 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1449#p1449</guid>
		</item>
		<item>
			<title><![CDATA[Re: Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1448#p1448</link>
			<description><![CDATA[<p>This is the code.</p><p>Function UpdateConsole()<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; Local key%<br />&nbsp; &nbsp; Local chatMsg$<br />&nbsp; &nbsp; &#039;Local extension$ = &quot;_&quot;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; key = GetChar()<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If key &gt;= 32 And key &lt;= 126<br />&nbsp; &nbsp; &nbsp; &nbsp; chat = chat + Chr(key)<br />&nbsp; &nbsp; EndIf<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If key = 8 Then If chat &lt;&gt; &quot;&quot; Then chat = Left(chat, Len(chat) - 1)<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If key = 13 Then<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;Info(&quot;&lt;green&gt;&quot; + localPlayer\Name + &quot; : &quot; + chat)<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;BP_Message (0,localPlayer\id,msgChat,chat,True)<br />&nbsp; &nbsp; &nbsp; &nbsp; If chat &lt;&gt; &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddTxt playername + &quot; : &quot; + chat<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; chatMsg = Chr(ID_CHAT) + playername + &quot; : &quot; + chat<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Online = True Then RN_Send(peer, chatMsg$, Len(chatMsg$) + 1, HIGH_PRIORITY, RELIABLE_ORDERED, 0, RN_GetSystemAddressFromIndex(peer, 0), False)<br />&nbsp; &nbsp; &nbsp; &nbsp; EndIf<br />&nbsp; &nbsp; &nbsp; &nbsp; chat = &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; Chatting = False<br />&nbsp; &nbsp; End If<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If MilliSecs() &gt; chattimer<br />&nbsp; &nbsp; &nbsp; &nbsp; If extension = &quot;_&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; extension = &quot;&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;chattimer = MilliSecs() + 1000<br />&nbsp; &nbsp; &nbsp; &nbsp; ElseIf extension = &quot;&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; extension = &quot;_&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;chattimer = MilliSecs() + 1000<br />&nbsp; &nbsp; &nbsp; &nbsp; EndIf<br />&nbsp; &nbsp; &nbsp; &nbsp; chattimer = MilliSecs() + 500<br />&nbsp; &nbsp; EndIf</p><p>&nbsp; &nbsp; DrawText chat + extension ,20,GraphicsHeight() - 20<br />&nbsp; &nbsp; <br />End Function</p>]]></description>
			<author><![CDATA[null@example.com (Ferret)]]></author>
			<pubDate>Mon, 01 Jun 2009 10:58:45 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1448#p1448</guid>
		</item>
		<item>
			<title><![CDATA[Keys input]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1447#p1447</link>
			<description><![CDATA[<p>Hi,</p><p>I created a server and a client with accounts and chat working.<br />Now i want to use Irrlich as 3D engine but the BMax input commands for keys don&#039;t work.</p><p>How do i get input for a simple chat and movement?</p><p>These are the commands i need for the chat to work as is,</p><p>Chr()<br />GetChar()<br />KeyHit()<br />FlushKeys()</p><p>Thx,</p>]]></description>
			<author><![CDATA[null@example.com (Ferret)]]></author>
			<pubDate>Mon, 01 Jun 2009 10:19:05 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1447#p1447</guid>
		</item>
	</channel>
</rss>
