<?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>Games Afoot Software &#187; xna</title>
	<atom:link href="http://www.gamesafoot.com/tag/xna/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamesafoot.com</link>
	<description>The game is afoot!</description>
	<lastBuildDate>Wed, 04 Jan 2012 07:55:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Got us a whole mess-a-videos&#8230;</title>
		<link>http://www.gamesafoot.com/2009/10/09/got-us-a-whole-mess-a-videos/</link>
		<comments>http://www.gamesafoot.com/2009/10/09/got-us-a-whole-mess-a-videos/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 18:11:29 +0000</pubDate>
		<dc:creator>Uhfgood</dc:creator>
				<category><![CDATA[Hypno-Joe Development.]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[Hypno-Joe]]></category>
		<category><![CDATA[map editor]]></category>
		<category><![CDATA[xna]]></category>

		<guid isPermaLink="false">http://www.gamesafoot.com/2009/10/09/got-us-a-whole-mess-a-videos/</guid>
		<description><![CDATA[&#160; Well, here we go, UhfEdit map/level editor to date.&#160; I had to work on a list box for selecting different tilesets.&#160; Which are basically different images that when I select the tiles, it stores their source location on the map.&#160; Anyways the first version of the list box.&#160; It had a few little bugs. [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Well, here we go, UhfEdit map/level editor to date.&#160; I had to work on a list box for selecting different tilesets.&#160; Which are basically different images that when I select the tiles, it stores their source location on the map.&#160; Anyways the first version of the list box.&#160; It had a few little bugs.</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:43371a64-0d14-45a0-ab93-2fbd7492ac7f" style="padding-right: 0px; display: block; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px auto; width: 425px; padding-top: 0px">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/9slp-B5wou8&amp;hl=en&amp;fs=1&amp;&amp;hl=en"></param><embed src="http://www.youtube.com/v/9slp-B5wou8&amp;hl=en&amp;fs=1&amp;&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>So I gutted it and reworked it and it works great now.&#160; You can select, or scroll up or down (with the mouse).&#160; I decided to only use mouse support at the time, I still have yet to add keys to the list box.</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:1bbd7a24-c446-4459-a6d0-f6b9e2383ae7" style="padding-right: 0px; display: block; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px auto; width: 425px; padding-top: 0px">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/_0WvkvvSXYg&amp;hl=en&amp;fs=1&amp;&amp;hl=en"></param><embed src="http://www.youtube.com/v/_0WvkvvSXYg&amp;hl=en&amp;fs=1&amp;&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>So here’s a full vid with Tileset (notice not tile selection, but tileset, in other words the image itself).&#160; At this point in time you could just select a new set and it would switch automagically.</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:6c49a9a5-e174-4c07-b7b9-97fcd878369f" style="padding-right: 0px; display: block; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px auto; width: 425px; padding-top: 0px">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/jdwTD9KCWpI&amp;hl=en&amp;fs=1&amp;&amp;hl=en"></param><embed src="http://www.youtube.com/v/jdwTD9KCWpI&amp;hl=en&amp;fs=1&amp;&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>By this time I needed a “file browser” of sorts so you could load up different maps and save different maps.&#160; So I added code to bring up the Guide (in xna, for windows it’s windows live, for xbox 360 it’s essentially the dashboard).&#160; Anyways before I did that I decided I couldn’t just have it automatically try to load a map so I needed some sort of “ok” button.&#160; So I implemented it on the tileset list box first.&#160; You can see it in action in here I believe.&#160; But as the title of this video is error, there was an error.&#160; Not in the listbox but sort of a defect rather than an error.&#160; See if you got a different sized tileset image say bigger than the others, then when you switched to another tileset that was smaller, the map would become sort of garbled.&#160; I had an image that was twice as wide as the others.&#160; As a result it extracted tiles from every other line because the previous image was twice as wide.&#160; I figured the only way to fix the problem is to make sure all my images are the same size (in resolution) per map.&#160; The ability to switch images on a map means I could change the look of a level by simply substituting a different image.&#160; Let’s say we’re showing the four seasons, spring, summer, autumn, and winter.&#160; All I need to do is make 4 tileset images that represent that.&#160; Say for summer everything is dry and bright, but for winter, it looks like it has snow and everything is blue.&#160; Anyways here’s the vid.</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:a12365cb-0edd-40f2-bae8-13f8653dc14c" style="padding-right: 0px; display: block; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px auto; width: 425px; padding-top: 0px">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/wyPqrRKrBcY&amp;hl=en&amp;fs=1&amp;&amp;hl=en"></param><embed src="http://www.youtube.com/v/wyPqrRKrBcY&amp;hl=en&amp;fs=1&amp;&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>This brings us to our final vid, the usage to date.&#160; It shows you the message/confirmation box when you load a level, and a list box showing you the map files.&#160; I’m about to make a major change in the look though, so stay tuned for the next few videos.</p>
<div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:6f6dcec9-4234-4377-bbfb-d46abaf150cb" style="padding-right: 0px; display: block; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px auto; width: 425px; padding-top: 0px">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/7abA9-QOopI&amp;hl=en"></param><embed src="http://www.youtube.com/v/7abA9-QOopI&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
<p>Please note with the exception of the first 2 videos most of these can be seen in HD on youtube, since I’m usikng xna and eventually targeting the xbox360 the videos are 1280&#215;720 or 720p.</p>
<p>Thanks for watching.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamesafoot.com/2009/10/09/got-us-a-whole-mess-a-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

