<?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>Error_Success</title>
	<atom:link href="http://error-success.piku.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://error-success.piku.org.uk</link>
	<description>Hack the planet! ;-)</description>
	<lastBuildDate>Sun, 12 Oct 2014 21:45:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.5.4</generator>
	<item>
		<title>SITE HAS MOVED</title>
		<link>http://error-success.piku.org.uk/2014/10/12/site-has-moved/</link>
		<pubDate>Sun, 12 Oct 2014 21:43:50 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=741</guid>
		<description><![CDATA[THIS SITE HAS MOVED http://blog.ncotsoftware.co.uk]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton741" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F10%2F12%2Fsite-has-moved%2F&amp;text=SITE%20HAS%20MOVED&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F10%2F12%2Fsite-has-moved%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><h1>THIS SITE HAS MOVED</h1>
<p><a href="http://blog.ncotsoftware.co.uk">http://blog.ncotsoftware.co.uk</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>#1gam August</title>
		<link>http://error-success.piku.org.uk/2014/09/02/1gam-august/</link>
		<pubDate>Mon, 01 Sep 2014 23:01:04 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[prototyping]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=734</guid>
		<description><![CDATA[This month I deviated from my usual &#8220;move things around and shoot at them&#8221; game style and tried a more strategic game. So, this month&#8217;s game is a kind of [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton734" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F09%2F02%2F1gam-august%2F&amp;text=%231gam%20August&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F09%2F02%2F1gam-august%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>This month I deviated from my usual &#8220;move things around and shoot at them&#8221; game style and tried a more strategic game.</p>
<p><span id="more-734"></span></p>
<p>So, this month&#8217;s game is a kind of stats driven battle type game. You&#8217;re a robot, there&#8217;s an opponent. Some stats happen and there&#8217;s a winner at the end. Then to make it less of a &#8220;press button, watch numbers change&#8221; game I added a way to earn &#8220;credits&#8221; that can be spent to upgrade or repair your robot, or to gamble on the outcome of the next battle. Maybe you&#8217;ll win lots of credits so you can win the battles better.</p>
<p>This is the first game I&#8217;ve made where there&#8217;s an actual <em>flow</em> to the game rather than &#8220;game starts and stuff happens randomly until someone dies&#8221;. So naturally, code like this sprouted out of my brain&#8230;</p>
<div id="attachment_735" style="width: 650px" class="wp-caption aligncenter"><a href="http://error-success.piku.org.uk/files/2014/09/statemachine.png"><img class="size-full wp-image-735" src="http://error-success.piku.org.uk/files/2014/09/statemachine.png" alt="When your code starts to look like this... YOU'RE DOING IT WRONG." width="640" height="360" srcset="http://error-success.piku.org.uk/files/2014/09/statemachine.png 640w, http://error-success.piku.org.uk/files/2014/09/statemachine-150x84.png 150w, http://error-success.piku.org.uk/files/2014/09/statemachine-300x168.png 300w, http://error-success.piku.org.uk/files/2014/09/statemachine-195x110.png 195w" sizes="(max-width: 640px) 100vw, 640px" /></a><p class="wp-caption-text">When your code starts to look like this&#8230; YOU&#8217;RE DOING IT WRONG.</p></div>
<p>and yeah&#8230; got a bit complicated to deal with. If the player is fighting and then they choose to give up, go into the flee state, but if they choose to upgrade then go into the OH MY GOD MY STATE DIAGRAM HAS A KNOT IN IT!</p>
<p>State diagrams might be useful, but not for everything. Certainly not complex game logic control. I finally settled on an idea that I nicked from Windows programming and created the concept of &#8220;game panels&#8221; that can be shown and hidden. Each panel does a specific thing &#8211; show some instructions, make the fighting work, create a new enemy, etc.</p>
<p>And after making this, it became quite easy to add some logic to make text fly in and out of the screen.</p>
<div id="attachment_736" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/09/excel.png"><img class="size-medium wp-image-736" src="http://error-success.piku.org.uk/files/2014/09/excel-300x173.png" alt="And you thought it was only good for making boring graphs..." width="300" height="173" srcset="http://error-success.piku.org.uk/files/2014/09/excel-300x173.png 300w, http://error-success.piku.org.uk/files/2014/09/excel-150x86.png 150w, http://error-success.piku.org.uk/files/2014/09/excel.png 579w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">And you thought it was only good for making boring graphs&#8230;</p></div>
<p>Yeah&#8230; err this is sounding a bit like PowerPoint, isn&#8217;t it? So&#8230; how about some Excel? Handy for working out the maths behind the fight logic.</p>
<p>Probably could have written this game using MS Office and some macros <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>It was annoying me slightly that these games never end up as finished or polished as I&#8217;d like them to be &#8211; this one needs balancing and tidying up, last month&#8217;s needs a bit more depth&#8230; and so on. However instead of having a load of crappy half working games, what I&#8217;ve actually got is a load of prototypes that I can come back to later and improve upon.</p>
<p>Yes, these are prototypes. Instead of keeping half baked ideas in my head or a notebook they&#8217;re now playable things.</p>
<p>Oh, the game is here&#8230; <a href="http://www.ncotsoftware.co.uk/12/">http://www.ncotsoftware.co.uk/12/</a></p>
<p>This month&#8217;s theme is &#8220;the fair&#8221; and maybe I&#8217;ll remember to write something about it at the end of this month.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Hack the Planet!</title>
		<link>http://error-success.piku.org.uk/2014/03/08/hack-the-planet/</link>
		<pubDate>Sat, 08 Mar 2014 12:31:44 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[#1gam]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=729</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton729" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F03%2F08%2Fhack-the-planet%2F&amp;text=Hack%20the%20Planet%21&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F03%2F08%2Fhack-the-planet%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><a href="http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51.png"><img class="alignleft size-medium wp-image-730" alt="CyberpunkJam 2014-03-08 12-04-16-51" src="http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51-300x187.png" width="300" height="187" srcset="http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51-300x187.png 300w, http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51-150x93.png 150w, http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51-900x562.png 900w, http://error-success.piku.org.uk/files/2014/03/CyberpunkJam-2014-03-08-12-04-16-51.png 1440w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
]]></content:encoded>
			</item>
		<item>
		<title>#1GAM February</title>
		<link>http://error-success.piku.org.uk/2014/02/17/1gam-february/</link>
		<pubDate>Mon, 17 Feb 2014 21:37:21 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[gamejam]]></category>
		<category><![CDATA[progress]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=722</guid>
		<description><![CDATA[Oops, I finished early. Is that bad? If you like it, or if you don&#8217;t, feel free to bother me on Twitter. It&#8217;s a short month, and in that short [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton722" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F02%2F17%2F1gam-february%2F&amp;text=%231GAM%20February&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F02%2F17%2F1gam-february%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Oops, I finished early. Is that bad?</p>
<p><span id="more-722"></span></p>
<p><iframe src="//itch.io/embed/2527" height="185" width="565" frameborder="0"></iframe><br />
If you like it, or if you don&#8217;t, feel free to <a href="https://twitter.com/pickoo">bother me on Twitter</a>.</p>
<p>It&#8217;s a short month, and in that short month I think I&#8217;ve achieved a fair amount. Originally, inspired by the #1GAM theme of &#8220;loops&#8221; I was going to do some sort of Roller Derby game that had multiple AI characters, potentially two players and sounded quite fun in my head. Meanwhile all the kids at school started going crazy over some crappy little game with a bird in it. Silly crappy one-button games, they&#8217;re not real games are they? You can bodge one of those together in two days surely?</p>
<p>Then the Internet went crazy, like it does. The poor developer behind it went crazy and removed Flappy Bird from the world. And in the strange way the Internet works, someone decided &#8220;let&#8217;s make a game jam and encourage people to make Flappy Bird inspired games&#8221;.</p>
<p>Last month my game was an entry for the <a href="http://itch.io/jam/candyjam">CandyJam </a> and it was quite fun and amusing creating something with a certain theme and purpose. I wonder if someone&#8217;ll make another up next month. I like the focus, it stops me fiddling away making a load of crap. So I stopped my complicated sounding game and thought &#8220;let&#8217;s see how easy it is to make a Flappy Bird type game&#8221;.</p>
<p>It&#8217;s not hard making a functional game &#8211; I had &#8220;bouncy squares avoiding other squares&#8221; working in an afternoon, but making it look worth playing is really tricky. Think I need to work on that some more.</p>
<p>I&#8217;m not just having fun mashing out simplistic games that I could complete in a day if this were a real job, I&#8217;m also trying to improve my general development system and its tools. My half-working projects last year let me learn HaxeFlixel and from that I created a nice little project template. Last month I worked on creating all the &#8220;stuff&#8221; that surrounds the main game &#8211; menus, fading screen effects, bleepy noises when you select menu items and so on. This month I expanded by resurrecting my Mac Mini and seeing if code worked properly on that too.</p>
<p>And then I went through some very specific and time consuming hoops figuring out how to put something on the OUYA store. It&#8217;s a simple sounding process that ends up with you trawling Google for an hour trying to work out why your large app icon isn&#8217;t working and why your game is called &#8220;com.example.myApp&#8221; instead of something more sensible. I think I might add some touchscreen code and see if I can put this on the Google Play Store too. I&#8217;m sure I&#8217;ll waste a day trying to figure out how to do that.</p>
<p>Next month all this effort will become part of the dev process and won&#8217;t take half a day to complete. I like this part of doing #1gam &#8211; repeatedly practising the whole process of creating a working game and becoming better at it. This month, because of what I did in January, I spent much more time on the actual gameplay than on the code.</p>
]]></content:encoded>
			</item>
		<item>
		<title>My #1Gam January entry is complete!</title>
		<link>http://error-success.piku.org.uk/2014/02/01/my-1gam-january-entry-is-complete/</link>
		<pubDate>Sat, 01 Feb 2014 00:16:44 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[3d]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=707</guid>
		<description><![CDATA[What&#8217;s this? Software released on time? An entire playable game finished within one month? What kind of crazy world are we living in? Yes, I am also equally amazed I [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton707" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F02%2F01%2Fmy-1gam-january-entry-is-complete%2F&amp;text=My%20%231Gam%20January%20entry%20is%20complete%21&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F02%2F01%2Fmy-1gam-january-entry-is-complete%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>What&#8217;s this? Software released on time? An entire playable game finished within one month? What kind of crazy world are we living in?</p>
<p>Yes, I am also equally amazed I managed to finish this inside the allocated time.</p>
<p>How did I get from this&#8230;</p>
<div id="attachment_700" style="width: 310px" class="wp-caption aligncenter"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13.png"><img class=" wp-image-700" alt="dotshooterDX 2014-01-03 09-33-28-13" src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13-300x187.png" width="300" height="187" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13-300x187.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13-150x93.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13-900x562.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-03-09-33-28-13.png 1440w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">From this&#8230;</p></div>
<p>To this?</p>
<div id="attachment_713" style="width: 310px" class="wp-caption aligncenter"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27.png"><img class="size-medium wp-image-713" alt="Yes, yes I can!" src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">Yes, yes I can!</p></div>
<p>In just 31 days, without using a 3D engine&#8230; actually&#8230; how did I manage to force a 2D rendering system to draw 3D? That sounds like a more interesting topic.</p>
<div id="attachment_719" style="width: 310px" class="wp-caption alignleft"><img class=" wp-image-719" alt="1391115157408" src="http://error-success.piku.org.uk/files/2014/02/1391115157408-300x225.jpg" width="300" height="225" srcset="http://error-success.piku.org.uk/files/2014/02/1391115157408-300x225.jpg 300w, http://error-success.piku.org.uk/files/2014/02/1391115157408-150x112.jpg 150w, http://error-success.piku.org.uk/files/2014/02/1391115157408-900x675.jpg 900w" sizes="(max-width: 300px) 100vw, 300px" /><p class="wp-caption-text">Worried you&#8217;re working for too long without a break? Get a cat&#8230;</p></div>
<p>You see, I&#8217;m using a pretty good programming language called Haxe which has the benefit of being cross-platform. Added to this is a 2D game library called HaxeFlixel (yes, it&#8217;s <em>that</em> Flixel) which makes creating 2D games easy. Everything is represented by squares and rectangles and the built in collision detection is efficient and easy to use.</p>
<p>So along I come and think &#8220;3D game!&#8221;.</p>
<p>It&#8217;s kind of hard trying to draw 3D when your basic graphical shape is a 2D square &#8211; you can set the width, height and a position on the screen. There are no line drawing routines, no shape drawing commands. You can just put squares on the screen. The squares can contain images though, and can be any rectangular shape you like.</p>
<p>You can also scale them, which is the trick. <a href="http://codeincomplete.com/posts/2012/6/22/javascript_racer/">The Internet is littered with examples of how to quickly convert and project a 3D point into 2D</a>. My notes are now littered with scribble, food stains and cat-prints explaining how to butcher rectangles so they scale cleverly to look as if they&#8217;re moving within a 3D volume.</p>
<div id="attachment_710" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34.png"><img class="size-medium wp-image-710" alt="Something is very wrong here..." src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">Something is very wrong here&#8230;</p></div>
<p>The striped grass was difficult. It&#8217;s a &#8220;wide enough&#8221; one pixel tall rectangle that is then scaled in the Y axis. The amount it is scaled is calculated from a 3D point describing where the &#8220;bottom&#8221; of the stripe needs to be. They all then &#8220;slide forwards&#8221; as if on a conveyor belt to create a convincing motion effect.</p>
<p>Collision detection was an utter nightmare (and still is&#8230; that&#8217;s why nothing can shoot at you &#8211; it doesn&#8217;t work!). I tried all sorts of crazy 3D collision routines &#8211; they all either didn&#8217;t work, or were too unreliable to make a fun game. In the end I settled for a total hack which went like this</p>
<pre>If objectA's Z position is "close enough" to objectB's Z position
    Do a 2D overlap test on their scaled images
        If they overlap, they're probably touching so deal with it</pre>
<p>It&#8217;s so &#8230; dirty but it works well enough. Finding sprites took too much time &#8211; I wasted a good few hours on that. I found lots of ripped sprites from Space Harrier, Outrun and other fake-3D games. They showed me a bit of insight &#8211; my code is probably a horrible hacked idea but <em>the real games probably are too</em>. The Space Harrier sprites &#8211; for example &#8211; are not scaled as they move towards the screen. There&#8217;s just different sized ones that get drawn appropriately. Space Harrier&#8217;s collision is also not that tight and because you&#8217;re looking at the player&#8217;s arse all game it&#8217;s impossible to aim properly.</p>
<div id="attachment_718" style="width: 160px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/02/1391112763326.jpg"><img class="size-thumbnail wp-image-718" alt="1391112763326" src="http://error-success.piku.org.uk/files/2014/02/1391112763326-150x112.jpg" width="150" height="112" srcset="http://error-success.piku.org.uk/files/2014/02/1391112763326-150x112.jpg 150w, http://error-success.piku.org.uk/files/2014/02/1391112763326-300x225.jpg 300w, http://error-success.piku.org.uk/files/2014/02/1391112763326-900x675.jpg 900w" sizes="(max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text">It all looks like this&#8230;</p></div>
<p>I couldn&#8217;t manage floor shadows though, I don&#8217;t have enough control of the screen to force those out, so judging your relation to things is difficult (another reason why your player doesn&#8217;t actually collide with stuff).</p>
<p>My game is awesome, you should <a href="http://ncot.piku.org.uk/space-harriet-1gam-entry-january/">go and visit its webpage and download the thing</a>. Grab an XBox controller and shoot at stuff!</p>
]]></content:encoded>
			</item>
		<item>
		<title>Space Harriet Development</title>
		<link>http://error-success.piku.org.uk/2014/01/31/space-harriet-development/</link>
		<pubDate>Fri, 31 Jan 2014 23:40:01 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[progress]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=709</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton709" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F31%2Fspace-harriet-development%2F&amp;text=Space%20Harriet%20Development&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F31%2Fspace-harriet-development%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><div id="attachment_710" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34.png"><img class="size-medium wp-image-710" alt="Something is very wrong here..." src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-08-01-34.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">Something is very wrong here&#8230;</p></div>
<div id="attachment_712" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43.png"><img class="size-medium wp-image-712" alt="MMM crowded playfield. Shame crap collision detection prevented me from making this work" src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-27-23-01-05-43.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">MMM crowded playfield. Shame crap collision detection prevented me from making this work</p></div>
<div id="attachment_713" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27.png"><img class="size-medium wp-image-713" alt="Yes, yes I can!" src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-31-22-29-18-27.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">Yes, yes I can!</p></div>
<div id="attachment_711" style="width: 310px" class="wp-caption alignleft"><a href="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60.png"><img class="size-medium wp-image-711" alt="Bit of a rendering bug I think..." src="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60-300x168.png" width="300" height="168" srcset="http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60-300x168.png 300w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60-150x84.png 150w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60-900x506.png 900w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60-195x110.png 195w, http://error-success.piku.org.uk/files/2014/01/dotshooterDX-2014-01-25-20-59-51-60.png 1280w" sizes="(max-width: 300px) 100vw, 300px" /></a><p class="wp-caption-text">Bit of a rendering bug I think&#8230;</p></div>
]]></content:encoded>
			</item>
		<item>
		<title>#1gam January Update</title>
		<link>http://error-success.piku.org.uk/2014/01/20/1gam-january-update/</link>
		<pubDate>Mon, 20 Jan 2014 23:42:08 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[progress]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=703</guid>
		<description><![CDATA[So, 20 days into January and only 11 left before the first #1gam entry is due how am I doing? I started my #1gam entry with the simple idea of [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton703" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F20%2F1gam-january-update%2F&amp;text=%231gam%20January%20Update&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F20%2F1gam-january-update%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>So, 20 days into January and only 11 left before the first #1gam entry is due how am I doing?</p>
<p><span id="more-703"></span></p>
<p>I started my #1gam entry with the simple idea of &#8220;Make <a title="Dotshooter" href="http://error-success.piku.org.uk/2013/09/24/dotshooter/">DotShooter</a>, but a bit better&#8221; but decided that creating a basic 2D shooter wasn&#8217;t really pushing my ability to make a game. Creating &#8220;Dotshooter version 2&#8221; isn&#8217;t the reason I&#8217;m in this, I&#8217;m taking part in the One Game a Month competition to try and improve my <em>ability to make games</em>&#8230; and I think I&#8217;ll impose a new rule &#8211; <em>games that aren&#8217;t simple 2D shooters</em>.</p>
<p>I&#8217;m working on what appears to have become called &#8220;Space Harriet&#8221; (<a href="https://twitter.com/BeercaveGames/status/419574808729632770">why?</a>) which started off as an attempt at making an old ZX Spectrum game called <a href="http://www.youtube.com/watch?v=vKuwGLVw7ms">Glass</a>. Faking 3D is <a href="http://codeincomplete.com/posts/2012/6/22/javascript_racer/">not as difficult as it seems</a> (and it seems quite easy compared to teaching yourself OpenGL) and after a week or so of trying things I produced a rudimentary 3D effect</p>
<p><iframe class="vine-embed" src="https://vine.co/v/hYmHKuZe9wt/embed/postcard" width="620" height="620" frameborder="0" allowTransparency="true"></iframe><script async src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"></script></p>
<p>People immediately started saying it looked a bit like Sega&#8217;s <em>Space Harrier</em>, so I&#8217;ve kind of gone from there.</p>
<p><iframe class="vine-embed" src="https://vine.co/v/h3E7j5IPZtq/embed/postcard" width="620" height="620" frameborder="0" allowTransparency="true"></iframe></p>
<p>I&#8217;m not trying to make anything too fantastic &#8211; it took over a week of messing around to get the collision detection working so I&#8217;ve only got time left to add some enemies to shoot at and tidy up the user-interface, etc. No doubt I&#8217;ll come across some more bugs that absorb too much time.</p>
<p>I have a simple plan though &#8211; every day I at least do something. Yesterday I fixed collision detection, the day before I sorted out a small but irritating problem with the game not always being full-screen when you load it up. There&#8217;s always <em>something</em> to do. Some days I&#8217;ll be able to spend hours adding massive chunks of functionality to the game, other nights I&#8217;ll be incapable of creating a line of sane code but drawing a few terrible looking sprites is mindless enough to be doable. Today I&#8217;ve not had much time so I&#8217;m writing this.</p>
<p>Once the game is done I&#8217;ll do a small write-up about how it works. There&#8217;s some fun parts where I take a 2D game engine &#8211; HaxeFlixel &#8211; and carefully abuse it so I can draw &#8220;3D&#8221;. HaxeFlixel is a modern 2D game engine so really its underlying graphics routines create textured 2D shapes that are sent off to OpenGL for drawing. I love the idea that I&#8217;m making a 3D game in a 2D engine that itself uses 3D for drawing. Especially when you realise HaxeFlixel can <strong>only</strong> draw rectangular shapes and your only manipulations are to move them about the screen or scale them. It has similar feeling limits that the Sega Mastersystem version of SpaceHarrier clearly has.</p>
<p>Limits are good, they force you to be creative and to take shortcuts because the end is more important than the means. Bit like the competition itself.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Fake 3D Test 1</title>
		<link>http://error-success.piku.org.uk/2014/01/03/fake-3d-test-1/</link>
		<pubDate>Fri, 03 Jan 2014 09:34:16 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[#1gam]]></category>
		<category><![CDATA[3d]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=697</guid>
		<description><![CDATA[(maths came from http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/ )]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton697" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F03%2Ffake-3d-test-1%2F&amp;text=Fake%203D%20Test%201&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F03%2Ffake-3d-test-1%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><iframe class="vine-embed" src="https://vine.co/v/hYBQ3H0XYz6/embed/postcard" width="620" height="620" frameborder="0" allowTransparency="true"></iframe></p>
<p><span style="font-size: 14px; line-height: 1.5em;">(maths came from <a href="http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/">http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/</a> )</span></p>
]]></content:encoded>
			</item>
		<item>
		<title>2013 Review</title>
		<link>http://error-success.piku.org.uk/2014/01/01/2013-review/</link>
		<pubDate>Wed, 01 Jan 2014 19:27:29 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=636</guid>
		<description><![CDATA[Let&#8217;s look back at the last year and see what I did. Did I manage to meet those two simple goals from 2012&#8217;s review? No. Did I balls. Sold my [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton636" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F01%2F2013-review%2F&amp;text=2013%20Review&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2014%2F01%2F01%2F2013-review%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Let&#8217;s look back at the last year and see what I did. Did I manage to meet those two simple goals from <a href="http://error-success.piku.org.uk/2013/01/01/2012-review/">2012&#8217;s review?</a></p>
<p><span id="more-636"></span></p>
<p>No. Did I balls. Sold my iPad and bought a Nexus 7 instead though, then work gave me an iPad which I kept for about two months before giving back. Then I bought a Windows 8 tablet and a PS Vita. Some of my friends seemed to have fun doing that One Game A Month competition.</p>
<ul>
<li><a href="http://www.beercave.co.uk/">Mr Beerman created some fun games</a></li>
<li style="text-align: left;"><a href="http://jayenkai.socoder.net/">As did Jayenkai</a></li>
<li style="text-align: left;"><a href="http://www.tcksoft.co.uk/wordpress/">And Andy from TCKSoft has managed to consistently create 12 new games this year</a></li>
</ul>
<p>So after battling away with my game for a few months and moving house in February, and then spending most of March unpacking I decided <a href="http://error-success.piku.org.uk/2013/04/12/an-abrupt-change-of-direction/">&#8220;bugger it, I want to have fun too&#8221;</a>. I&#8217;m doing this gamedev stuff for fun, and spending hours working away on the same game for over a year doesn&#8217;t feel like fun. It feels like a job. That I&#8217;m not being paid for.</p>
<p>Bugger that, you&#8217;re daft if you&#8217;re going to waste years of your life on one single game that will be forgotten about after a week. Especially when you&#8217;re making it on iOS and have to play the tedious &#8220;Pay Apple £60 and constantly update XCode to support devices you don&#8217;t own and can&#8217;t afford&#8221; game.</p>
<p>No, sod that, the #1gam thing looks <em>fun</em>. One game, every month, short, simple&#8230; make things, stop farting around half-making things.</p>
<p>That&#8217;s what I&#8217;m doing this year. Last year I decided I wanted to find a simple, easy to use SDK of some sort that let me make games not tied to any particular device or operating system. I don&#8217;t want to be throwing away months of experience just because Apple, Google or whoever decide &#8220;Yeah, that thing you use? We&#8217;re upgrading it to version 6.66 and you need to buy some more hardware because yours isn&#8217;t good enough&#8221;.</p>
<p>So first I found <a href="http://www.monkeycoder.co.nz/">Monkey</a> which was the start of HTML 5 becoming good enough to make games in, and also the start of cross-platform dev environments. It was good, but the free version was limited to HTML 5 output only. Then I found a thing called NME that later turned into a thing called OpenFL (which Google consistently tries to correct to &#8220;OpenGL&#8221;). I also found the Flash game engine Flixel had been ported to it, resulting in the wonderful blend known as <a href="http://www.haxeflixel.org">HaxeFlixel</a>. And it&#8217;s really good.</p>
<p>So I set about learning how to use it. I didn&#8217;t manage 12 games in a year, but I did manage a good double-handful of games, game ideas and things-that-got-out-of-control. Enough that if you <a href="http://ncot.piku.org.uk">go to my other website</a> I actually have something to show for my efforts beyond a load of screenshots of the same thing.</p>
<p>So, this year&#8217;s aim?</p>
<p><a href="http://onegameamonth.com/"><img class="aligncenter size-full wp-image-637" alt="onegam" src="http://error-success.piku.org.uk/files/2013/12/onegam.png" width="600" height="84" srcset="http://error-success.piku.org.uk/files/2013/12/onegam.png 600w, http://error-success.piku.org.uk/files/2013/12/onegam-150x21.png 150w, http://error-success.piku.org.uk/files/2013/12/onegam-300x42.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a>Bonus points for making some of them good enough to be worth selling, even if all I make is 99p.</p>
<p>Can I do it? Who knows&#8230; we&#8217;ll see in 365 days time.</p>
<p>(PS: The date is a lie, it&#8217;s really the 20th of December, 19:50 and I&#8217;ve just finished work for two weeks)</p>
<p>&nbsp;</p>
]]></content:encoded>
			</item>
		<item>
		<title>TurboBlaze Iteration 3</title>
		<link>http://error-success.piku.org.uk/2013/11/23/turboblaze-iteration-3/</link>
		<pubDate>Sat, 23 Nov 2013 01:09:31 +0000</pubDate>
		<dc:creator><![CDATA[James]]></dc:creator>
				<category><![CDATA[Dev Diary]]></category>

		<guid isPermaLink="false">http://error-success.piku.org.uk/?p=628</guid>
		<description><![CDATA[This month&#8217;s 1Gam theme is &#8220;change&#8221;. I&#8217;m not currently taking part in that competition, but I&#8217;ll borrow their theme all the same 🙂 So there I was, merrily making some [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="tweetbutton628" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ferror-success.piku.org.uk%2F2013%2F11%2F23%2Fturboblaze-iteration-3%2F&amp;text=TurboBlaze%20Iteration%203&amp;related=pickoo&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ferror-success.piku.org.uk%2F2013%2F11%2F23%2Fturboblaze-iteration-3%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://error-success.piku.org.uk/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>This month&#8217;s 1Gam theme is &#8220;change&#8221;. I&#8217;m not currently taking part in that competition, but I&#8217;ll borrow their theme all the same <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><span id="more-628"></span></p>
<p>So there I was, merrily making some sort of shooter game, getting lots of exciting code written that lets me script enemy movements and AI without having to write loads of code. This ended up with me inventing my own mini scripting language, which was interesting, time consuming and quite fun.</p>
<p>Something wasn&#8217;t right though. I don&#8217;t think I want to make a shooter game, they get a bit samey after a few minutes of playing. There&#8217;s no surprises. Enemies move down the screen, you shoot them and try not to die &#8211; it&#8217;s a fairly well used pattern that&#8217;s worked for over 30 years. Nothing leaps out at you and makes the player go &#8220;argh!&#8221;, it&#8217;s like the appeal is the sameyness.</p>
<p>Then, on the way to work this morning, after discovering <a href="https://play.google.com/store/apps/details?id=com.tsotomedia.syobonaction">this little bastard had appeared on the Google Play Store</a> I had an idea.</p>
<p>My game doesn&#8217;t like you very much&#8230;</p>
<p>In fact it positively hates you&#8230; It wants you to lose and quit playing&#8230;</p>
<p>So far I&#8217;ve figured out 8 fun ways to <em>really piss you off</em> when playing. This is a short taster of the first idea <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="http://error-success.piku.org.uk/2013/11/23/turboblaze-iteration-3/"><em>Click here to view the embedded video.</em></a></p>
<p>After all, the point of playing a game against the computer is to beat the game. If I can make you quit in frustration, then the game has won <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			</item>
	</channel>
</rss>
