{"author_name":"Humanoid","cat":"LD #32","comments":[],"epoch":1429402020,"likes":0,"metadata":{"p_key":"19229","p_author":"Humanoid","p_authorkey":"10961","p_urlkey":"54554","p_title":"My first first day","p_cat":"LD #32","p_event":"LD32","p_time":"1429402020","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"10961","us_name":"Humanoid","us_username":"humanoid","event_start":"1429228800","event_key":"27","event_name":"LD32"},"text":"<p>So this is my first time writing a game for ludum dare. It&#8217;s also my first time in a long time using HTML Canvases to draw in two dimensions.<\/p>\n <p>After I woke up three hours later than planned I pretty quickly had my game idea pinned down: it&#8217;ll be some sort of 2D puzzler, where you can fire a death wave, which will kill all enemies. Except those behind special walls, that protect them from the wave.<\/p>\n <p>After breakfast I started building basic game stuff, players and enemies and walls and collisions and all that goodness. After dinner I was finished with the rudimentary basics, so I started with adding an animation for the death blast\/wave\/whatever-I&#8217;ll-end-up-calling-it. And then I learned that you have to manually invert in canvases. So I did that. It&#8217;s a bit slower than I hoped, but it works. Then I added the death-proof walls. Which turned out to be the biggest challenge as of yet, because I had to do line tracing to determine, if an enemy was save or not. If I was a bit less tired, I probably wouldn&#8217;t have screwed up the algorythm that bad, but it works now, so where&#8217;s the problem&#8230; Finally I added shadows for those special walls, so you can visually see, when an enemy is safe(-ish). Which is the messiest part of my code. Due to me, being tired and not wanting to think about some math problems. But again, it works now, so where&#8217;s the problem&#8230; Before I go to bed a GIF of the full content of my game:<\/p>\n <p><a href=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/04\/ld1.gif\"><img class=\" wp-image-449680 size-full aligncenter\" src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/04\/ld1.gif\" alt=\"ld1\" width=\"550\" height=\"366\" \/><\/a><\/p>","time":"April 18th, 2015 7:07 pm","title":"My first first day"}