• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Best place to learn ruby?

pspdude

:o super shinx?
  • 92
    Posts
    16
    Years
    Well, I know the basics of a lot of programming languages, but I usually stay with JavaScript and C#, mostly because I use Unity3D a lot. But I've been looking into playing around with essentials for awhile. I used to do some ROM hacking, but I never really it.

    Thanks
    -Pspdude
     
    At Uni, I learned the basics of Fortran95 and IDL. I then learned practically everything about RGSS from studying Essentials, and using Google to answer a few of the more conceptual questions. The Stack Overflow website is good for that.

    The best way to learn is by doing. Find an easy script (I suggest the Trainer Card and/or Pokégear) and analyse it up, down and backwards until you can make sense of it. Then try something else.

    Pick an aspect of Essentials you want to learn about (e.g. Pokérus, or choosing the species of a wild encounter, or fishing), and find and analyse the relevant code. I think it's best to know what something does (at least vaguely) before reading its code to find out how it does it. It's also good to pick a particular topic, rather than browse aimlessly.
     
    I can second everything that Maruno said here. I too learned Ruby and RGSS from messing around with Essentials, and I likewise found the Trainer Card to be a great place to start because of how short and straightforward the code is. I started with next to zero programming knowledge (I had maybe two classes on programming when I started here: principles of programming [just logic structures] and a basic C# class all done in the console), but Ruby is highly readable so learning it is a breeze (if you've got C# figured out, you'll find that Ruby is much easier).

    I also suggest that you try out making some code from scratch once you have a feel for Ruby's syntax. Just start small, and add bits here and there as you feel comfortable. There's no use trying to make something amazing in one go. An easy one I found to start with is menus. Start by displaying the background image, practice drawing text, and add logic to it bit by bit (using conditional statements, global variables, or what have you). It may take some time to memorize the common classes, methods, and modules you'll be using in Essentials though. After all, there's an awful lot to work with. That's the only difficult part in my opinion. In all honesty, tutorials won't do a whole lot for you. They've never helped me much anyways.
     
    Thanks guys, I'll put this into good use :)
     
    I went into essentials knowing positively nothing about Ruby or RGSS, and nearly everything I know now is just by expirimenting.

    Basically, I echo what Maruno and KitsuneKouta already said - the best way to learn RGSS is by doing.
     
    Back
    Top