Game Development Reference
In-Depth Information
$
ruby 01-hello/hello_world.rb
You should see a neat small window with your message:
Hello World
See how easy that was? Now let's try to understand what just happened here.
as
320x240
window.
super
passed
width
,
height
and
fullscreen
initialization
parameters from
GameWindow
to
Gosu::Window
.
variable, providing
x
and
y
screen coordinates both equal to
10
, and
z
(depth) value equal
to 0.