{"assets":[],"author_link":"author\/cawrtz\/","author_name":"Cawrtz","cat":"LD #28","categories":["LD #28"],"comments":[],"epoch":1388666940,"event":"LD28","likes":7,"metadata":{"p_key":"80933","p_author":"Cawrtz","p_authorkey":"0","p_urlkey":"290050","p_title":"\u201cHandle With Care\u201d post-mortem + level editor","p_cat":"LD #28","p_event":"LD28","p_time":"1388666940","p_likes":"7","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1386892800","event_key":"20","event_name":"LD28"},"source_url":"2014\/01\/02\/handle-with-care-post-mortem-level-editor\/","text":"<p>Hi everyone,<\/p>\n<p>this is my first attempt at Ludum Dare. I didn\u2019t want to join initially, I thought next time I would have more skills and I wanted to take a break the week end. However, I spent Friday evening thinking what I could do with the theme \u201cCorruption\u201d, which was likely to be the LD28 theme.\u00a0I woke up at 10AM, saw the official theme and I had this idea with the key that breaks when it falls.<\/p>\n<p>So, I decided to take part of this Ludum Dare anyway to see what I could do.<\/p>\n<p><strong>The game mechanics if you didn\u2019t play the game (<a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-28\/?action=preview&amp;uid=29641\" target=\"_blank\">you can try it here<\/a> !) : <\/strong>you get a crystal key in the first level. You need it to open the doors and go to the next level. But you only get one, so don\u2019t break it because if you fall from too high or get shot by a monster, it will break !<\/p>\n<div class=\"wp-caption alignnone\" style=\"width: 344px\"><img alt=\"\" height=\"230\" src=\"http:\/\/i.imgur.com\/XCVH9i4.png\" width=\"334\"\/><p class=\"wp-caption-text\">My precious<\/p><\/div>\n<p>\u00a0<\/p>\n<h3><strong>What went wrong<\/strong><\/h3>\n<ul>\n<li>Controls. They are inspired from Hammerfest (awesome game by Motion-Twin), but I remember how long it took me to get use to them. I\u2019ve played this game a lot, but it\u2019s not the case of everyone there. And, there is a weird bug with the keyboard I wasn\u2019t aware of: the up\/left\/space key combination doesn\u2019t work on most keyboards, but the\u00a0up\/right\/space does. This is a shame because a lot of people give up on the first levels, before the cool part of the game.<\/li>\n<li>Difficulty. I didn\u2019t have time to make a lot of levels, so I made them really difficult :D. I made enemies randomly shoot instead of using timers. I placed few checkpoints in difficult areas. I didn\u2019t realize how hard the game was because I tested every level at least 30 times to adjust them.<\/li>\n<li>The crappy end of the game. I could have made a story or a logical ending with a final use for the key, but I didn\u2019t have time and motivation to do it 3 hours before the deadline <img alt=\":(\" class=\"wp-smiley\" src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/icon_sad.gif\"\/><\/li>\n<li>The lags on Windows. Maybe an abusive use of <em>Math.random()<\/em> on the main loop.<\/li>\n<\/ul>\n<h3><strong>What went right<\/strong><\/h3>\n<ul>\n<li>The game engine. I made it from scratch in CoffeeScript so it compiles to JavaScript. I used HTML5\/Canvas so the game could run anywhere. It works very well except a few collision glitches (weird horizontal collisions with the borders of the map, and sometimes the key goes through the ground). I made it very quickly thanks to my numerous attempts at making platformers.<\/li>\n<\/ul>\n<div class=\"wp-caption alignnone\" style=\"width: 497px\"><img alt=\"\" class=\"\" height=\"367\" src=\"http:\/\/i.imgur.com\/Vm1NGak.png\" width=\"487\"\/><p class=\"wp-caption-text\">Testing the game engine\u2026<\/p><\/div>\n<ul>\n<li>The monsters. I\u2019m happy I took some time to create two kinds of enemies : archers make the player loose the key, and bombs\u00a0explodes it :p<\/li>\n<li>The pixel art? I didn\u2019t spend more than 4 hours on them. Really minimalist, but it seems people like them, so I\u2019m happy about that<\/li>\n<\/ul>\n<div class=\"wp-caption alignnone\" style=\"width: 319px\"><img alt=\"\" height=\"128\" src=\"http:\/\/i.imgur.com\/0R5fh4c.png\" width=\"309\"\/><p class=\"wp-caption-text\">3, 2, 1\u2026.<\/p><\/div>\n<ul>\n<li>It worked really well for my first Ludum Dare with amateur programming skills.<\/li>\n<\/ul>\n<p>So anyway, I had a lot of fun making this game. I\u2019m sure I will join as many LD as I can now <img alt=\":)\" class=\"wp-smiley\" src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/icon_smile.gif\"\/><\/p>\n<h2><strong>Bonus post-compo: level editor<\/strong><\/h2>\n<p>With this ugly level editor, you can create your own levels and play them<\/p>\n<div class=\"wp-caption alignnone\" style=\"width: 586px\"><img alt=\"\" height=\"297\" src=\"http:\/\/i.imgur.com\/Ykg5FF2.png\" width=\"576\"\/><p class=\"wp-caption-text\">Level editor<\/p><\/div>\n<h2><a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-28\/?action=preview&amp;uid=29641\" target=\"_blank\">Entry<\/a> \u2013 <a href=\"http:\/\/yann-p.fr\/ld28\/postld\/editor.html\" target=\"_blank\">Level editor<\/a><\/h2>\n<p>Thanks for reading, and happy new year everyone !<\/p>\n<p><span style=\"color: #999999\"><em>Sorry if this post is full of grammar mistakes or awkward formulations,\u00a0I don\u2019t speak English fluently :\/<\/em><\/span><\/p>","time":"January 2nd, 2014 12:49 pm","title":"\u201cHandle With Care\u201d post-mortem + level editor","title_was_empty":false}