Making Games with Ruby

This is the list of episodes for the Making Games with Ruby series:

(I’ve decided to write the entire series before I produce any more videos. If you don’t want to wait for the videos, you can read what I’ve written so far at http://devel.manwithcode.com/making-games-with-ruby.html )

Core

Ep. 1 – Intro
Ep. 2 – Setup
Ep. 3 – Basics
Ep. 4 – Drawing
Ep. 5 – Input and Movement
Ep. 6 – The Ball
Ep. 7 – Keeping Score

Finishing Touches

Ep. 8 – Winning and Playing Again
Ep. 9 – Game States (Title, About, and Pause)
Ep. 10 – Sound
Ep. 11 – Options

Where to Go From Here

Ep. 12 – Packaging Your Game
Ep. 13 – Tweaking the Game
Ep. 14 – Resources

Downloads

Rubygame windows dependencies

15 thoughts on “Making Games with Ruby”

  1. Holaaaaa , a toodoossss!!!!
    jeej…..saludos desde chile……muy buenos tutoriales!!!!! cuando continuan ????

    see ya!

      1. all good with Spanish!! not bad…jajajja
        nada de mal tu español…..

        is a pleasure to watch your videos …. I was very interested in game programming in ruby ….. and there are many tutorials about it to be good ……

        gracias por los tutoriales….see ya!!
        Disculpa mi ingles….jejeje…!!!!

  2. Wow, this is great work. Please keep up the videos. I’ve been looking for ***exactly*** something like this for my children for the longest time and this is tremendous.

  3. Fantastic work with the tutorials. I have ben looking for the Ruby equivalent of PyGames – there it is! Once again thank you and keep it up!

  4. Seems so good for me, when looking for a good and meets my requirement of Ruby-based game application…
    Keep the great works, and I’ll be waiting for the next you’ll share

    also, wonder if there’s such a sample game app that built from Rubygame I’ll really, REALLY appeciate it!

    1. Thanks! 🙂

      As for a sample game, Rubygame comes with a number of (small) samples. If you dig through your ruby installation to where rubygame got installed, there should be some samples in there.

  5. I’ve really appreciated finding your site and tutorials. I’ve been scouring the web for tutorials using Rubygame and your tutorials have inspired me not to give up learning Ruby.

    Life happens so I’m sure all of us out here understand your hiatus.

    All I’m asking is that you please, when you find the time, continue posting your tutorials and tips. Even the little errors you might make will help us become more observant and better learners.

    Thank you again.

  6. Nice Video,
    but Taylor. When will came the next Videos ?
    It´s interessting to watch you.
    PLease, make more videos ,-)

    markus.

    ps, sorry 4 my bad english. But i came from germany 😉

    1. I don’t know when I’ll be making more videos! As the post says on the front of the site, I’ve got a lot of other things on my plate right now. Maybe one day soon 🙂

      No problems with your english, I can still understand you quite well!

  7. Hi Tyler, I spent all yesterday on your excellent Ruby Pong tutorial. Thank you! My problem is I cannot get sound/music to work. I just emailed you all the details. Here’s a short version. Please help!

    I got several errors when I tried to get sound working in the game:
    http://devel.manwithcode.com/making-games-with-ruby.html#8

    – With your OGG file, I got this error:

    /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rubygame-2.6.4/lib/rubygame/music.rb:82:in `load’: Could not load Music file ‘media/background.ogg’: Unrecognized music format (Rubygame::SDLError)

    – I got the same “Unrecognized music format” error when I changed background.ogg to an MP3 file.

    – Then I tried a WAV file. Now I got this error:

    ruby(2143,0x7fff72879180) malloc: *** error for object 0x7f9b4b59df80: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    Abort trap: 6

    – Now I tried a MIDI file. It finally started the program and showed the menu screen. But when I selected “Play Game,” again I got this error:

    ruby(2174,0x7fff72879180) malloc: *** error for object 0x7fd5a860e660: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    Abort trap: 6

    On my Mac, it also opened a big “problem report” window, which began like this:

    Process: ruby [2160]
    Path: /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby
    Identifier: ruby
    Version: ???
    Code Type: X86-64 (Native)
    Parent Process: bash [2027]
    User ID: 501

    Date/Time: 2013-04-12 13:32:52.347 -0700
    OS Version: Mac OS X 10.8.3 (12D78)
    Report Version: 10
    Sleep/Wake UUID: EC84F49C-4487-4F14-A6BD-621A46E8BEEB

    Interval Since Last Report: 18899 sec
    Crashes Since Last Report: 3
    Per-App Crashes Since Last Report: 3
    Anonymous UUID: FADC7697-98CC-3EE8-0151-F8451E76D790

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    *** error for object 0x7fccea5f8c60: pointer being freed was not allocated

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.