{"assets":[],"author_link":"author\/leafo\/","author_name":"leafo","cat":"LD #23","categories":["LD #23"],"comments":[],"epoch":1334918220,"event":"LD23","likes":6,"metadata":{"p_key":"78054","p_author":"leafo","p_authorkey":"0","p_urlkey":"287064","p_title":"I\u2019m in with MoonScript (again)","p_cat":"LD #23","p_event":"LD23","p_time":"1334918220","p_likes":"6","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\/20\/im-in-with-moonscript-again\/","text":"<p>Hello everyone!<\/p>\n<p>I\u2019m back for my second Ludum Dare and I couldn\u2019t be more excited. I learned a lot last time, finishing my first game called <a href=\"http:\/\/www.ludumdare.com\/compo\/2011\/12\/19\/volcanox\/\">Volcanox<\/a>. It was a great experiment for me because I wrote the game in my own programming language, <a href=\"http:\/\/moonscript.org\">MoonScript<\/a>.<\/p>\n<p><a href=\"http:\/\/moonscript.org\"><img alt=\"\" class=\"alignnone\" height=\"236\" src=\"http:\/\/leafo.net\/shotsnb\/2012-04-20_10-20-06.png\" width=\"278\"\/><\/a><\/p>\n<p>It was also very difficult because I was essentially started with nothing more than love2d. I spent a lot of time writing all \u00a0of the game foundations from scratch. This time around I\u2019m coming prepared. I extracted all the generic things I wrote for Volcanox (like collision detection, and rendering tiles) into a little library \u00a0called <a href=\"https:\/\/github.com\/leafo\/lovekit\">LoveKit<\/a>.<\/p>\n<p>I\u2019ve also got a few more tricks up my sleeve with LoveKit. I\u2019ve written a nifty piece of code to hot-load game code and images as I edit them. This means that as soon as I save some file the changes are\u00a0instantly\u00a0reflected in the game without having to restart anything. I haven\u2019t use this to make a game yet, but I think it will speed thing up considerably, I\u2019ll post an update about how well it\u2019s working once the comp has started.<\/p>\n<p>Follow me <a href=\"http:\/\/twitter.com\/moonscript\">on twitter<\/a> as I post updates!<\/p>\n<h2>The Tools<\/h2>\n<p><strong>Language:<\/strong>\u00a0<a href=\"http:\/\/moonscript.org\" title=\"MoonScript\">MoonScript<\/a>\u00a0(compiles to Lua)<br\/>\n<strong>Editor:<\/strong>\u00a0gvim<br\/>\n<strong>Framework:<\/strong>\u00a0L\u00d6VE<br\/>\n<strong>Library:<\/strong> <a href=\"https:\/\/github.com\/leafo\/lovekit\">LoveKit<\/a><br\/>\n<strong>Graphics:<\/strong>\u00a0GIMP<br\/>\n<strong>Music:<\/strong>\u00a0<a href=\"http:\/\/www.vintagesynth.com\/roland\/jv1010.php\">JV-1010<\/a>\u00a0and <a href=\"http:\/\/www.bossus.com\/gear\/productdetails.php?ProductId=1159\">Loop Station RC-3<\/a><br\/>\n<strong>Sounds:<\/strong>\u00a0as3sfxr and Audacity<\/p>\n<p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/love2d\/\" rel=\"tag\">love2d<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/moonscript\/\" rel=\"tag\">moonscript<\/a><\/p>","time":"April 20th, 2012 10:37 am","title":"I\u2019m in with MoonScript (again)","title_was_empty":false}