Making Games with Ruby Ep. 3 - Basics
Uploader Comments (manwithcode)
All Comments (15)
-
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.
is there a way natively to compile rubys code ? (to bytecode) like python?
r4jk3 11 months ago
@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.
manwithcode 11 months ago
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 1 year ago
@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.
manwithcode 1 year ago
Oh damn, there is no Ep.4 :O
Majskolvenz 2 years ago
Yeah, sorry, I've been busy with other stuff...
manwithcode 2 years ago