rob
February 3rd, 2006, 12:57 AM
I've installed Ruby SDL on my Fedora Core 4 install and all seems to be well with it, but our Nebular Gauntlet game isn't executing well. It dies after hitting Enter on Start in the menu, with this:
[robert@cloud trunk]$ ruby game.rb
Nebular Gauntlet Pre Alpha
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This program is licensed under the GPL
Graphics mode and drawing surface established.
Loading Config....
Loading Images....
Loading Fonts....
Creating Arrays....
Creating Variables....
Further messages, unless critical, will be found in the game console.
Press TAB to access the console.
./ship.rb:29:in `draw': undefined method `transformBlit' for SDL:Module (NoMethodError)
from game.rb:731:in `join'
from game.rb:731
from game.rb:731
I'm writing a guide on how to install RubySDL on Fedora and almost done, but I'd like to find out if my ruby-sdl install is causing the above problem, and see if anyone else has run across it.
I'll go ahead and post what I've done so far here:
yum install SDL_ttf-devel SDL_ttf freetype freetype-devel SDL SDL-devel smpeg smpeg-devel SDL_gfx SDL_image SDL_mixer SDL_image-devel SDL_gfx-devel SDL_mixer-devel SDL_net SDL_net-devel
cd /usr/src
wget http://www.kmc.gr.jp/~ohai/rubysdl/rubysdl-1.0.0.tar.gz
tar xfz rubysdl-1.0.0.tar.gz
cd rubysdl-1.0.0
ruby extconf.rb
make install
Anyone have any ideas?
[robert@cloud trunk]$ ruby game.rb
Nebular Gauntlet Pre Alpha
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This program is licensed under the GPL
Graphics mode and drawing surface established.
Loading Config....
Loading Images....
Loading Fonts....
Creating Arrays....
Creating Variables....
Further messages, unless critical, will be found in the game console.
Press TAB to access the console.
./ship.rb:29:in `draw': undefined method `transformBlit' for SDL:Module (NoMethodError)
from game.rb:731:in `join'
from game.rb:731
from game.rb:731
I'm writing a guide on how to install RubySDL on Fedora and almost done, but I'd like to find out if my ruby-sdl install is causing the above problem, and see if anyone else has run across it.
I'll go ahead and post what I've done so far here:
yum install SDL_ttf-devel SDL_ttf freetype freetype-devel SDL SDL-devel smpeg smpeg-devel SDL_gfx SDL_image SDL_mixer SDL_image-devel SDL_gfx-devel SDL_mixer-devel SDL_net SDL_net-devel
cd /usr/src
wget http://www.kmc.gr.jp/~ohai/rubysdl/rubysdl-1.0.0.tar.gz
tar xfz rubysdl-1.0.0.tar.gz
cd rubysdl-1.0.0
ruby extconf.rb
make install
Anyone have any ideas?