Added: 2 years ago
From: manwithcode
Views: 4,589
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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.

  • 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.

  • 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 ; )

  • Comment removed

  • 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.

  • 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.

  • @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.

  • I am also clamouring for 4.

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

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

  • Thaks Tyler!

    Your Tutorials are Awesome!

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