Making Games with Ruby Ep. 3 - Basics

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,665
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 11, 2010

In this video we go over the basics of game creation: getting a window on the screen, and simple event handling.

Code, transcript: http://manwithcode.com/322/making-games-with-ruby-ep-3-basics

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (manwithcode)

  • is there a way natively to compile rubys code ? (to bytecode) like python?

  • @r4jk3 As far as I know, Matz's ruby implementation doesn't have the ability to compile to bytecode files. Two other Ruby implementations do however. JRuby can output Java .class files, and Rubinius reportedly has the ability to output the bytecode it uses internally.

  • Hey, thanks for the videos. I haven't been able to find much on ruby in general so these have been a big help.

    One thing that might help out is a demonstration explaining how to use a rubygem library. I'm often confused where the ruby game methods come from and it makes it a little hard to follow.

    So maybe like a demonstration for the first time you encounter a rubygem library would help me and other out.

  • @DavidGreybeard You're welcome! I'm glad I could help! :)

    And, as it turns out, I have made a video on this, which you can find here:

    (I would put a link here, but YouTube is being mean and won't let me, it's episode 11 of my Programming With Ruby series, titled "Ruby Projects", it shouldn't be too hard to find)

    It doesn't go into a terrible amount of depth, so if you need something more, or have questions, throw a message at me and I'll do my best to help you out.

  • Oh damn, there is no Ep.4 :O

  • Yeah, sorry, I've been busy with other stuff...

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • Uhm, I figured out my mistake lol, syntax error on my part :P

  • Hi Tyler, I've been trying to learn Ruby with your videos, at this point I have watched your videos up to this one, I got the dev kit and believe it is installed properly and everything, but I get a message when I run ruby game.rb,

    game.rb:4: class/module name must be CONSTANT

    What am I doing wrong?

  • hey! you should make 2 the tab width.

  • i want to make games. i had trouble finding a programming language with tutorials as good as these that can handle games. i love your tutorials. 

  • Cool tutorial. It'd be a lot easier to read your code, though, if you used the typical tab width for Ruby of 2 spaces ; )

  • I believe you had a tutorial showing how to download them. I can do that. I'm more interested in how do I figure out what a library actually does. I've tried a couple other gems besides rubygame and I still have a hard time figuring out how to use them.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more