<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Development Soup &#187; game development</title>
	<atom:link href="https://dreamwagon.com/blog/?cat=55&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://dreamwagon.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 03 Aug 2014 23:22:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>UE4 &#8211; Blender &#8211; Makehuman workflow cheat sheet</title>
		<link>https://dreamwagon.com/blog/?p=147</link>
		<comments>https://dreamwagon.com/blog/?p=147#comments</comments>
		<pubDate>Sun, 03 Aug 2014 23:22:50 +0000</pubDate>
		<dc:creator><![CDATA[Jesse]]></dc:creator>
				<category><![CDATA[game development]]></category>

		<guid isPermaLink="false">http://dreamwagon.com/blog/?p=147</guid>
		<description><![CDATA[Good evening! Tonight&#8217;s entry is my attempt to document a few things I have picked up this past weekend as I start to develop my next project. I decided to make some animations using blender. I have mostly created static&#8230;  <p class="more-link"><a href="https://dreamwagon.com/blog/?p=147">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>Good evening! Tonight&#8217;s entry is my attempt to document a few things I have picked up this past weekend as I start to develop my next project. I decided to make some animations using blender. I have mostly created static meshes in blender, but I decided to try to make my own character animations. Here are some of the things I have found.</p>
<p>&nbsp;</p>
<p><strong>Workflow from makehuman to UE4</strong></p>
<p>I used makehuman to create a pretty decent looking character. I created some custom cloths for the character and exported the model with rigging (basic game rigging in makehuman) to Collada format. I tried using the special blender-makehuman format, but I had issues when the skeleton was imported to blender.</p>
<p>I imported the model into blender. I read that UV unwrap is necessary for textures to appear in Ue4, but I didn&#8217;t have to perform this step. I simply went into UV editing mode and selected the textures and made sure they were scaled and position correctly on the faces.</p>
<p>I am not going into any detail about how to animate, I found it to be pretty intuitive. Change to animation mode, pose the character and then hit I to insert keyframe.</p>
<p>When you are ready to export to FBX for UE4, set the Unit Scale under Scene to 100 units metric (or whatever you want. It will equate to the same number of ue4 units) Make sure that whatever unit scale is set matches on the FBX export dialog.</p>
<p>&nbsp;</p>
<p><strong>Other stuff I always have to lookup <img src="https://dreamwagon.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </strong></p>
<p>Fly Mode - Click the camera icon under the scene and then Shift + F to enter fly mode. ASWD to move, left click to return mouse control, right click to return the camera to the previous location.</p>
<p>Keying animation frames &#8211; To insert a keyframe in animation mode, make sure pose is selected and hit I (Insert Keyframe) and then &#8216;Whole Character&#8217;</p>
<p>deleting animation frames &#8211; This only works on the dope sheet. Make sure to right click to deselect all, then hit B to rectangle select any frames to delete. Hit X to delete selected keyframes</p>
<p>To rotate meshes, select the mesh and hit R and then whatever axis (X Y or Z)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://dreamwagon.com/blog/?feed=rss2&#038;p=147</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Daddy, I have an idea for a video game. Its called Stop the Droid!</title>
		<link>https://dreamwagon.com/blog/?p=105</link>
		<comments>https://dreamwagon.com/blog/?p=105#comments</comments>
		<pubDate>Tue, 04 Feb 2014 02:38:20 +0000</pubDate>
		<dc:creator><![CDATA[Jesse]]></dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[dreamwagon]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://dreamwagon.com/blog/?p=105</guid>
		<description><![CDATA[Actually, the exchange between me and my 5yr old son (Ill call him J) went something like this. J: &#8220;Daddy, I have an idea for a video game. Its called Stop the Droid! Do you like that name?&#8221; Me: &#8220;Shouldn&#8217;t&#8230;  <p class="more-link"><a href="https://dreamwagon.com/blog/?p=105">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>Actually, the exchange between me and my 5yr old son (Ill call him J) went something like this.</p>
<p>J: &#8220;Daddy, I have an idea for a video game. Its called Stop the Droid! Do you like that name?&#8221;</p>
<p>Me: &#8220;Shouldn&#8217;t it be Stop the Droids?&#8221;</p>
<p>J: &#8220;NO! Stop the Droid! Stop the Droid!&#8221;</p>
<p>Me: &#8220;Ok, so what is this game all about?&#8221;</p>
<p>J: &#8220;Droids are attacking you, and you have to fight them!.. and when they get hit, they make explosions! And when you get hit you make this sound. &#8216;ugggharg!!&#8217; Is that funny? Do you like this game?&#8221;</p>
<p>Me: &#8220;Sounds pretty cool to me!&#8221;</p>
<p>And it was at this point that I realized I was completely tangled in his web, and that I would be spending the next few months working on this game. To be fair, I had been looking for any reason to make another game for XBLIG, and as it turns out, J&#8217;s first demand was that it be released to the XBox 360. (He said XBox to be fair, Ill just assume he does not know about XBox One <img src="https://dreamwagon.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /><br />
I was also looking for any excuse to use Spine and the XNA/C# runtime. Spine is an amazing 2d skeletal animation program with tons of supported runtimes.  (Checkout Spine <a href="http://www.youtube.com/watch?v=Se0nh1JPh8s">Here</a>)</p>
<p>&nbsp;</p>
<p><strong>A lesson about originiality</strong></p>
<p>So the next thing I had to do was to find out what this &#8220;Stop the Droid!&#8221; game was all about. The central idea for Stop the Droid! is a battle against wave after wave of droids from a droid army that is invading your planet. As it turned out, many of the first ideas that were presented to me were very VERY similar to concepts and characters from a certain wildly popular movie franchise that J totally adores. May the force be with you while you try to guess it. We had to have another talk.</p>
<p>Me: &#8220;I will make Stop the Droid!, but we cannot use Anakin, and we may not use Obi Wan. They are not our own ideas. We have to be original. Do you know what I mean?&#8221;</p>
<p>J: <em>Blank stare</em></p>
<p>Me: &#8220;You need to think of exactly what will happen in this game, but most importantly, we must come up with our own characters and game-play.&#8221;</p>
<p>And that is when it started to get really fun.</p>
<p>&nbsp;</p>
<p><strong>Taking direction from a 5yr old.</strong></p>
<p>I decided that my part in this wacky journey would be to develop for J as if he was the project manager. I started to treat every one of J&#8217;s ideas as something to consider seriously (and I continue to help out whenever he crosses the line with IP). I would not make any unilateral decisions, and I would run every idea I have by J. If he shoots it down, then it is done. I will come up with a different idea. And that&#8217;s the way we have worked for the last six weeks or so.  Just about every day, J looks over what I have done, plays it for 10-15 minutes, and then gives me 500 other ideas. I have been totally astounded by the level of specific detail he has been able to provide. Everything from the sound effects and music to the box art, he has had a large hand in creating.</p>
<p><a href="http://dreamwagon.com/blog/wp-content/uploads/2014/02/jonah_and-Me.jpg"><img class="aligncenter size-medium wp-image-106" alt="jonah_and Me" src="http://dreamwagon.com/blog/wp-content/uploads/2014/02/jonah_and-Me-300x225.jpg" width="300" height="225" /></a></p>
<p>&nbsp;</p>
<p><strong> Current State</strong></p>
<p>Stop The Droid! is still in early development, but we are progressing slowly. Just trying to manage the multitude of ideas that J has is like another job all by itself!<br />
We are currently trying to:</p>
<ul>
<li>Narrow the list of upgrades and weapons that will be available.</li>
<li>Decide whether or not to add &#8220;side kick&#8221; droids. (An idea J had yesterday!)</li>
<li>Decide what droids will make the final cut.</li>
<li>Incorporate the item and upgrade system.</li>
<li>Finish Multi-player coop mode</li>
</ul>
<p>Here is a short video of Stop the Droid! in its current state.</p>
<p><iframe src="//www.youtube.com/embed/Hx0YwNSBtYw" height="315" width="560" allowfullscreen="" frameborder="0"></iframe></p>
<p>&nbsp;</p>
<p><a href="http://dreamwagon.com/blog/wp-content/uploads/2014/02/BoxArt.jpg"><img class="aligncenter size-medium wp-image-113" alt="BoxArt" src="http://dreamwagon.com/blog/wp-content/uploads/2014/02/BoxArt-250x300.jpg" width="250" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>https://dreamwagon.com/blog/?feed=rss2&#038;p=105</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>XNA Tutorial: HLSL and SpriteBatch for 2D effects.</title>
		<link>https://dreamwagon.com/blog/?p=48</link>
		<comments>https://dreamwagon.com/blog/?p=48#comments</comments>
		<pubDate>Thu, 07 Jan 2010 15:20:14 +0000</pubDate>
		<dc:creator><![CDATA[Jesse]]></dc:creator>
				<category><![CDATA[dreamwagon]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://dreamwagon.com/blog/?p=48</guid>
		<description><![CDATA[After writing most of my first XNA game using the built in sorting capability of SpriteBatch, I ran into a pretty big problem. I wanted to add a HLSL effect to certain sprites. I followed the instructions I found, setting&#8230;  <p class="more-link"><a href="https://dreamwagon.com/blog/?p=48">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>After writing most of my first XNA game using the built in sorting capability of SpriteBatch, I ran into a pretty big problem. I wanted to add a HLSL effect to certain sprites. I followed the instructions I found, setting the SpriteSortMode to Immediate. What I did not realize at the time is Immediate means IMMEDIATE.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;">spriteBatch<span style="color: #008000;">.</span><span style="color: #0000FF;">Begin</span><span style="color: #008000;">&#40;</span>SpriteBlendMode<span style="color: #008000;">.</span><span style="color: #0000FF;">AlphaBlend</span>, SpriteSortMode<span style="color: #008000;">.</span><span style="color: #0000FF;">Immediate</span>, SaveStateMode<span style="color: #008000;">.</span><span style="color: #0000FF;">None</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>This means that you cannot rely on the spriteBatch.Draw method to sort for you, and must sort yourself.</p>
<p>I posted in the XNA forums, and learned that it is actually better to sort yourself. This way you know exactly how everything is working behind the scenes, and you can really improve upon the look by implementing same neat HLSL effects. Rewriting my draw functionality was not a huge undertaking but it did take some time.</p>
<p>For my purposes, I decided to create an object for handling everything needed to draw later on.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;"> <span style="color: #6666cc; font-weight: bold;">class</span> DrawableObject
    <span style="color: #008000;">&#123;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> Texture2D Texture<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> Vector2 Position<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> Vector2 Origin<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> Color Color<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">float</span> Rotation<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">float</span> Scale<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">float</span> Z_Index<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> Rectangle DisplayRect<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> DrawType DrawType<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> Effect Effect<span style="color: #008000;">;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">Object</span> ObjectRef<span style="color: #008000;">;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">public</span> DrawableObject<span style="color: #008000;">&#40;</span>Texture2D texture, Vector2 position,Rectangle displayRect, Color color, <span style="color: #6666cc; font-weight: bold;">float</span> rotation, Vector2 origin, <span style="color: #6666cc; font-weight: bold;">float</span> scale, <span style="color: #6666cc; font-weight: bold;">float</span> z_Index, DrawType drawType, Effect effect, <span style="color: #6666cc; font-weight: bold;">Object</span> objectRef<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Texture</span> <span style="color: #008000;">=</span> texture<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Position</span> <span style="color: #008000;">=</span> position<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Origin</span> <span style="color: #008000;">=</span> origin<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Color</span> <span style="color: #008000;">=</span> color<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Rotation</span> <span style="color: #008000;">=</span> rotation<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Z_Index</span> <span style="color: #008000;">=</span> z_Index<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Scale</span> <span style="color: #008000;">=</span> scale<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">DisplayRect</span> <span style="color: #008000;">=</span> displayRect<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">DrawType</span> <span style="color: #008000;">=</span> drawType<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span> <span style="color: #008000;">=</span> effect<span style="color: #008000;">;</span>
            <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ObjectRef</span> <span style="color: #008000;">=</span> objectRef<span style="color: #008000;">;</span>
&nbsp;
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>In this Object, DrawType is an enumeration used to mark each object so drawing can be handled differently depending on its type. For my purposes I had Player, Projectile, Shadow, etc<br />
I then create a list of DrawableObjects to sort based on the z index.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;">List listToDraw <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> x <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> x <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Count</span><span style="color: #008000;">;</span> x<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                    <span style="color: #008080; font-style: italic;">//Add all my players as drawable objects</span>
                    listToDraw<span style="color: #008000;">.</span><span style="color: #0600FF; font-weight: bold;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> DrawableObject<span style="color: #008000;">&#40;</span>playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerAnimation</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CurrentTexture</span>, playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerAnimation</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ScreenPosition</span> ,                   playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerAnimation</span><span style="color: #008000;">.</span><span style="color: #0000FF;">DisplayRect</span>, Color<span style="color: #008000;">.</span><span style="color: #0000FF;">White</span>, 0f, Vector2<span style="color: #008000;">.</span><span style="color: #0000FF;">Zero</span>, 1f, playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerAnimation</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ScreenPosition</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Y</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">/</span> Map<span style="color: #008000;">.</span><span style="color: #0000FF;">Height</span>, DrawType<span style="color: #008000;">.</span><span style="color: #0000FF;">Player</span>, playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerAnimation</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PlayerEffect</span>,  playerManager<span style="color: #008000;">.</span><span style="color: #0000FF;">Players</span><span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
              <span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>I then sort &#8230;.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;">           <span style="color: #008080; font-style: italic;">//Sort for the right order</span>
            listToDraw<span style="color: #008000;">.</span><span style="color: #0000FF;">Sort</span><span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">delegate</span> <span style="color: #008000;">&#40;</span>DrawableObject d1, DrawableObject d2<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span><span style="color: #0600FF; font-weight: bold;">return</span> d2<span style="color: #008000;">.</span><span style="color: #0000FF;">Z_Index</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CompareTo</span><span style="color: #008000;">&#40;</span>d1<span style="color: #008000;">.</span><span style="color: #0000FF;">Z_Index</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>and then draw the list</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;"> <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> x <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> x <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> DrawObjectList<span style="color: #008000;">.</span><span style="color: #0000FF;">Count</span><span style="color: #008000;">;</span> x<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>
                    <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">DrawType</span> <span style="color: #008000;">==</span> DrawType<span style="color: #008000;">.</span><span style="color: #0000FF;">Player</span><span style="color: #008000;">&#41;</span>
                    <span style="color: #008000;">&#123;</span>
                        Player pn <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>Player<span style="color: #008000;">&#41;</span>DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ObjectRef</span><span style="color: #008000;">;</span>
&nbsp;
                        spriteBatch<span style="color: #008000;">.</span><span style="color: #0000FF;">Begin</span><span style="color: #008000;">&#40;</span>SpriteBlendMode<span style="color: #008000;">.</span><span style="color: #0000FF;">AlphaBlend</span>, SpriteSortMode<span style="color: #008000;">.</span><span style="color: #0000FF;">Immediate</span>, SaveStateMode<span style="color: #008000;">.</span><span style="color: #0000FF;">None</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                        <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span> <span style="color: #008000;">&#41;</span>
                        <span style="color: #008000;">&#123;</span>
                            DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Begin</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                            DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CurrentTechnique</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Passes</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Begin</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                        <span style="color: #008000;">&#125;</span>
                        spriteBatch<span style="color: #008000;">.</span><span style="color: #0000FF;">Draw</span><span style="color: #008000;">&#40;</span>DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Texture</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Position</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">DisplayRect</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Color</span>,
                                         DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Rotation</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Origin</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Scale</span>, SpriteEffects<span style="color: #008000;">.</span><span style="color: #0000FF;">None</span>, DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Z_Index</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
                        <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
                        <span style="color: #008000;">&#123;</span>
                            DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CurrentTechnique</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Passes</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">End</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                            DrawObjectList<span style="color: #008000;">&#91;</span>x<span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Effect</span><span style="color: #008000;">.</span><span style="color: #0000FF;">End</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                        <span style="color: #008000;">&#125;</span>
&nbsp;
                        <span style="color: #008080; font-style: italic;">//etc etc.</span>
                 <span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>Well I hope this helps someone looking for the same thing.</p>
<p>~J</p>
]]></content:encoded>
			<wfw:commentRss>https://dreamwagon.com/blog/?feed=rss2&#038;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
