Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Chipmunk Demos, translated
- By philomory Date 2009-07-27 01:36
I've taken Scott Lembcke's Chipmunk Demos (which are included with the Chipmunk source), and translated them into Ruby, using Gosu for display (sort of). In their current state, they are uncommented source that doesn't actually do the drawing with Gosu directly, but instead uses only OpenGL (as do the original demos in C). As such, they're pretty good as Chipmunk demos (except for that 'no comments' thing), and do a passable job showing how to do with raw OpenGL what would be better done using Gosu::Image, but they're not exactly Gosu demos in the normal sense. At some point, thoguh, I'll be creating a branch which *does* use Gosu::Image for drawing.

Getting this code to run at all is fairly complex; the most problematic requirement is that you can't just download regular 'release' Chipmunk and use that. Instead, you must use Chipmunk's SVN Trunk, at least until Chipmunk 0.5 is released. You can see the README.txt file for more details (though, not *many* more details).

This is all pretty unpolished at the moment, but I figured it might be useful to someone. Have fun, or at least don't gouge your eyes out after looking at the code!

http://bitbucket.org/philomory/chipmunk-demos-ruby/
- By ippa Date 2009-08-09 21:21
This is so cool! Been waiting for advanced chipmunk ruby-examples like this.. just gotta spend some time getting them to run.

So when can we expect a chipmunk-powered game from you? :)
- By lobo_tuerto Date 2009-08-10 05:29
Nice, I might give Chipmunk a try again. Last time I couldn't compile from the svn source... was getting a strange error.
Up Topic Gosu / Gosu Showcase / Chipmunk Demos, translated

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill