<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: </title>
	<atom:link href="https://mm.soldat.pl/development-log/1301/feed" rel="self" type="application/rss+xml" />
	<link>https://mm.soldat.pl/development-log/1301</link>
	<description>Michał Marcinkowski&#039;s: Gamedev Log &#38; Articles</description>
	<lastBuildDate>Tue, 24 Mar 2026 04:51:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.39</generator>
	<item>
		<title>By: danyukhin</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-179754</link>
		<dc:creator><![CDATA[danyukhin]]></dc:creator>
		<pubDate>Tue, 26 Oct 2010 13:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-179754</guid>
		<description><![CDATA[Camtasia can capture keyboard input.]]></description>
		<content:encoded><![CDATA[<p>Camtasia can capture keyboard input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-176778</link>
		<dc:creator><![CDATA[dan]]></dc:creator>
		<pubDate>Sat, 09 Oct 2010 23:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-176778</guid>
		<description><![CDATA[Ok, never mind my solution, forgot about one detail due to late hour :)]]></description>
		<content:encoded><![CDATA[<p>Ok, never mind my solution, forgot about one detail due to late hour <img src="https://mm.soldat.pl/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-176776</link>
		<dc:creator><![CDATA[dan]]></dc:creator>
		<pubDate>Sat, 09 Oct 2010 23:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-176776</guid>
		<description><![CDATA[Hi Michał,

If you are still looking for a solution to store float in 16bits then say so, now it&#039;s too late for me... It&#039;s about using simple logical ORs that prune the 32bit float into the 16bit half-float (the one mentioned in one of the previous posts). It still keeps 4-5 digits of precision.

I can&#039;t imagine how mar&#039;s suggestion can fit your needs - you need to store maximum value of 32000.0f so how do you want to multiply it by 1000 and store in 16bit integer? Or maybe I didn&#039;t understand it right.

I came here by accident. Didn&#039;t know that you are working on soldat (link-dead is an independent game or a new version of soldat or what in brief? Just curious).

Regards and keep up the good work.]]></description>
		<content:encoded><![CDATA[<p>Hi Michał,</p>
<p>If you are still looking for a solution to store float in 16bits then say so, now it&#8217;s too late for me&#8230; It&#8217;s about using simple logical ORs that prune the 32bit float into the 16bit half-float (the one mentioned in one of the previous posts). It still keeps 4-5 digits of precision.</p>
<p>I can&#8217;t imagine how mar&#8217;s suggestion can fit your needs &#8211; you need to store maximum value of 32000.0f so how do you want to multiply it by 1000 and store in 16bit integer? Or maybe I didn&#8217;t understand it right.</p>
<p>I came here by accident. Didn&#8217;t know that you are working on soldat (link-dead is an independent game or a new version of soldat or what in brief? Just curious).</p>
<p>Regards and keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snow</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-176180</link>
		<dc:creator><![CDATA[Snow]]></dc:creator>
		<pubDate>Tue, 05 Oct 2010 04:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-176180</guid>
		<description><![CDATA[I have a template if you need it. I actually started on a flash app, then realized that you can&#039;t use it while playing the game. Unless you have some wacky program that will let you, I don&#039;t think you can use keypresses for 2 programs at the same time... in this case one being a flash player. I&#039;m sure there is a background program that will let you do it, since I&#039;ve seen similar being done in presentations. Sorry bro, I tried. :(

Still DO REMEMBER Chaos Crystal. It&#039;s the easiest way for making any window/program translucent to invisible... if you do find something. Otherwise you will have to code it. 

My suggestion is graphically wise and very simply. Copy the keyboard used in Windows (Start - All Programs - Accessories - Accessibility - On Screen Keyboard). Make a copy of each button you want to use - put each on a separate layer. Turn the fill color of each layered button from white to red. Then when you display a button press - it turns red.]]></description>
		<content:encoded><![CDATA[<p>I have a template if you need it. I actually started on a flash app, then realized that you can&#8217;t use it while playing the game. Unless you have some wacky program that will let you, I don&#8217;t think you can use keypresses for 2 programs at the same time&#8230; in this case one being a flash player. I&#8217;m sure there is a background program that will let you do it, since I&#8217;ve seen similar being done in presentations. Sorry bro, I tried. <img src="https://mm.soldat.pl/wp-includes/images/smilies/frownie.png" alt=":(" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Still DO REMEMBER Chaos Crystal. It&#8217;s the easiest way for making any window/program translucent to invisible&#8230; if you do find something. Otherwise you will have to code it. </p>
<p>My suggestion is graphically wise and very simply. Copy the keyboard used in Windows (Start &#8211; All Programs &#8211; Accessories &#8211; Accessibility &#8211; On Screen Keyboard). Make a copy of each button you want to use &#8211; put each on a separate layer. Turn the fill color of each layered button from white to red. Then when you display a button press &#8211; it turns red.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MM</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-176025</link>
		<dc:creator><![CDATA[MM]]></dc:creator>
		<pubDate>Mon, 04 Oct 2010 05:44:22 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-176025</guid>
		<description><![CDATA[I&#039;m gonna go with mar&#039;s solution, seems the simplest.

As for the keyboard, I think I&#039;ll just need to code something like that myself.

Thanks a lot for the suggestions!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m gonna go with mar&#8217;s solution, seems the simplest.</p>
<p>As for the keyboard, I think I&#8217;ll just need to code something like that myself.</p>
<p>Thanks a lot for the suggestions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snow</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-175937</link>
		<dc:creator><![CDATA[Snow]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 09:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-175937</guid>
		<description><![CDATA[Easiest thing to do, though a bit time consuming, is just make a flash app. Open a flash window that shows a keyboard. The app records keys being pressed (key listener) and highlights each key being pressed (when KeyIsDown). You can then use a program such as Crystal Chaos to make the flash app window translucent so that you can still see the bottom half of the game behind it. Easy schmeasy man.]]></description>
		<content:encoded><![CDATA[<p>Easiest thing to do, though a bit time consuming, is just make a flash app. Open a flash window that shows a keyboard. The app records keys being pressed (key listener) and highlights each key being pressed (when KeyIsDown). You can then use a program such as Crystal Chaos to make the flash app window translucent so that you can still see the bottom half of the game behind it. Easy schmeasy man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: staticfloat</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-175915</link>
		<dc:creator><![CDATA[staticfloat]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 05:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-175915</guid>
		<description><![CDATA[Oh, and as to precision loss; seeing as the float16 standard only has 10 bits for the fraction portion, you probably won&#039;t get more than 4-5 significant digits.  I would just plug it in and run some tests though.  :P]]></description>
		<content:encoded><![CDATA[<p>Oh, and as to precision loss; seeing as the float16 standard only has 10 bits for the fraction portion, you probably won&#8217;t get more than 4-5 significant digits.  I would just plug it in and run some tests though.  😛</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: staticfloat</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-175914</link>
		<dc:creator><![CDATA[staticfloat]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 05:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-175914</guid>
		<description><![CDATA[You can either do the float -&gt; integer trick, but that doesn&#039;t give you the variable dynamic range that the floating point format gives you.  I suggest you use the &quot;half&quot; floating-point number format, which use only 16 bits.

http://en.wikipedia.org/wiki/Half_precision_floating-point_format

Here&#039;s a link to a forum topic in which a guy has written a class to do all the heavy lifting for you.
http://www.gamedev.net/community/forums/topic.asp?topic_id=542179&amp;whichpage=1&amp;#3497291

I haven&#039;t tested it, but I have faith you can test it yourself.  ;)]]></description>
		<content:encoded><![CDATA[<p>You can either do the float -&gt; integer trick, but that doesn&#8217;t give you the variable dynamic range that the floating point format gives you.  I suggest you use the &#8220;half&#8221; floating-point number format, which use only 16 bits.</p>
<p><a href="http://en.wikipedia.org/wiki/Half_precision_floating-point_format" rel="nofollow">http://en.wikipedia.org/wiki/Half_precision_floating-point_format</a></p>
<p>Here&#8217;s a link to a forum topic in which a guy has written a class to do all the heavy lifting for you.<br />
<a href="http://www.gamedev.net/community/forums/topic.asp?topic_id=542179&#038;whichpage=1&#038;#3497291" rel="nofollow">http://www.gamedev.net/community/forums/topic.asp?topic_id=542179&#038;whichpage=1&#038;#3497291</a></p>
<p>I haven&#8217;t tested it, but I have faith you can test it yourself.  😉</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Underline</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-175868</link>
		<dc:creator><![CDATA[Underline]]></dc:creator>
		<pubDate>Sat, 02 Oct 2010 23:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-175868</guid>
		<description><![CDATA[1 - camtasia?

2 - multiply by the precision, get the int(), send, convert. Like mar said.]]></description>
		<content:encoded><![CDATA[<p>1 &#8211; camtasia?</p>
<p>2 &#8211; multiply by the precision, get the int(), send, convert. Like mar said.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mar</title>
		<link>https://mm.soldat.pl/development-log/1301/comment-page-1#comment-175828</link>
		<dc:creator><![CDATA[mar]]></dc:creator>
		<pubDate>Sat, 02 Oct 2010 19:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://mm.soldat.pl/?p=1301#comment-175828</guid>
		<description><![CDATA[You can do something like this:
- Multiply the float by X where X is the desired precision (1000 for instance)
- Store in 16bit int
- Send
- Receive
- Divide by X and store in float

Not sure if that&#039;s too expensive but it does the trick, just need to figure if you can actually store what you want with that range/precision]]></description>
		<content:encoded><![CDATA[<p>You can do something like this:<br />
&#8211; Multiply the float by X where X is the desired precision (1000 for instance)<br />
&#8211; Store in 16bit int<br />
&#8211; Send<br />
&#8211; Receive<br />
&#8211; Divide by X and store in float</p>
<p>Not sure if that&#8217;s too expensive but it does the trick, just need to figure if you can actually store what you want with that range/precision</p>
]]></content:encoded>
	</item>
</channel>
</rss>
