{"author_name":"ippa","cat":"LD  #18 - Enemies as Weapons - 2010","comments":[],"epoch":1282182960,"likes":0,"metadata":{"p_key":"70297","p_author":"ippa","p_authorkey":"1087","p_urlkey":"106117","p_title":"Ruby\/Chingu \u2013 do more with less code.","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1282182960","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"1087","us_name":"ippa","us_username":"ippa","event_start":"1282262400","event_key":"4","event_name":"LD18"},"text":"<p>I&#8217;m doing Ruby this LD and I feel extatic. First off my ruby game framework Chingu [ <a href=\"http:\/\/github.com\/ippa\/chingu\">http:\/\/github.com\/ippa\/chingu<\/a> ]\u00a0has been making strides the last months. Tons of details have been polished and a lot of bugs fixed. Chingu now comes with a general editor in form of a game state.<\/p>\n <p>From inside your game, just:<\/p>\n <p><code> push_game_state(Chingu::GameStates::Edit.new)<\/code><\/p>\n <p>And your current game will be paused and the editor toolbar become visible. You can now move, rotate, delete, scale, modify zorder and fade any instance of class GameObject you have on the screen. Or put out new GameObjects of your choice from the icon toolbar.<\/p>\n <p>Here&#8217;s a quick &#8216;n dirty look at it: http:\/\/ippa.se\/videos\/holiday_droid_edit.avi (Yes, my screencast software borked up the colors). \u00a0That&#8217;s from my gameprotoype <a href=\"http:\/\/github.com\/ippa\/holiday_droid\">http:\/\/github.com\/ippa\/holiday_droid<\/a> .<\/p>\n <p>If you haven&#8217;t looked at Ruby for gamedev yet, now is the time, here&#8217;s 4 easy steps to get going on windows:<\/p>\n <p>1) <a href=\"http:\/\/rubyinstaller.org\/downloads\/\">http:\/\/rubyinstaller.org\/downloads\/<\/a> &#8211; install <a href=\"http:\/\/rubyforge.org\/frs\/download.php\/72075\/rubyinstaller-1.9.1-p430.exe\">Ruby 1.9.1-p430<\/a> or later.<\/p>\n <p>2) &#8220;gem install chingu&#8221; in your cmd\/&#8221;DOS&#8221; window<\/p>\n <p>3) see provided examples, check README @ <a href=\"http:\/\/github.com\/ippa\/chingu\">http:\/\/github.com\/ippa\/chingu<\/a><\/p>\n <p>4) Use\u00a0<a href=\"http:\/\/github.com\/larsch\/ocra\">http:\/\/github.com\/larsch\/ocra<\/a> to make standalone EXEs out of your rubyscripts<\/p>\n <p>Ruby is one of the most expressive langs out there. Give it a few days of your life and you&#8217;ll never look back =).<\/p>","time":"August 18th, 2010 8:56 pm","title":"Ruby\/Chingu \u2013 do more with less code."}