# GameR 0.2 is out

**URL:** <https://www.ruby-forum.com/t/gamer-0-2-is-out/92643>\
**Category:** Ruby\
**Created:** [April 22, 2007, 11:44am UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643 "2007-04-22T11:44:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 11:44am UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/1 "2007-04-22T11:44:42Z")

</div>

I’ve released GameR, a small and simple game development framework for  
Ruby.  
Currently, it can do pretty much anything except for sound output.  
Features  
include a Timer class, graphics output, event handling and image  
support.

I’m currently focusing on adding documentation, writing a JRuby port of  
the  
framework which should be 100% source compatible with the normal Ruby  
version,  
and audio support. I’m also thinking about an easy way to store the  
keycodes for  
easy and readable keypress event handling.

For now, development is progressing slowly because of the excessive  
amount of  
work for school I have left, but I’m planning on having a 1.0 release by  
the end  
of August.

Any suggestions are very welcome.

You can get the source code at:

[http://gamer.homeunix.org](http://gamer.homeunix.org)

Binaries are unavailable right now, but I’ll compile Windows and Java  
binaries for  
the next release.

Wim

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/2 "2007-04-22T18:34:23Z")

</div>

On Sun, 22 Apr 2007 22:12:00 +0900  
“Han D.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Why you’re developing a game framework when there are already library for  
> Ruby game development like Rubygame ([http://rubygame.sourceforge.net](http://rubygame.sourceforge.net))?
> 
> This is really a duplication of effort.

Thanks, now I have to face en existential crisis. I wasn’t aware of  
rubygame, so  
now I’m going to think about whether I’m going to continue my project or  
abandon it  
and port rubygame to JRuby.

Wim

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 3:13pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/3 "2007-04-22T15:13:00Z")

</div>

Why you’re developing a game framework when there are already library  
for  
Ruby game development like Rubygame ([http://rubygame.sourceforge.net](http://rubygame.sourceforge.net))?

This is really a duplication of effort.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/4 "2007-04-22T18:40:24Z")

</div>

Hello,

Can you tell me what this line:  
configuration.frameworks.each { |framework| require(framework.to\_s) }

is doing? I see that it reqiures “framework.to\_s” … I don’t think  
it’s a  
file. If its a variable, how cna I see it’s content?

thanks,  
Guy

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/5 "2007-04-22T18:41:24Z")

</div>

On 4/22/07, Han D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Why you’re developing a game framework when there are already library for  
> Ruby game development like Rubygame ([http://rubygame.sourceforge.net](http://rubygame.sourceforge.net))?
> 
> This is really a duplication of effort.

## Perhaps this is why: (from [Status Update](http://rubygame.sourceforge.net/info.html))

Is rubygame development active?

In theory: yes. In practice: no, not really. Rubygame hasn’t been  
abandoned, but its author is desperately unmotivated (for a variety of  
reasons). As a result, development is somewhat stagnant.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/6 "2007-04-22T18:47:25Z")

</div>

On 4/22/07, Guy S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> Can you tell me what this line:  
> configuration.frameworks.each { |framework| require(framework.to\_s) }
> 
> is doing? I see that it reqiures “framework.to\_s” … I don’t think it’s a  
> file. If its a variable, how cna I see it’s content?  
> require works with strings, instead of saying  
> require ‘mylib’  
> you could of course say  
> m = ‘mylib’  
> require m

To answer your second question:  
puts configuration.frameworks.map{ |fr| fr.inspect}.join(“\n”)  
might come in handy.

HTH  
Robert

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/7 "2007-04-22T19:37:28Z")

</div>

Actually, there is already a new version of Rubygame released and is  
active  
very recently. See the Rubygame annouce mailing list archive, you will  
see  
the author just released a new version a few days ago.

It already attracted a few active developers working on Rubygame.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/8 "2007-04-22T19:54:29Z")

</div>

On 4/22/07, Han D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Actually, there is already a new version of Rubygame released and is active  
> very recently. See the Rubygame annouce mailing list archive, you will see  
> the author just released a new version a few days ago.
> 
> It already attracted a few active developers working on Rubygame.

Maybe this part of the infopage should be removed then.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/9 "2007-04-22T19:29:27Z")

</div>

Wim Vander S. wrote:

> Thanks, now I have to face en existential crisis. I wasn’t aware of rubygame, so  
> now I’m going to think about whether I’m going to continue my project or abandon it  
> and port rubygame to JRuby.

Why? If it’s fun for you, to do it, keep going. Besides, competition is  
good, and I’m sure your framework can (and will) have different  
strengths to rubygame, as there is no “one size fits all” in software  
(otherwise, all games would use only one game engine, for example ;).

–  
Phillip “CynicalRyan” Gawlowski  
[http://cynicalryan.110mb.com/](http://cynicalryan.110mb.com/)  
[http://clothred.rubyforge.org](http://clothred.rubyforge.org)

Rule of Open-Source Programming #13:

Your first release can always be improved upon.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 22, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/10 "2007-04-22T22:04:41Z")

</div>

Phillip G. wrote:

> good, and I’m sure your framework can (and will) have different  
> strengths to rubygame, as there is no “one size fits all” in software  
> (otherwise, all games would use only one game engine, for example ;).

Absolutely agree. Do your own thing, the way you want.

- Charlie

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 23, 2007, 3:11am UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/11 "2007-04-23T03:11:12Z")

</div>

On Apr 22, 6:43 pm, Wim Vander S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I’ve released GameR, a small and simple game development framework for Ruby.  
> Currently, it can do pretty much anything except for sound output. Features  
> include a Timer class, graphics output, event handling and image support.

There is already pretty good game development in Ruby framework -  
Miyako: [twin.ne.jp](http://www.twin.ne.jp/~cyross/Miyako/) (site is in Japanese).  
Maybe better collaborate.

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 23, 2007, 3:48am UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/12 "2007-04-23T03:48:15Z")

</div>

On 4/23/07, stoyan [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

I haven’t seen Ruby Gosu mentioned in this thread. The OP may also  
want to check it out:  
[http://raa.ruby-lang.org/project/ruby-gosu/](http://raa.ruby-lang.org/project/ruby-gosu/)

Regards,  
-Harold

---

<div class="post-metadata">

**Author:** ![Wim\_Vander\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/13edae/32.png) [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Post date:** [April 26, 2007, 10:40am UTC](https://www.ruby-forum.com/t/gamer-0-2-is-out/92643/13 "2007-04-26T10:40:26Z")

</div>

On 4/23/07, Harold H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I haven’t seen Ruby Gosu mentioned in this thread. The OP may also  
> want to check it out:  
> [http://raa.ruby-lang.org/project/ruby-gosu/](http://raa.ruby-lang.org/project/ruby-gosu/)

Gosu is very pleasant to work with, but has (or had, as of a few  
months ago) a bug that causes random segfaults under linux.

martin
