{"author_name":"chunkyguy","cat":"LD #24","comments":[],"epoch":1346016720,"likes":3,"metadata":{"p_key":"52235","p_author":"chunkyguy","p_authorkey":"10887","p_urlkey":"87934","p_title":"Been there done that!","p_cat":"LD #24","p_event":"LD24","p_time":"1346016720","p_likes":"3","p_comments":"0","p_status":"UPD5","us_key":"10887","us_name":"chunkyguy","us_username":"chunkyguy","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p>I haven&#8217;t slept properly for last 48 hours, and I&#8217;m just realizing that the weekend is over for real <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>This was my first LudumDare, and I&#8217;m quite satisfied with myself that I made the game. YeaH!!<\/p>\n <p>I started out with a game where there would be millions of species living and fighting for survival, and here is the snapshot of it:<\/p>\n <p>&nbsp;<\/p>\n <div id=\"attachment_172886\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/08\/26\/been-there-done-that\/screen-shot-2012-08-25-at-12-03-20-pm-2\/\" rel=\"attachment wp-att-172886\"><img class=\"size-large wp-image-172886\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/Screen-Shot-2012-08-25-at-12.03.20-PM1-550x442.png\" alt=\"\" width=\"550\" height=\"442\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/Screen-Shot-2012-08-25-at-12.03.20-PM1-300x241.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/Screen-Shot-2012-08-25-at-12.03.20-PM1-550x442.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/Screen-Shot-2012-08-25-at-12.03.20-PM1.png 914w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><p class=\"wp-caption-text\">The game that just didn&#8217;t work<\/p><\/div>\n <p>You see each block represents an organism. And then there was this algorithm that each organism was just to reproduce. The chances of reproduction was based on three core factors: The attractiveness, the reachability and the force of nature <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>You can guess a lot just by looking at the statistics being displayed at bottom.<\/p>\n <p>But, sooner I realized that this game was a shit, there was nothing for you to play in it. It was more like watching Discovery channel.<\/p>\n <p>So, I just simply carped it out and went to sleep. I woke at least 3 times at night brainstorming some idea for &#8216;Evolution&#8217;. At one point I even googled the word &#8216;Evolution&#8217; to get some idea. But everywhere were the parody of that ape-to-man image.<\/p>\n <p>Then, I finally decided to make this another game, where we play the role of God on some creatures of some world.<\/p>\n <p>The idea seemed awesome to me. The job of God was decided to be The Natural Selector, to avoid congestion and\/or extinction.<\/p>\n <p>At the beginning, there were infinite organisms of random species. Each one had its own skin color. Then I thought of doing something more simpler. Why not just create 5 species, with each species having a square shape. I even thought of one species eating other one when they collide, but I was getting too lazy and too late to do any heavy computational work.<\/p>\n <p>From then on I just did cropping of ideas, making it more and more simpler. Settling with just 5 species having a color code. Each one splitting into 2-3 at the end of its lifetime.<\/p>\n <p>The I worked on adding a single bullet, when you fired you had to wait for it to cross the screen &#8211; the reload time. But while testing, many times I just wish I had more bullets. Bombarding the world seemed quite interesting.<\/p>\n <p>But, that added one more bug, now a user could just close the eyes nuke the world. So I decided to keep a count of bullets, like if you fire something more than 1000 bullets you loose, and then to like if you fire 10 bullets within a minute you loose. But still nothing could hold me from shooting on the screen.<\/p>\n <p>So, I added the logic if at any given time you make a species extinct by killing everyone you loose and that made a lot of sense.<\/p>\n <p>And with that implemented, the game was done. I was about to post it when I realized that I hadn&#8217;t added sounds to it. And I wasn&#8217;t even sure if SFML supported the sound format sfxr exported to. They had nothing mentioned in the documentation, I went to the header file and\u00a0 there was that awesome comment about all the formats supported and I was quite relived to see the wav format.<\/p>\n <p>And, while I&#8217;m writing about the music and sound I just realize that I forgot to release the Music objects. But, I&#8217;m not going to fix it now. I&#8217;m too tired, and that wont be a big problem as those objects are always alive, they die and become zombie when the program quits..<\/p>\n <p>&nbsp;<\/p>\n <p>And, that&#8217;s it I think. First Ludum Dare awesome. I guess from now on I will participate everytime. I learned a hell lot of things. I made a Mac game for the first time. I used so much C++ for the first time, I used so much SFML for the first time, I made a game in few hours for the first time. There are so many first times. Awesome experience, thank you Ludum Dare.<\/p>\n <p>And, if you&#8217;re reading still to this point <a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-24\/?action=preview&amp;uid=10887\">please go and check out my game, code or snapshots.<\/a> Snapshots were the hardest thing to take, as any key press resulted in going into the game. I had to comment some code and rewrite some just to take screenshots of the launch and the game over screen.<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/postmortem\/\" rel=\"tag\">postmortem<\/a><\/p>","time":"August 26th, 2012 4:32 pm","title":"Been there done that!"}