keyongtech


  keyongtech > ruby > 04/2007

 #1  
04-22-07, 10:43 AM
Wim Vander Schelden
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

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

Wim
 #2  
04-22-07, 05:32 PM
Wim Vander Schelden
On Sun, 22 Apr 2007 22:12:00 +0900
"Han Dao" <wikipediankiba> wrote:

> Why you're developing a game framework when there are already library for
> Ruby game development like Rubygame ([..]
>
> 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
 #3  
04-22-07, 05:39 PM
Guy Speier
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
 #4  
04-22-07, 05:40 PM
Gregory Brown
On 4/22/07, Han Dao <wikipediankiba> wrote:
> Why you're developing a game framework when there are already library for
> Ruby game development like Rubygame ([..]
>
> This is really a duplication of effort.


Perhaps this is why:
(from http://rubygame.sourceforge.net/info.html)
 #5  
04-22-07, 05:47 PM
Robert Dober
On 4/22/07, Guy Speier <guy> 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
[..]
 #6  
04-22-07, 06:28 PM
Phillip Gawlowski
Wim Vander Schelden 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 ;).
 #7  
04-22-07, 06:53 PM
Gregory Brown
On 4/22/07, Han Dao <wikipediankiba> 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.
 #8  
04-22-07, 09:03 PM
Charles Oliver Nutter
Phillip Gawlowski wrote:
> Wim Vander Schelden 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 ;).


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

- Charlie
 #9  
04-23-07, 02:05 AM
stoyan
On Apr 22, 6:43 pm, Wim Vander Schelden <wimvanderschel>
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: http://www.twin.ne.jp/~cyross/Miyako/ (site is in Japanese).
Maybe better collaborate.
 #10  
04-23-07, 02:46 AM
Harold Hausman
On 4/23/07, stoyan <stoyan> wrote:
> On Apr 22, 6:43 pm, Wim Vander Schelden <wimvanderschel>
> 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: [..] (site is in Japanese).
> Maybe better collaborate.
>>


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/

Regards,
-Harold
 #11  
04-26-07, 09:39 AM
Martin DeMello
On 4/23/07, Harold Hausman <hhausman> wrote:
>
> I haven't seen Ruby Gosu mentioned in this thread. The OP may also
> want to check it out:
> [..]


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
Similar Threads
Who is the gamer?

Any one like video games....on pc. Tell me when the assassin creed will be released on PC. and about new coming games.. Regards

Not a Gamer, but..

Hi; can someone explain to me why two video adaptors in a SLI configuration is better than one. I can understand the need for it among gamers, but what about desktop...

Gamer Tag

Hi Peeps, When I got to recover my Gamertag it says it doesnt exsist, I have deffo typed it in as it is on my old xbox inc caps. Any ideas? I am on a 12 month sub

GAmer TAG

Is it possible to get a new gamer tag with out getting a new subscription?Or may be reset the stats I got fore this one?! MRcallaway

New Gamer

Hi there. I've just recently gotten into gaming after rebuilding my system to be a lovely spec. and I'm wondering what would be the best gfx card to have for playing unreal...


All times are GMT. The time now is 04:07 AM. | Privacy Policy