Re: [MacRuby-devel] MacRuby and Cocos2D

2011-01-14 Thread Rolando Abarca
Right, I added the -fobjc-gc flag. I'll check the docs and try to update the framework. Thanks! On Thu, Jan 13, 2011 at 10:51 PM, Laurent Sansonetti wrote: > Hi Rolando, > You shouldn't need to retain the objects as instance variables to keep them > from premature garbage collection. In this case

Re: [MacRuby-devel] MacRuby and Cocos2D

2011-01-13 Thread Laurent Sansonetti
Hi Rolando, You shouldn't need to retain the objects as instance variables to keep them from premature garbage collection. In this case, I assume that the Cocos2D framework has been built with -fobjc-gc (otherwise you would get a link error at runtime), but that it's not fully compatible with t

[MacRuby-devel] MacRuby and Cocos2D

2011-01-13 Thread Rolando Abarca
hi all, I'm having some fun with Cocos2D[1] Mac Version and MacRuby. Some time ago I wrote ruby bindings for the iPhone version[2], but MacRuby makes those bindings unnecessary (at least for mac). So far everything works great! The only problem I'm having so far is in cases like this: {{{ some_no