{"author_name":"Corn\u00e9 Dorrestijn","cat":"LD #25","comments":[{"author_name":"","time":"December 17, 2012 10:13 am","epoch":1355757180,"text":"I tried to draw a standing goat in 8&#215;8 and also failed. Unfortunately, it would appear that you need at least 32 pixels on a side to capture that kind of majesty.","spam":"N"}],"epoch":1355754180,"likes":1,"metadata":{"p_key":"47708","p_author":"Corn\u00e9 Dorrestijn","p_authorkey":"505374","p_urlkey":"83373","p_title":"Wrong Love \u2013 Post Mortem","p_cat":"LD #25","p_event":"LD25","p_time":"1355754180","p_likes":"1","p_comments":"1","p_status":"UPD5","us_key":"505374","us_name":"Corn\u00e9 Dorrestijn","us_username":"Corn\u00e9 Dorrestijn","event_start":"1355443200","event_key":"14","event_name":"LD25"},"text":"<p>So this is my 6th ludum dare. And the first time I finished with the idea I started with. This time with the game Wrong Love. A game about a guy who&#8217;s goal is to steal all the goats on the world.<\/p>\n <p><img class=\"aligncenter\" alt=\"\" src=\"http:\/\/corne.testingserver.nl\/LD25\/guy.png\" width=\"249\" height=\"265\" \/><\/p>\n <p>&nbsp;<\/p>\n <p><strong>Tools<\/strong><\/p>\n <ul>\n <li>haXe<\/li>\n <li>FlashDevelop<\/li>\n <li>Paint.NET<\/li>\n <li>The GIMP<\/li>\n <li>BFXR<\/li>\n <li>autotracker-c (customized)<\/li>\n <\/ul>\n <p><strong>Programming<\/strong><\/p>\n <p>I&#8217;ve created my game using <a href=\"http:\/\/haxe.org\/\">haXe<\/a>, a multiplatform open-source programming language for flash. javascript, java, c#, c++ and what not. I used this language because I really like it and I know a lot about it. however there are a lot of library&#8217;s to make it more easy to create a game I\u00a0usually\u00a0don&#8217;t use those because I like to program everything to the last thing, so did I this time. One if the things I worked most on was the lightning and the guards.<\/p>\n <p><img class=\"alignnone size-thumbnail wp-image-213405\" style=\"float: right;margin-left: 10px\" alt=\"spikes\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/12\/spikes1-150x150.png\" width=\"150\" height=\"150\" \/><\/p>\n <p>I&#8217;ve had done the lightning before but how I did it before it wasn&#8217;t fast enough. This time I added a little trick to make it a lot faster and make it look even better\u00a0(it\u00a0actually isn&#8217;t).\u00a0\u00a0First I checked every 3 pixels if there was a wall, this way it showed some sort of spikes\u00a0of light in the walls.\u00a0I fixed this by making bigger steps and if it hit the wall do a amount of smaller steps back. this way it looked much smoother and also was faster. The second problem I had was the AI. It doesn&#8217;t have much of and AI. It just tries to follow the path. It is still not working very well and while creating levels I need to check if the guards are walking on a walkable spot. The guards also turn in 1 frame, so if a player is at that spot at the moment he will be caught instantly, not very fair.<\/p>\n <p><strong>What went right<\/strong><\/p>\n <ul>\n <li>Light<\/li>\n <li>Keeping my code pretty clean.<\/li>\n <li>Making it not too heavy for CPU.<\/li>\n <li>Found out why my maps weren&#8217;t working (old version of compiler compiled images 0x010101 darker :S)<\/li>\n <\/ul>\n <p><strong>What went wrong<\/strong><\/p>\n <ul>\n <li><span style=\"line-height: 13px\">Pathfinding<\/span><\/li>\n <li>Again no music that isn&#8217;t generated.<\/li>\n <li>Drawing a sleeping goat in a 16&#215;16 image.<\/li>\n <\/ul>\n <p>PLAY: <a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-25\/?action=preview&amp;uid=4506\">http:\/\/www.ludumdare.com\/compo\/ludum-dare-25\/?action=preview&amp;uid=4506<\/a><\/p>","time":"December 17th, 2012 9:23 am","title":"Wrong Love \u2013 Post Mortem"}