Ruby Rogues cover image

Building Desktop and Mobile Video Games with DragonRuby with Amir Rajan - RUBY 572

Ruby Rogues

00:00

Dragon Movie - The Built in Physics Engine

Dragon Ruby does not have a built in physics engine. But any physics engine out there that is written in, does written in C and C++ can be integrated into Dragon Ruby as a foreign function interface. If you want to bring in chipmunk 2D or I don't, I think box 2D is Java, but chipmunk2D is my go to if you really want to do some crazy physics stuff,. The FFI is intrinsic to the entire language itself. And we've got a tool that will generate your bindings for you by hand. So instead of having to manually construct your Ruby using the MRuby API, it's possible to use just one command line option.

Play episode from 22:16
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app