{"author_name":"Ramuh","cat":"LD #22","comments":[],"epoch":1323898500,"likes":1,"metadata":{"p_key":"62792","p_author":"Ramuh","p_authorkey":"7391","p_urlkey":"98565","p_title":"All my base are belong to you","p_cat":"LD #22","p_event":"LD22","p_time":"1323898500","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"7391","us_name":"Ramuh","us_username":"ramuh","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<p>So i wanted to share my Codebase with you for something involving C\/C++.<\/p>\n <p>It is basically the same i used for my warm-up game, with a few tweaks and Box2D added in.<\/p>\n <p>Its nothing fancy, just basic Allegro setup, main loop, keyboard events, shutdown event.<\/p>\n <p>One neat feature is, you render into an Allegro Bitmap, which gets stretched onto the main display. This way, you don&#8217;t need to care about display size, the player can simply drag the window to whatever size he likes.<\/p>\n <p>You still have to setup your build environment to include allegro and box2d and link against it, but this shouldn&#8217;t be too much of an issue.<\/p>\n <p>So i hope you like it, or rather that it might help somebody building his or her game for the competition! Enjoy<\/p>\n <p>http:\/\/dl.dropbox.com\/u\/16050401\/BaseMain.cpp<\/p>","time":"December 14th, 2011 4:35 pm","title":"All my base are belong to you"}