<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cersoft's Weblog</title>
	<atom:link href="http://cersoft.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cersoft.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 14 Apr 2010 17:59:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cersoft.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cersoft's Weblog</title>
		<link>http://cersoft.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cersoft.wordpress.com/osd.xml" title="Cersoft&#039;s Weblog" />
	<atom:link rel='hub' href='http://cersoft.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Wow has it ever been a while &#8230;</title>
		<link>http://cersoft.wordpress.com/2010/04/14/wow-has-it-ever-been-a-while/</link>
		<comments>http://cersoft.wordpress.com/2010/04/14/wow-has-it-ever-been-a-while/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 17:59:33 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=35</guid>
		<description><![CDATA[My spring resolution is to be more diligent at updating the blog<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=35&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My spring resolution is to be more diligent at updating the blog <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=35&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2010/04/14/wow-has-it-ever-been-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>This video is computer generated, do not try at home &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/03/04/this-video-is-computer-generated-do-not-try-at-home/</link>
		<comments>http://cersoft.wordpress.com/2008/03/04/this-video-is-computer-generated-do-not-try-at-home/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 07:45:28 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=23</guid>
		<description><![CDATA[Due to being stumped with an issue with the new engine I decided to make a video of my old car sim, enjoy &#8230; <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=23&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Due to being stumped with an issue with the new engine I decided to make a video of my old car sim, enjoy &#8230; </p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/9p2mDZp3LDc?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/q7L0kskb5ik?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=23&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/03/04/this-video-is-computer-generated-do-not-try-at-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>Building with templates &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/03/02/building-with-templates/</link>
		<comments>http://cersoft.wordpress.com/2008/03/02/building-with-templates/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 07:10:24 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=22</guid>
		<description><![CDATA[When creating a game you have to think about the end-game, debugging and final tuning, and so the more data you can make accessible, the better. Let&#8217;s say you have an enemy type &#8216;blobby&#8217; and this enemy has a health value, if you have 10 of these blobbies in a level, when it comes time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=22&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When creating a game you have to think about the end-game, debugging and final tuning, and so the more data you can make accessible, the better.</p>
<p>Let&#8217;s say you have an enemy type &#8216;blobby&#8217; and this enemy has a health value, if you have 10 of these blobbies in a level, when it comes time to tune your game and you want to change the health of blobby then you will need to find all of the blobbies and adjust the health level of each one to be the same number. Man, that is a lot of work &#8230;</p>
<p>So, what do we do ?</p>
<p>We are going to use a &#8216;template&#8217; system, templates are essentially a named copy of an entity definition that can then be referenced by spawners etc. The editor layer will keep a list of the templates and we will allow the user to switch to any of these templates at any time to tweak the data fields.</p>
<p>So in practice, we will create a template called &#8216;Blobby&#8217; in the template list, when placing spawners, we will select the name of one of the templates as the object type to spawn. When we want to tune the values of &#8217;blobby&#8217;, we can just switch to the template list, select blobby and adjust it&#8217;s value. In the game we then see an instant change in the values of all of the instances of the blobby enemy.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=22&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/03/02/building-with-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>No sleep is not such a bad thing &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/03/01/no-sleep-is-not-such-a-bad-thing/</link>
		<comments>http://cersoft.wordpress.com/2008/03/01/no-sleep-is-not-such-a-bad-thing/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:57:45 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/2008/03/01/no-sleep-is-not-such-a-bad-thing/</guid>
		<description><![CDATA[Knocked up a screen shot and new video of the progess &#8230; must &#8230; work &#8230; on &#8230; save and load code &#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=21&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Knocked up a screen shot and new video of the progess &#8230; must &#8230; work &#8230; on &#8230; save and load code &#8230;</p>
<p><img src="http://cersoft.files.wordpress.com/2008/03/engineframework003.jpg?w=497" alt="engineframework003.jpg" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=21&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/03/01/no-sleep-is-not-such-a-bad-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>

		<media:content url="http://cersoft.files.wordpress.com/2008/03/engineframework003.jpg" medium="image">
			<media:title type="html">engineframework003.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Generic entity spawner</title>
		<link>http://cersoft.wordpress.com/2008/03/01/generic-entity-spawner/</link>
		<comments>http://cersoft.wordpress.com/2008/03/01/generic-entity-spawner/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 12:16:39 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=19</guid>
		<description><![CDATA[In a previous engine objects and enemies are treated as seperate spawnable types, for this engine I want a spawner to be able to spawn anything that the engine determines is &#8216;spawnable&#8217;. In C# we do this by deriving an entity def class from the interface class ISpawnable, we use this class derivation to allow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=19&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a previous engine objects and enemies are treated as seperate spawnable types, for this engine I want a spawner to be able to spawn anything that the engine determines is &#8216;spawnable&#8217;. In C# we do this by deriving an entity def class from the interface class ISpawnable, we use this class derivation to allow the engine to sort through registered classes to see what is spawnable or not and will only let the spawner entity select these types from a list.</p>
<p>So I made a another movie, slightly larger to show the spawner entity, 12 &#8216;enemies&#8217; in total are spawned, 6 on screen at once in waves of 3, the spawner must wait until the required wave amount is available before spawning any enemies.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/KEOBWF2L864?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=19&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/03/01/generic-entity-spawner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>It was a small event &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/02/29/it-was-a-small-event/</link>
		<comments>http://cersoft.wordpress.com/2008/02/29/it-was-a-small-event/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 09:24:17 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=18</guid>
		<description><![CDATA[So, I&#8217;ve not really done much gui style programming, yes I took care of the hud and some of the midscreens on previous games but I&#8217;ve always avoided the gooey sticky parts of a full blown gui. For this engine I&#8217;m taking an event driven approach that seems to be working well for me so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=18&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve not really done much gui style programming, yes I took care of the hud and some of the midscreens on previous games but I&#8217;ve always avoided the gooey sticky parts of a full blown gui.</p>
<p>For this engine I&#8217;m taking an event driven approach that seems to be working well for me so far, each layer of the editor (grid, entities, buttons) can register an event listener and what types of events it wants to listen for, then things like mouse clicking and moving are sent out as global events that the editor layers then try and intercept. If an upper layer catches an event then lower layers can optionally not be told about the event, this fixes issues where by when a button is clicked, the panning of the viewport is not triggered.</p>
<p>And here is a movie I made earlier &#8230;</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/IRJjCS4_i7M?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<p>When entities are moved around, what is really happening is the definition data of that entity is being modified, this is why the alreadyy living particle systems do not mirror the dragging of the entity definition.</p>
<p>It almost seems that you&#8217;ll be able to see the entire development cycle from the videos that I&#8217;m posting on youtube, hope they don&#8217;t get upset with me posting a video per day <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=18&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/02/29/it-was-a-small-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>Entity visualization &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/02/28/entity-visualization/</link>
		<comments>http://cersoft.wordpress.com/2008/02/28/entity-visualization/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 09:48:52 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=16</guid>
		<description><![CDATA[So I&#8217;ve been working hard on the entity system and editor visualization. The entity system is based around the concept that there is an underlying set of constant data that actually defines the entities. Using this constant data we can create and control the runtime entities. Here is a pic of the visualizer (please note [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=16&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working hard on the entity system and editor visualization. The entity system is based around the concept that there is an underlying set of constant data that actually defines the entities. Using this constant data we can create and control the runtime entities.</p>
<p>Here is a pic of the visualizer (please note that I&#8217;m currently using modified icons from Cinema4D until I can get around to making some new ones) &#8230;<br />
<img src="http://cersoft.files.wordpress.com/2008/02/engineframework002.jpg?w=497" alt="engineframework002.jpg" /></p>
<p>And a video to demonstrate the realtime debuging info &#8230;</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/J-vo4YGjLQQ?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=16&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/02/28/entity-visualization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>

		<media:content url="http://cersoft.files.wordpress.com/2008/02/engineframework002.jpg" medium="image">
			<media:title type="html">engineframework002.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Engine framework update #002</title>
		<link>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-002/</link>
		<comments>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-002/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:37:32 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/2008/02/27/engine-framework-update-002/</guid>
		<description><![CDATA[Added a video of the engine test to youtube !!!, what you can see is the start of the particle system, the editor grid and mouse and view dragging functionality &#8230; And one more showing the intended stop and editor functionality, of course it&#8217;s a little hard to see the grid fading in because the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=15&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Added a video of the engine test to youtube !!!, what you can see is the start of the particle system, the editor grid and mouse and view dragging functionality &#8230;</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/HZJSlP23Az0?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<p>And one more showing the intended stop and editor functionality, of course it&#8217;s a little hard to see the grid fading in because the video is a little small &#8230;</p>
<p> <span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='497' height='310' src='http://www.youtube.com/embed/qmybX5l-Gwo?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=15&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-002/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
		<item>
		<title>Engine framework update #001</title>
		<link>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-001/</link>
		<comments>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-001/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:32:03 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=13</guid>
		<description><![CDATA[Been working on the engine framework, with the intention of doing an in-game editor, I now have the coordinate grid and mouse all working under XNA. Each derived entity will have an &#8216;editorDraw&#8217; function that will allow all of the entities to be visualised inside the in-game editor. Progress so far :-<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=13&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="left">Been working on the engine framework, with the intention of doing an in-game editor, I now have the coordinate grid and mouse all working under XNA. Each derived entity will have an &#8216;editorDraw&#8217; function that will allow all of the entities to be visualised inside the in-game editor.</p>
<p>Progress so far :-</p>
<p><img src="http://cersoft.files.wordpress.com/2008/02/engineframework001.jpg?w=497" alt="engineframework001.jpg" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=13&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/02/27/engine-framework-update-001/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>

		<media:content url="http://cersoft.files.wordpress.com/2008/02/engineframework001.jpg" medium="image">
			<media:title type="html">engineframework001.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Tree falling &#8230;</title>
		<link>http://cersoft.wordpress.com/2008/02/26/tree-falling/</link>
		<comments>http://cersoft.wordpress.com/2008/02/26/tree-falling/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 21:28:35 +0000</pubDate>
		<dc:creator>cersoft</dc:creator>
				<category><![CDATA[Game Engine]]></category>

		<guid isPermaLink="false">http://cersoft.wordpress.com/?p=12</guid>
		<description><![CDATA[As I&#8217;m writing the new engine components I am very aware of a trap that I don&#8217;t want to fall into again and that is the dependence of graphics on the game objects. I have found in the past that I avoid working on gameplay related code if I&#8217;m not digging the current graphic style [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=12&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m writing the new engine components I am very aware of a trap that I don&#8217;t want to fall into again and that is the dependence of graphics on the game objects. I have found in the past that I avoid working on gameplay related code if I&#8217;m not digging the current graphic style &#8230;</p>
<p>So for the new engine I am adopting the &#8216;tree falling&#8217; approach where by the whole game can run even if it is not seen or more precisely, the whole gameplay structure has ZERO dependence on graphics. This actually ties in with something Wiebo touches on in his most recent post about Trapped (<a href="http://wiebo.wordpress.com/2008/02/22/trapped-dev-update-16/">http://wiebo.wordpress.com/2008/02/22/trapped-dev-update-16/</a>)</p>
<p>The benefits of doing things this way are :-</p>
<p>1) I won&#8217;t get tied down to a graphic look.</p>
<p>2) I can easily change from straight 2D to 2.5D and back.</p>
<p>3) You can even create the whole game using debug graphics (just a bunch of boxes) and hence be more agile.</p>
<p>Well, we shall see how this plan works but I&#8217;m gonna be very strict on myself and push through the pain.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cersoft.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cersoft.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cersoft.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cersoft.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cersoft.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cersoft.wordpress.com&amp;blog=2964689&amp;post=12&amp;subd=cersoft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cersoft.wordpress.com/2008/02/26/tree-falling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8b9145b14ab2440dc81bdd96d0f74c60?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cersoft</media:title>
		</media:content>
	</item>
	</channel>
</rss>
