# Ruby interface to Kyra sprite engine

**URL:** <https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886>\
**Category:** Ruby\
**Created:** [July 3, 2006, 6:51am UTC](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886 "2006-07-03T06:51:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smprather](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@smprather](https://www.ruby-forum.com/u/smprather)\
**Post date:** [July 3, 2006, 6:51am UTC](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886/1 "2006-07-03T06:51:54Z")

</div>

Hi ruby people–

First post! I’m thinking about writing a ruby wrapper for the Kyra  
sprite engine. Before I waste any time, can anyone think of a reason  
this can’t/shouldn’t be done? I looked at rubygame, but the author  
doesn’t seem to be interested in supporting Windows (my chosen dev  
platform).

BTW, I’ve never even used Kyra in C++ (and I never want to be resposible  
for coding another seg fault in my life), but it looks pretty  
impressive.

Any opinions?

Thanks!  
–Myles

---

<div class="post-metadata">

**Author:** ![smprather](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@smprather](https://www.ruby-forum.com/u/smprather)\
**Post date:** [July 3, 2006, 7:32am UTC](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886/2 "2006-07-03T07:32:09Z")

</div>

From: “Stephen P.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> First post! I’m thinking about writing a ruby wrapper for the Kyra  
> sprite engine. Before I waste any time, can anyone think of a reason  
> this can’t/shouldn’t be done? I looked at rubygame, but the author  
> doesn’t seem to be interested in supporting Windows (my chosen dev  
> platform).

Hi,

I’m not sure how Kyra[1] compares to Gosu[2], but they appear to be  
somewhat similar.

Gosu already has ruby bindings and runs under Windows, Mac OS X,  
and Linux.

Here’s a post from Florian G. about a game written in Ruby / Gosu,  
running on Win32 / OS X / Linux:  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/187832](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/187832)

Screenshot: [http://flgr.0x42.net/gdc72h-05/final.jpg](http://flgr.0x42.net/gdc72h-05/final.jpg)

Hope this helps,

Bill

[1] [Account Suspended](http://www.grinninglizard.com/kyra/)  
[2] [http://www.raschke.de/julian/gosu/](http://www.raschke.de/julian/gosu/)

---

<div class="post-metadata">

**Author:** ![smprather](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@smprather](https://www.ruby-forum.com/u/smprather)\
**Post date:** [July 4, 2006, 8:07am UTC](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886/3 "2006-07-04T08:07:52Z")

</div>

Bill K. wrote:

> From: “Stephen P.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> > First post! I’m thinking about writing a ruby wrapper for the Kyra  
> > sprite engine. Before I waste any time, can anyone think of a reason  
> > this can’t/shouldn’t be done? I looked at rubygame, but the author  
> > doesn’t seem to be interested in supporting Windows (my chosen dev  
> > platform).
> 
> Hi,
> 
> I’m not sure how Kyra[1] compares to Gosu[2], but they appear to be  
> somewhat similar.
> 
> Gosu already has ruby bindings and runs under Windows, Mac OS X,  
> and Linux.
> 
> Here’s a post from Florian G. about a game written in Ruby / Gosu,  
> running on Win32 / OS X / Linux:  
> [http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/187832](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/187832)
> 
> Screenshot: [http://flgr.0x42.net/gdc72h-05/final.jpg](http://flgr.0x42.net/gdc72h-05/final.jpg)
> 
> Hope this helps,
> 
> Bill

Hi Bill–

Thanks for the info. It doesn’t look like Gosu is as full featured as  
Kyra. Kyra also seems to be the popularity leader. And here’s the worst  
part, Kyra has a Python binding. So I now think a Ruby binding is  
mandated (and the Python binding is proof of concept). I think I’ll take  
a shot at it.

Thanks!  
–Myles
