Forum
I'm on osx. I tried without any luck. Can't even require gosu, I just get the error
TypeError: wrong argument type nil (expected Data)
This is with ruby-2.0.0-rc1
No rush though, just curious to see how the new garbage collector handles in my game.
Thank you for the answer!
Hi, will there be any support for gosu with Ruby 2.0?
Hi!
I recently made a gem that sets up a basic ruby/gosu game with some helper classes. Mostly for my own use when prototyping games I often create new projects, so I thought I might as well share it.
I call it
chobo
I haven't read up a lot on the GC in Ruby. But I have some experience with other frameworks and languages that use garbage collection. From what I have tried there are two ways to go with this:
1. Allocate everything up front, during load time. Use resource pooling instead of creating new objects all the time. The goal of this method is to not have the GC run at all.
2. Keep a simple heap, small amount on references to objects. The goal of this method is to make the GC take less time to run.
This would actually be pretty interesting. Would love to be able to release a linux version of my game too.
haha yeah I hear it is :P
Yeah, that's what I thought!
I was thinking more about users actually editing the code, which could cause.. well, strange things!
So Ruby is an interpreted language, no compilation. The code is there, right in the .app package (if you're on a mac).
Is there any way to protect your code, aside from using an obfuscator?
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill