[MacRuby-devel] Ruby/SDL bindings with MacRuby (Cocoa?)

Timothy McDowell tmcdowell at gmail.com
Sun Feb 15 08:54:37 PST 2009


Awesome, thanks. I'll take a look at those.
Hrm, how do I download from you're iDisk?

On Sun, Feb 15, 2009 at 12:37 AM, John Shea <johnmacshea at gmail.com> wrote:

> Hi Timothy,
>
> I have converted Tim Burks RubyRocks - a simple Asteroids game to MacRuby -
> with NSViews and another version to use OpenGL.
> The OpenGL version has some ObjC code to get access to pixels.
>
> They are at johmacshea.org - which bounces to my idisk while I am on
> holidays - in the MacRuby/Game Related.
>
> In the Hillegas directory on the same site there is a MacRuby example that
> uses CoreAnimation - called Polynomials - I don't think its however
> appropriate to write action games in - or at least not initially as easy as
> other possibilities - though i would be happy to see someone prove me wrong
> - since in some ways it would be easier than OpenGL .
>
> Let me know if you have any issues getting them running.
> Cheers
> John
>
>
> On Feb 15, 2009, at 7:06 AM, Laurent Sansonetti wrote:
>
>  Timothy,
>>
>> I don't think that the Ruby/SDL bindings can be used today inside MacRuby.
>> The extensions mechanism still suffers from problems.
>>
>> While I'm not a Quartz expert I am pretty sure you can replace Ruby/SDL by
>> pure Mac OS X APIs, with as Quartz but also CoreImage, CoreAudio,
>> CoreAnimation, OpenGL (which can be called from MacRuby), etc. Now it
>> depends if you want to write cross-platform code.
>>
>> HTH,
>> Laurent
>>
>> On Feb 14, 2009, at 9:35 PM, Timothy McDowell wrote:
>>
>>  Is it possible for me to use the Ruby/SDL bindings with MacRuby/Cocoa?
>>> Also, can Quartz handle movement of sprites (gifs, pngs, jpgs?) and the
>>> like? Would Quartz be just fine for game development?
>>>
>>> --
>>> --Timothy.
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>



-- 
--Brains.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090215/0abf3e91/attachment.html>


More information about the MacRuby-devel mailing list