Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | #ludumdare on irc.afternet.org (Info)

Thanks for making Ludum Dare 26 AWESOME! See you in August!

Ludum Dare 26 — April 26-29th, 2013
[ Results: Top 100 Compo, Jam | Top 25 Categories | View My Entry ]
[ View All 2346 Games (Compo Only, Jam Only) | Warmup ]

[ 10 Sec Video Compilation (x3) | 260 Game Video Compilation | IndieCade Deal | Ludum Deals (Unity Deal Ends Soon!) ]


Ruby/Chingu – do more with less code.

Posted by
August 18th, 2010 8:56 pm

I’m doing Ruby this LD and I feel extatic. First off my ruby game framework Chingu [ http://github.com/ippa/chingu ] has 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.

From inside your game, just:

push_game_state(Chingu::GameStates::Edit.new)

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.

Here’s a quick ‘n dirty look at it: http://ippa.se/videos/holiday_droid_edit.avi (Yes, my screencast software borked up the colors).  That’s from my gameprotoype http://github.com/ippa/holiday_droid .

If you haven’t looked at Ruby for gamedev yet, now is the time, here’s 4 easy steps to get going on windows:

1) http://rubyinstaller.org/downloads/ – install Ruby 1.9.1-p430 or later.

2) “gem install chingu” in your cmd/”DOS” window

3) see provided examples, check README @ http://github.com/ippa/chingu

4) Use http://github.com/larsch/ocra to make standalone EXEs out of your rubyscripts

Ruby is one of the most expressive langs out there. Give it a few days of your life and you’ll never look back =).

Leave a Reply

You must be logged in to post a comment.


All posts, images, and comments are owned by their creators.

[cache: storing page]