Developing Games With Ruby Sample
Developing Games With Ruby Sample
Tomas Varaneckas
This book is for sale at http://leanpub.com/developing-games-with-ruby
This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing
process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and
many iterations to get reader feedback, pivot until you have the right book and build traction once
you do.
Why Ruby? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Graphics
To begin with, we need to know what kind of graphics we are aiming for. We will instantly rule out
3D for several reasons:
Now, we have to swallow our pride and accept the fact that the game will have simple 2D graphics.
There are three choices to go for:
• Parallel Projection
• Top Down
• Side-Scrolling
Parallel Projection (think Fallout 1 & 2) is pretty close to 3D graphics, it requires detailed art if you
want it to look decent, so we would have a rough start if we went for it.
Top Down view (old titles of Legend of Zelda) offers plenty of freedom to explore the environment
in all directions and requires less graphical detail, since things look simpler from above.
Side Scrolling games (Super Mario Bros.) usually involve some physics related to jumping and
require more effort to look good. Feeling of exploration is limited, since you usually move from
left to right most of the time.
Going with Top Down view will give us a chance to create our game world as open for exploration
as possible, while having simple graphics and movement mechanics. Sounds like the best choice for
us.
Since you are probably as bad in drawing things as I am, you could still wonder how we are going
to get our graphics. Thankfully, there is this opengameart.org⁷. It’s like GitHub of game media, we
will surely find something there. It also contains audio samples and tracks.
⁷http://opengameart.org
What Are We Going To Build? 5
We will use a subset of these gorgeous graphics¹² which are available on opengameart.org¹³,
generously provided by Csaba Felvegi¹⁴.
¹²http://www.praire-chicken.com/chabull/tr.html
¹³http://opengameart.org/users/chabull
¹⁴https://www.google.com/search?q=Csaba+Felvegi