{"author_name":"Colapsydo","cat":"LD #26","comments":[{"author_name":"negativeview","time":"May 2, 2013 8:30 am","epoch":1367501400,"text":"I haven&#8217;t played the game (sorry! I&#8217;m at work) but from looking at the screenshot there&#8217;s one way you MIGHT be able to do it.","spam":"N"},{"author_name":"martijn","time":"May 2, 2013 8:52 am","epoch":1367502720,"text":"For the algorithm see below an example in python. In this case I choose to represent a rectangle with de x,y coordinates of its topleft corner and bottomright corner. rectangles are only valid if their topleft corner lies topleft of the rightbottom corner and can be checked if valid by calling valid().","spam":"N"}],"epoch":1367499840,"likes":3,"metadata":{"p_key":"42822","p_author":"Colapsydo","p_authorkey":"3984","p_urlkey":"78457","p_title":"Drimonna \u2013 Post mortem of a minimalist Starcraft","p_cat":"LD #26","p_event":"LD26","p_time":"1367499840","p_likes":"3","p_comments":"2","p_status":"UPD5","us_key":"3984","us_name":"Colapsydo","us_username":"colapsydo","event_start":"1366934400","event_key":"16","event_name":"LD26"},"text":"<p>This was my 3rd participation to the Ludum Dare, and until the end I wasn&#8217;t sure to submit something. Here are the key points of this weekend.<\/p>\n <p><strong>Background<\/strong>: On Friday I published a game called<a title=\"Laitida\" href=\"http:\/\/digilander.libero.it\/Colapsydo\/games\/1GAM\/04apr\/Laitida.html\" target=\"_blank\"> Laitida<\/a>, and I don&#8217;t know how it is for you, but finishing a\u00a0project\u00a0always put me down. So I wasn&#8217;t really motivated before the compo started.<\/p>\n <p><strong>Theme:<\/strong> Waow! Minimalism, this was a tough one. I know\u00a0nothing about minimalism in graphical art, surely a bit more in music, but I didn&#8217;t feel like I was able to make a good music game in one week end.\u00a0I wanted to use minimalism on an artistic point of view but also regarding the gameplay.<br \/>\n Lacking ideas, I\u00a0finally\u00a0googled &#8220;minimalism art&#8221;, and the first result was a Piet Mondrian&#8217;s frame. I guess Mondrian inspired a lot of participants this week end, which is funny when Mondrian seems to not even be a minimalist. Anyway, this separation of\u00a0colors made me think of a battlefield with units, warzones, fortifications. The idea seemed a good one.<\/p>\n <div id=\"attachment_254638\" style=\"width: 250px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ludumdare.com\/compo\/2013\/05\/02\/drimonna-post-mortem-of-a-minimalist-starcraft\/mondrian_1\/\" rel=\"attachment wp-att-254638\"><img class=\" wp-image-254638 \" alt=\"Can you see the battlefield ?\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/05\/mondrian_1-300x213.png\" width=\"240\" height=\"170\" \/><\/a><p class=\"wp-caption-text\">Can you see the battlefield ?<\/p><\/div>\n <p><strong>From scratch<\/strong>: Maybe one day, I will learn to be a good\u00a0developer\u00a0and stop wanting to write every single line of code.\u00a0Writing\u00a0everything gives you a complete freedom, but what a lack of time when you have to code GUI. Another advantage is that you think differently, you don&#8217;t ask yourself &#8220;what can I do with those tools?&#8221;, but &#8220;how can I shape my tools to do what I want?&#8221;. The problem is that you&#8217;re quickly trapped in unstable solution if you didn&#8217;t anticipate problems.<br \/>\n That&#8217;s what happened to me. I lost two hours trying to write an\u00a0algorithm\u00a0which\u00a0should give me the resulting rectangles of the intersection of two rectangles <em>(btw if someone has a solution, please tell me, I&#8217;m still looking for)<\/em>. I had to change a bit the gameplay since I wasn&#8217;t able to find an efficient solution.<\/p>\n <p><strong>A.I.<\/strong>: At the end of the first day, my prototype was ready and working, but only for two human players. I know that people usually don&#8217;t have the opportunity to play a game for two players, I definitively had to write an AI, even stupid, but something the lonely player could interact with. On\u00a0Sunday,\u00a0I started working on it, and I spent 6 hours. It was way too much. I should have stopped before, but a lot of small errors I made, resulted in a non working AI. Still in the compo version, the AI is buggy but at least, it acts like an opponent.<\/p>\n <p><strong>Tutorial<\/strong>: Even if the game is pretty simple, the rules are not straight forward, and without any explanations people doesn&#8217;t catch it. Hence the tutorial was an obligation. Therefore I decided to use the\u00a0remaining\u00a0time to work on this important point and sacrifice all other ideas.<\/p>\n <p><strong>M.I.A.<\/strong>: Since I lost a lot of time on the AI and I decided to choose the tutorial over the rest, some points are missing. I wanted to enhance the graphics, use some small animations to facilitate the understanding of the action, allow the player to save a picture of the final battlefield as a resulting minimalist frame, and finally add some ambient minimalist soundtrack.<\/p>\n <div style=\"width: 297px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-26\/?action=preview&amp;uid=3984\"><img class=\"   \" alt=\"\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/04\/screen033.png\" width=\"287\" height=\"213\" \/><\/a><p class=\"wp-caption-text\">Play Drimonna, a minimalist strategy game.<\/p><\/div>\n <p><strong>tl;dr<\/strong>: I wasn&#8217;t really in the mood for this LD. I got inspired by Mondrian and decide to make a minimalist strategy game. I lost ~10 hours over 23, on algorithm issues. I\u00a0finally\u00a0decided to\u00a0prioritize the tutorial over polishing, sounds and extra features. As usual LD was a great experience which\u00a0taught me a lot.<\/p>\n <p style=\"text-align: center\"><strong><a title=\"Drimonna\" href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-26\/?action=preview&amp;uid=3984\" target=\"_blank\">Click here to play Drimonna !<\/a><\/strong><\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/post-mortem\/\" rel=\"tag\">post-mortem<\/a><\/p>","time":"May 2nd, 2013 8:04 am","title":"Drimonna \u2013 Post mortem of a minimalist Starcraft"}