Questions tagged [rubygame]

Rubygame is a portable Ruby library for video games, build on SDL.

18 questions
0
votes
1 answer

Rubygame: attempting to enable passing arguments to define game screen size

A rubygame tutorial has a basic screen creation section followed by an excersize to modify the code to allow passing command line arguments that define screen size. I was able to use google to cobble together something I thought would work: #!…
ac7v
  • 27
  • 4
-1
votes
1 answer

Why can't I run RubyGame?

I followed the instructions from the RubyGame wiki. Everything worked up until I tried to run the application: ruby a_rubygame_app.rb # => ruby: No such file or directory -- a_rubygame_app.rb (LoadError) What happened?
-1
votes
3 answers

Here is my code i am using ruby

it keeps on saying syntax error unexpected ' n' expecting :: [' or '.' and syntax error unexpected keyword_ensure expecting end-of-input. what is the problem with my code? require 'rubygems' require 'rubygame' class def initialize …
1
2