{"author_name":"Urfoex","cat":"LD #27","comments":[],"epoch":1377563640,"likes":0,"metadata":{"p_key":"38359","p_author":"Urfoex","p_authorkey":"5888","p_urlkey":"73977","p_title":"Will you beat 10 seconds? \u2013 Done.","p_cat":"LD #27","p_event":"LD27","p_time":"1377563640","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"5888","us_name":"Urfoex","us_username":"urfoex","event_start":"1377216000","event_key":"18","event_name":"LD27"},"text":"<p>After 3 days finally something playable is done.<\/p>\n <p>And it somehow makes fun.<\/p>\n <p>Here it is: http:\/\/www.ludumdare.com\/compo\/ludum-dare-27\/?action=preview&amp;uid=5888<\/p>\n <p>&nbsp;<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/71.png\"><img class=\"alignnone size-medium wp-image-289521\" alt=\"7\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/71-300x180.png\" width=\"300\" height=\"180\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/71-300x180.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/71-550x330.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/71.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>I did a lot of backend work so there is not much to see. Just simple programmer art. Powered by gimp.<\/p>\n <p>The rules are simple:<\/p>\n <p>\u2192 You control the balls on top. Move them left and right. Trigger them to shoot balls down.<\/p>\n <p>\u2192 On the lower lane there are other balls spawning. Hit them!<\/p>\n <p>\u2192 You win when there is no ball left. You lose if the lane if full with balls.<\/p>\n <p>&nbsp;<\/p>\n <p>To crush the lower ones you need to hit them with the right color. Just the yellow ones can be destroyed by any of them.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/81.png\"><img class=\"alignnone size-medium wp-image-289526\" alt=\"8\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/81-300x180.png\" width=\"300\" height=\"180\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/81-300x180.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/81-550x330.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/81.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>The tricky part is more on the technical side. The game runs on a PC. Currently only on Linux. But you use your Android device to control the movements and shooting of your balls. Moving is done by rotating. Shooting by accelerating\/wobbling.<\/p>\n <p>&nbsp;<\/p>\n <p>What did I use:<\/p>\n <p>\u2192 gimp for creating awesome balls<\/p>\n <p>\u2192 C++, QML for coding<\/p>\n <p>\u2192 Qt + QML for Android controller<\/p>\n <p>\u2192 SDL2 + SDL_image + SDL_net +SDL_ttf for PC game<\/p>\n <p>\u2192 vim + qtcreator as IDEs<\/p>\n <p>\u2192 Debian Linux, Cyanogen Android as dev systems<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/91.png\"><img class=\"alignnone size-medium wp-image-289542\" alt=\"9\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/91-300x227.png\" width=\"300\" height=\"227\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/91-300x227.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/91-550x416.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/91.png 1276w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>What else?<\/p>\n <p>Lines: cpp: 1228 ||\u00a0 h:320\u00a0 ||\u00a0 qml: 508 || total: 2056<\/p>\n <p>&nbsp;<\/p>\n <p>Problems:<\/p>\n <p>\u2192 Vim plugin syntastic made some problems by automatic including wrong headers. Setting the right option helps a lot. Session plugin also wasn&#8217;t always doing what I want. Now it&#8217;s better.<\/p>\n <p>\u2192 SDL_net provides much less comfort then QtSockets. It&#8217;s very basic but it works. Documentation is OK for most things. But missing others (or I didn&#8217;t find them), like e.g. how to detect a disconnect, setting up a broadcast.<\/p>\n <p>\u2192 SDL_ttf can&#8217;t do multiline text <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>&nbsp;<\/p>\n <p>What did rock?<\/p>\n <p>\u2192 Vims autocomplete with clang_complete and error finding with syntastic<\/p>\n <p>\u2192 Learning working with sensors and network<\/p>\n <p>\u2192 Doing something with SDL2 and C++ again<\/p>\n <p>\u2192 Getting the high score ^__^<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/65.png\"><img class=\"alignnone size-medium wp-image-289635\" alt=\"6\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/65-300x180.png\" width=\"300\" height=\"180\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/65-300x180.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/65-550x330.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/65.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>So,<\/p>\n <p>have fun playing this and all other entries!<\/p>\n <p>&nbsp;<\/p>\n <p>&nbsp;<\/p>\n <p>PS: Could someone please provide a Windows &amp; Mac port of this one? (Maybe even an iOS version of the controller?)<\/p>\n <p>&nbsp;<\/p>\n <p>PPS: Got 72 seconds and 234 points. Anyone can beat it? Did anyone win? \ud83d\ude09<\/p>\n <p>&nbsp;<\/p>","time":"August 26th, 2013 7:34 pm","title":"Will you beat 10 seconds? \u2013 Done."}