<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://ilovevb.net/Web/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Nimble2D - All Comments</title><link>http://ilovevb.net/Web/blogs/nimble2d/default.aspx</link><description>&lt;img src="http://www.mwgames.com/_uimages/Nimble2D_Logo_Small.jpg" alt="" align="right" /&gt;A 2D game development blog using VB.Net.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>vbs cpu memory usage | Bookmarks URL</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/10/16/making-gdi-nimble.aspx#165</link><pubDate>Wed, 22 Oct 2008 18:31:42 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:165</guid><dc:creator>vbs cpu memory usage | Bookmarks URL</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;vbs cpu memory usage | Bookmarks URL&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=165" width="1" height="1"&gt;</description></item><item><title>re: Done Pondering, Shifting Gears</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/09/22/done-pondering-shifting-gears.aspx#158</link><pubDate>Sat, 27 Sep 2008 17:13:23 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:158</guid><dc:creator>MattWorden</dc:creator><description>&lt;p&gt;Thanks for checking in, Pascal.&lt;/p&gt;
&lt;p&gt;Yep -- they are slow ... but the games I will be doing won't need too much along that line. &amp;nbsp;During the pondering, I played around quite a bit with SDLdotNet as well -- but I didn't want to have to lock-in to its event-triggering system, plus the drawing routine slows down siginificantly when it involves alpha-blending.&lt;/p&gt;
&lt;p&gt;Doing this will free me up from any external compatibility issues (if you can run .Net, you'll be able to run this) or framework, and I'll be able to just concentrate on getting the organizational pieces in place.&lt;/p&gt;
&lt;p&gt;Later on, I'll just have to adapt the drawing code to match a new drawing system. &amp;nbsp;My guess is that I will return to SlimDX (or something along those lines) at that point.&lt;/p&gt;
&lt;p&gt;-Matt&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=158" width="1" height="1"&gt;</description></item><item><title>re: Done Pondering, Shifting Gears</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/09/22/done-pondering-shifting-gears.aspx#157</link><pubDate>Sat, 27 Sep 2008 11:02:41 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:157</guid><dc:creator>codeimp</dc:creator><description>&lt;p&gt;Good luck. The graphics drawing in .NET is terribly slow. You should really continue with SlimDX. Or any other graphics library for that matter, because they all are better than the graphics in the .NET framework.&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=157" width="1" height="1"&gt;</description></item><item><title>c convert to radians</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/22/units-of-measure.aspx#149</link><pubDate>Tue, 24 Jun 2008 22:13:32 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:149</guid><dc:creator>c convert to radians</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;c convert to radians&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=149" width="1" height="1"&gt;</description></item><item><title>integer triangle</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/22/units-of-measure.aspx#139</link><pubDate>Fri, 16 May 2008 09:13:20 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:139</guid><dc:creator>integer triangle</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;integer triangle&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=139" width="1" height="1"&gt;</description></item><item><title>re: Doing 2D in SlimDX</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/12/doing-2d-in-slimdx.aspx#113</link><pubDate>Mon, 10 Mar 2008 14:45:16 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:113</guid><dc:creator>MattWorden</dc:creator><description>&lt;p&gt;Hello ProgramIt!&lt;/p&gt;
&lt;p&gt;Nice to hear from you. &amp;nbsp;Yes ... VB.Net + SlimDX has gotten me excited as well. &amp;nbsp;And my intention *is* to essentially replace DXGame (and extend a bit beyond it) as my main go-to toolset for 2D games.&lt;/p&gt;
&lt;p&gt;We'll see if I can deliver! ;-)&lt;/p&gt;
&lt;p&gt;-Matt&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=113" width="1" height="1"&gt;</description></item><item><title>re: Doing 2D in SlimDX</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/12/doing-2d-in-slimdx.aspx#112</link><pubDate>Mon, 10 Mar 2008 06:15:54 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:112</guid><dc:creator>Programit</dc:creator><description>&lt;p&gt;Its good to see some new life in 2D!&lt;/p&gt;
&lt;p&gt;Not since the DXGame days have I felt the 2D enthusiasm of programming with VB.&lt;/p&gt;
&lt;p&gt;Reminds me of the DXGame days?&lt;/p&gt;
&lt;p&gt;I'm looking forward to future developments!&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=112" width="1" height="1"&gt;</description></item><item><title>re: Units of Measure</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/22/units-of-measure.aspx#105</link><pubDate>Wed, 27 Feb 2008 03:36:36 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:105</guid><dc:creator>MattWorden</dc:creator><description>&lt;p&gt;Good comments/questions, Pascal ... hope I do some justice in answering. &amp;nbsp;I'll just take then them order.&lt;/p&gt;
&lt;p&gt;First, the look-up-table-based trig library functions that I've alluded to are degrees-based ... mainly because I didn't want to do conversions back and forth. &amp;nbsp;I have provided the trig functions that seem to matter for 2D games (sin, cos, GetAngle, GetComponents, etc.). &amp;nbsp;The only reason I would provide an alternative &amp;quot;InRadians&amp;quot; would be for someone who wishes to use the original Math. namespace trig functions for some reason. &amp;nbsp;Personally, I don't expect to use them ... just stick in degrees.&lt;/p&gt;
&lt;p&gt;Second, I'm not sure what you mean on the color values. &amp;nbsp;I have seen them represented in the 0-to-1.0 format and understand how they work. &amp;nbsp;But when sticking to 0 to 255, and using the Color.ToARGB function ... things seem best in that range. &amp;nbsp;Also, I've never done multiplication of color values. &amp;nbsp;So, if you can give an example of when/where this might be used for a 2D library, then I might see the need to implement it differently.&lt;/p&gt;
&lt;p&gt;Lastly, I personally like to work with alpha separately from the color values -- especially for sprites. &amp;nbsp;I seem to mess around with the alpha value a *lot* more than with the color values. &amp;nbsp;Usually, the color is just left at &amp;quot;White&amp;quot; while alpha is faded-in, faded-out, etc. &amp;nbsp;Even in the case where I am using color-shading, I still do alpha separately. &amp;nbsp;So, to be able to better handle it separately conceptually, I've split it out property-wise as well ... so I can just set MySprite.SpriteAlpha = 128, instead of having to build a full color each time I adjust the alpha.&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=105" width="1" height="1"&gt;</description></item><item><title>re: Units of Measure</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/02/22/units-of-measure.aspx#104</link><pubDate>Sun, 24 Feb 2008 20:44:51 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:104</guid><dc:creator>codeimp</dc:creator><description>&lt;p&gt;Nice to see this is still progressing, I hope this really turns out in a successful library.&lt;/p&gt;
&lt;p&gt;I'd like to point out some notes about your units of measure here;&lt;/p&gt;
&lt;p&gt;- Angles are usually in radians for a reason: the whole goniometry mathematics are based on radians. Are you willing to convert between radius and degrees all the time?&lt;/p&gt;
&lt;p&gt;- About the color values, why do you use 0 - 255? If you want to modulate one color with another, it is much easier when you use percentages (0 - 1). Sure a + b = c using both units. But when you do a * b with a 0..255 unit, you are likely get a value out of range which is not even the value you are looking for, you would have to do (int)((float)a * ((float)b / 255.0f)) and casting and dividing is not really what you want to do. With percentage units you do get the right value.&lt;/p&gt;
&lt;p&gt;- A seperare propery with &amp;quot;Only&amp;quot; prefix that ignores the alpha component in the color? Why? If your users want 100% alpha they should just set the alpha component to 100%.&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=104" width="1" height="1"&gt;</description></item><item><title>Doing 2D in SlimDX</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/01/21/graphics-enumeration-and-launching-the-game-form.aspx#97</link><pubDate>Wed, 13 Feb 2008 03:43:01 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:97</guid><dc:creator>Nimble2D</dc:creator><description>&lt;p&gt;Now that I&amp;#39;ve had a couple of weeks to play around with 2D programming in Direct3D9 via SlimDX, here&lt;/p&gt;&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=97" width="1" height="1"&gt;</description></item><item><title>re: A Nimble Launch</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/01/15/a-nimble-launch.aspx#79</link><pubDate>Tue, 22 Jan 2008 17:10:10 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:79</guid><dc:creator>admin</dc:creator><description>&lt;p&gt;Welcome Matt!&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=79" width="1" height="1"&gt;</description></item><item><title>Pages tagged "nimble"</title><link>http://ilovevb.net/Web/blogs/nimble2d/archive/2008/01/15/a-nimble-launch.aspx#76</link><pubDate>Sun, 20 Jan 2008 13:39:12 GMT</pubDate><guid isPermaLink="false">f079997d-67b3-4d49-aaea-86507d683840:76</guid><dc:creator>Pages tagged "nimble"</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Pages tagged &amp;quot;nimble&amp;quot;&lt;/p&gt;
&lt;img src="http://ilovevb.net/Web/aggbug.aspx?PostID=76" width="1" height="1"&gt;</description></item></channel></rss>