Rubygame 3: Days 50 & 51

Still busy as busy. Clients popping up left and right, wanting new features or wanting the deadline moved up, or both. I also got a promotion, and with it extra responsibilities and things I have to take care of. I think things are starting to settle down now, but I'm pretty bushed.

I've been working on Rubygame 3 almost daily (except for this week) for about a month and a half. I've made a lot of progress, but there's still a lot to do. While it would have been nice to get a new Rubygame release out this month, I don't think that's going to happen.

I think I'm going to take the next week or so off from Rubygame, and start up again in April. I'll probably commit a few new revisions as inspiration strikes, but mostly it's time out.


Comments

Mitchell submitted a comment on #

Hey!

I’ve been reading your blog for a while, and I’m really looking forward to Rubygame 3.

I’ve got a question. How would I go about blurring a Surface? Would I have to use RMagick? Is it even possible to use RMagick?

sparkymat submitted a comment on #

Hey,

I have been trying to get RubyGame 2.2 working on Ruby 1.9. I am using a sandboxed version of Ruby 1.9 since I am not ready to abandon 1.8.6 yet :-) .. Ok, here’s the thing, I try to install it using

gem install rubygame-2.2.0-i586-linux.gem

I get the following error. rake RUBYARCHDIR=/home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/lib RUBYLIBDIR=/home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/lib rake aborted! uninitialized constant PLATFORM /home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/Rakefile:135:in `<top (required)>’ (See full trace by running task with –trace) (in /home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux)

sparkymat submitted a comment on #

** re-formatted **

Hey, I have been trying to get RubyGame 2.2 working on Ruby 1.9. I am using a sandboxed version of Ruby 1.9 since I am not ready to abandon 1.8.6 yet :-) ..

Ok, here’s the thing, I try to install it using —

gem install rubygame-2.2.0-i586-linux.gem

I get the following error.

rake RUBYARCHDIR=/home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/lib RUBYLIBDIR=/home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/lib

rake aborted! uninitialized constant PLATFORM /home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux/Rakefile:135:in `&lt;top (required)&gt;' (See full trace by running task with --trace) (in /home/max/ruby19/lib/ruby/gems/1.9.0/gems/rubygame-2.2.0-x86-linux)
sparkymat submitted a comment on #

grr…

why is comment formatting not working? :-(

sparkymat submitted a comment on #

ok.. not able to post comments with all the text formatted properly.. if you are unable to parse that :-) , drop me a mail @ max_payne@fastmail.fm

John Croisant submitted a comment on #

@sparkymat: Yeah, comments on this blog are a real pain to format. :\

But, I was able to understand your post. The problem is that Ruby 1.9 has removed or renamed the PLATFORM constant, which the Rubygame Rakefile uses to check what OS you’re running.

Try changing PLATFORM to RUBY_PLATFORM and see if that fixes anything.

John Croisant submitted a comment on #

@Mitchell: I’ve never tried integrating RMagick and Rubygame, although it sounds like a neat idea.

If you are feeling adventurous, Rubygame trunk in the source repository (what will become 3.0.0) has a Surface#from_string method which you could – theoretically – use to create a surface from RMagick data. It will probably be tough, though. Also check out Surface#pixels for getting pixel data out as a string.

Or, if you’re not feeling up to that, you could “fake” a blurring effect by zooming to a smaller size, then back to the original size. There’s a loss of image quality with each operation, so it gets blurrier and blurrier.

sparkymat submitted a comment on #

ok.. silly doubt…

i do a ‘rake’ in rubygame-2.2.0 folder

it says it can’t find ruby.h

how do I point it to my “~/ruby19/include/ruby-1.9.0/” folder?

John Croisant submitted a comment on #

@sparkymat: This isn’t a good place for extended discussion. Please send an email (including your original comment, my response, and your new question) to the rubygame-users mailing list. Thanks :)

Shawn Anderson submitted a comment on #

I am using rubygame on OS X for a few projects. I created a simple jeopardy clone (works great w/ the Wii controller as a remote). A friend w/ a mac wanted a copy and I have no idea of how to bundle a rubygame app into a mac .app

Has anyone played w/ this at all? I’d love to help w/ rubygame, if you need this role filled I will do it. But, if someone has already done this, it would make my life easier.

Great work on rubygame!

email me at shawn42 AT gmail dot com

Have something interesting to add to the discussion? Email your thoughtful comments to comments@rubygame.org.