Intro To Ruby For Game Development

Programming is not exactly the most interesting thing on the internet, unless you have a passion for codes and algorithms, a lot of programming includes boring theory and understand the logic behind w...

  • All levels
  • English

Course Description

Programming is not exactly the most interesting thing on the internet, unless you have a passion for codes and algorithms, a lot of programming includes boring theory and understand the logic behind which code plugs into what and how to call back which file from where. However, what if there was a way you could make programming interesting and fun?! Well, building games is one way that programming...

Programming is not exactly the most interesting thing on the internet, unless you have a passion for codes and algorithms, a lot of programming includes boring theory and understand the logic behind which code plugs into what and how to call back which file from where. However, what if there was a way you could make programming interesting and fun?! Well, building games is one way that programming can become fun, especially when you can see exactly what your program is doing along side your coding. Ruby is a programming language that is often used for complex development and helps build powerful and dynamic websites and applications.

What you’ll learn
  • An introduction to Ruby Programming Language
  • Beginner concept such as installing Ruby, variables, operators, operations, conditionals, etc.
  • Intermediate concepts such as arrays, loops, hashes, methods, etc.
  • Advanced concepts such as classes, getters, setters, and inheritance
  • A detailed introduction to Gosu
  • Learn game development building blocks such as creating a window, adding background images, player classes, star classes, etc.
  • How to set up and start creating a Whack-a-Mole game from scratch
  • Learn how to make your games executable with Ocra

Covering Topics

1
Section 1 : Beginner Ruby Programming Concepts

2
Section 2 : Intermediate Ruby Programming Concepts

3
Section 3 : Advanced Ruby Concepts

4
Section 4 : Ruby Game Programming With Gosu

5
Section 5 : Whack a Mole With Gosu

6
Section 6 : Making Your Games Executable

Curriculum

      Section 1 : Beginner Ruby Programming Concepts
    1
    Installing Ruby On Your Computer Preview
    2
    Installing The Sublime Text Editor
    3
    Hello World
    4
    Variables
    5
    Comments and Errors
    6
    Math Operators
    7
    Math Order of Operations Preview
    8
    Comparison Operators
    9
    Assignment Operators
    10
    Getting User Input With Gets
    11
    If Else Statements
    12
    Multiple Conditionals Preview
    13
    String Manipulation
      Section 2 : Intermediate Ruby Programming Concepts
    14
    Arrays
    15
    Multidimensional Arrays
    16
    While Loops Preview
    17
    Until Loops
    18
    For Each Loops
    19
    Fizz Buzz!
    20
    Hashes
    21
    Hash Manipulation Preview
    22
    Methods Part 1
    23
    Methods Part 2
    24
    Random Numbers
      Section 3 : Advanced Ruby Concepts
    25
    Intro To Ruby Classes
    26
    Creating Classes
    27
    Class Getters
    28
    Class Setters
    29
    Adding More Methods to Our Class
    30
    Attr_Accessor
    31
    Create a Draw Method in our Class
    32
    Class Inheritance
      Section 4 : Ruby Game Programming With Gosu
    33
    Intro To Gosu
    34
    Gosu: Create A Window
    35
    Gosu: Add A Background Image
    36
    Gosu: Player Class 1
    37
    Gosu: Player Class 2
    38
    Gosu: Player Class 3
    39
    Gosu: Star Class 1
    40
    Gosu: Star Class 2
    41
    Gosu: Score And Sound
      Section 5 : Whack a Mole With Gosu
    42
    Intro To Whack a Mole
    43
    Whack a Mole Setup
    44
    Whack a Mole - Draw the Mole
    45
    Whack a Mole - Move Our Mole
    46
    Whack a Mole - Make the Mole Blink
    47
    Whack a Mole - Draw Our Hammer
    48
    Whack a Mole - Button Clicking
    49
    Whack a Mole - Keeping Score
    50
    Whack a Mole - End The Game
    51
    Whack a Mole - Space Bar to Restart Game
      Section 6 : Making Your Games Executable
    52
    Make Your Game Executable With Ocra
    53
    Conclusion

Frequently Asked Questions

It is an online tutorial that covers a specific part of a topic in several sections. An Expert teaches the students with theoretical knowledge as well as with practical examples which makes it easy for students to understand.

A Course helps the user understand a specific part of a concept. While a path and E-Degrees are broader aspects and help the user understand more than just a small area of the concept.

A Course will help you understand any particular topic. For instance, if you are a beginner and want to learn about the basics of any topic in a fluent manner within a short period of time, a Course would be best for you to choose.

We have an inbuilt question-answer system to help you with your queries. Our support staff will be answering all your questions regarding the content of the Course.