{"author_name":"stuckie","cat":"LD #11 - Minimalist - 2008","comments":[{"author_name":"saluk","time":"April 22, 2008 6:18 am","epoch":1208863080,"text":"Looking forward to playing with this when you finish!","spam":"N"},{"author_name":"","time":"April 24, 2008 3:17 pm","epoch":1209068220,"text":"thanks for the post postmortem, I hope we all do one, they are fun\/interesting to read.","spam":"N"}],"epoch":1208856660,"likes":0,"metadata":{"p_key":"75025","p_author":"stuckie","p_authorkey":"267","p_urlkey":"110857","p_title":"Post Mortem of GEvOlve","p_cat":"LD #11 - Minimalist - 2008","p_event":"LD11","p_time":"1208856660","p_likes":"0","p_comments":"4","p_status":"UPD5","us_key":"267","us_name":"stuckie","us_username":"stuckie","event_start":"1208476800","event_key":"87","event_name":"LD11"},"text":"<p>Unfortunately, I couldn&#8217;t finish in time&#8230; in fact, it&#8217;s still not finished, but I&#8217;m aiming to have it finished by Friday ( and certainly by 2nd May as I&#8217;m using it for AI coursework now, and that&#8217;s when it&#8217;s due. )<\/p>\n <p>So, what went wrong?<\/p>\n <p><strong>Point One : <\/strong>My engine was a bit less useful than I had hoped.<br \/>\n It required ( and still does ) extensive amounts of work on to get something done, which scares me as I&#8217;ve been working on the engine for most of the year as my Honours Project, and there&#8217;s a hell of a lot of code in there, but to get it to do much game logic, it required a lot of work to the Entity classes and managers.<\/p>\n <p><strong>Point Two<\/strong> : The idea was a bit too ambitious.<br \/>\n The idea was that you&#8217;d &#8220;influence&#8221; the development of a community of shapes &#8211; the circles or squares. You couldn&#8217;t directly control them, but could assign them tasks from their basic pleb-like status to Attacker, Defender or Healer.<br \/>\n Plebs came in Male and Female forms, and hunted out the opposite gender to mate, increasing the population.<br \/>\n Attackers would actively seek out enemy units to attack.<br \/>\n Defenders would actively block enemy units that came near.<br \/>\n And finally, Healers would sacrifice their energy to top up every other unit&#8217;s energy.<br \/>\n Once given a task, they could not be influenced again.<br \/>\n Of course, this meant writing AI for each of these tasks as well as a CPU AI for the other player&#8230;<\/p>\n <p><strong>Point Three<\/strong> : Hardware Being Stupid<br \/>\n My laptop was being interesting and in the final two hours, it hard locked.<br \/>\n I would have been able to submit a basic version of it &#8211; with the Pleb AI running around and doing it&#8217;s thing &#8211; if my laptop hadn&#8217;t decided to bail on me in such a way that it wasn&#8217;t until half an hour AFTER the competition finished that I finally got the thing up and running again&#8230; by which point I was rather miffed at the thing and decided just to go to bed.<\/p>\n <p>But what went right?<br \/>\n <strong>Point One<\/strong> : GL Renderer implemented!<br \/>\n I met my goal for implementing the GL renderer to the engine. Course there&#8217;s not much configuration from script side as I was trying to get it done quick to use for LD11, but it&#8217;s there <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p><strong>Point Two<\/strong> : The Scripting actually WORKED!<br \/>\n This one is a biggie as it&#8217;s the whole point of the engine.. there was actually enough exposed to Lua to get the Pleb AI doing it&#8217;s thing. There was a downfall I noticed here in that the Lua-&gt;C Stack was getting severely hammered which caused devastating performance hits, but that&#8217;s somewhat straight forward to fix by getting Lua to handle more data by itself rather than asking the engine to do everything, and requesting co-ordinate data for every entity, every frame, multiple times.<\/p>\n <p>Although I didn&#8217;t get anything finished, I still managed to get a lot done in the time.. and I will be finishing the game off <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><br \/>\n At the moment, it&#8217;s interesting just to watch the Plebs run around and do their own thing.. Lua does sometimes freak out with the amount of data it&#8217;s having to shift, making some of them &#8220;explode&#8221; and move towards the camera, rather than hunt out another mate. And due to the rather standard C pseudo-random number generator, the majority of the Plebs congregate in the centre of the level somewhat, like a mass of worms.<\/p>\n <p>Well done to everyone that did get something finished in time!<br \/>\n It was amazing sitting in IRC and watching the blog as progress was made on everyone&#8217;s projects, and there looks to be a number of really interesting games coming from this.. unfortunately, mine wasn&#8217;t one of them, but I&#8217;ll be posting binaries and all source by the end of the week when it&#8217;s finally finished &#8211; just for anyone interested in what I got up to <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>","time":"April 22nd, 2008 4:31 am","title":"Post Mortem of GEvOlve"}