{"assets":[],"author_link":"author\/nehmulos\/","author_name":"Nehmulos","cat":"LD #23","categories":["LD #23"],"comments":[],"epoch":1334850360,"event":"LD23","likes":4,"metadata":{"p_key":"76752","p_author":"Nehmulos","p_authorkey":"0","p_urlkey":"284588","p_title":"I\u2019m in for the first time!","p_cat":"LD #23","p_event":"LD23","p_time":"1334850360","p_likes":"4","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1334880000","event_key":"10","event_name":"LD23"},"source_url":"2012\/04\/19\/im-in-for-the-first-time-10\/","text":"<p>Hey ho, my first compo!<br\/>\nI never found the time to participate, but this time I just couldn\u2019t resist.<br\/>\nBeholding the holy number 23 I instantly dumped all my todos and appointments to lock myself into a stuff chamber.<\/p>\n<ul>\n<li><strong>code:<\/strong> javascript with <a href=\"http:\/\/cocos2d-javascript.org\/\">cocos2d-javascript<\/a><\/li>\n<li><strong>IDE:<\/strong> <a href=\"http:\/\/projects.gnome.org\/gedit\/\">gedit<\/a><\/li>\n<li><strong>Browser:<\/strong> Chromium 18<\/li>\n<li><strong>OS:<\/strong> Ubuntu 11.10<\/li>\n<li><strong>Sound:\u00a0<\/strong>microphone (*blup* *blup* *da da da*),\u00a0<a href=\"http:\/\/www.drpetter.se\/project_sfxr.html\">sfxr<\/a><\/li>\n<li><strong>Timelapse:<\/strong><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/04\/19\/my-linux-screencast-scripts\/\"> neosam scrips<\/a><\/li>\n<li><strong>graphics:<\/strong>\u00a0<a href=\"http:\/\/www.gimp.org\/\">gimp<\/a><\/li>\n<\/ul>\n<p>I\u2019m drawing with my laptop\u2019s touchpad that\u2019s worse than with a mouse.<br\/>\nI also have a wacom tablet but I see no reason to use it. I can\u2019t draw anyway.<\/p>\n<p><strong>WallOfText:<\/strong><\/p>\n<p>I just learned this week about cocos2d and have been trying to lern useing the<br\/>\n0.2.3 beta since wensday I figured out how to use box2d, draw sprites and handle<br\/>\nkeyboard input, what do I need more?<\/p>\n<p>A second library would be jquery. Maybe I\u2019m not going to use it at all, maybe<br\/>\nI\u2019m going to build the whole game in the DOM and screw cocos2d, let\u2019s see what<br\/>\ncomes into my mind once the final theme is announced.<\/p>\n<p>I\u2019m not sure how I\u2019ll do sound atm, but I hope that I figure something out<br\/>\nuntil the compo starts. Maybe I put &lt;audio&gt; tags into the doc and just trigger<br\/>\nthe play function. Creating an Audio(\u201cpath\u201d) object in js didn\u2019t work for me<br\/>\nwhen I tested it.<\/p>\n<p>I\u2019m going to use the following personal framework files:<br\/>\n<a href=\"http:\/\/pastebin.com\/3BB0Gaqy\" title=\"PhysicsNode.js code\"> PhysicsNode.js<\/a> (adds box2d Physics to a cocos2d.nodes.Node)<br\/>\n<a href=\"http:\/\/pastebin.com\/kvgga5ma\" title=\"Input.js code\"> Input.js<\/a> (stores pressed keys, maps strings to keys)<br\/>\n(may improve until the LD48 starts)<\/p>\n<p>\u00a0<\/p>\n<p><strong>Conclusion:<\/strong><br\/>\nI doubt that I\u2019m going to finish a playable game that could even be fun to play,<br\/>\nbut I just really want to use cocos2d and javascript. I\u2019ll probably hang myself on<br\/>\nsome horrendous box2d.js error and waste all my time trying to figure out how<br\/>\nto do *stuff* in cocos2d, but I\u2019m going to have fun anyway.<br\/>\nAnd if everything fails I can do a fast switch SFML2 on Saturaday moring.<\/p>\n<p>I couldn\u2019t decide on a cat so here are some brainfuck fractals:<\/p>\n<p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/04\/19\/im-in-for-the-first-time-10\/attachment\/1331650615709\/\" rel=\"attachment wp-att-116105\"><img alt=\"brainfuck fractals\" class=\"alignnone size-large wp-image-116105\" height=\"343\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/04\/1331650615709-550x343.gif\" width=\"550\"\/><\/a><\/p>","time":"April 19th, 2012 3:46 pm","title":"I\u2019m in for the first time!"}