Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Let's create a game with Ruby

Let's create a game with Ruby

Talk about building a Game with Ruby and Gosu at eurucamp 2014.

Rin Raeuber

August 02, 2014
Tweet

More Decks by Rin Raeuber

Other Decks in Programming

Transcript

  1. LET’S CREATE
    A GAME
    WITH RUBY

    View full-size slide

  2. loves and .
    Rin

    View full-size slide

  3. EVERYBODY*
    LOVES
    GAMES!

    View full-size slide

  4. GAMES ARE
    WRITTEN
    IN C++

    View full-size slide

  5. GAMES ARE
    WRITTEN
    IN JAVA

    View full-size slide

  6. GAMES ARE
    WRITTEN
    IN NON-RUBY

    View full-size slide

  7. class Window
    !
    def run
    loop do
    update
    draw
    end
    end
    !
    end
    x - +

    View full-size slide

  8. x - +
    x
    y

    ↑ y - 10
    y +10
    COORDINATE SYSTEM

    View full-size slide

  9. COLLISION DETECTION
    x - +

    View full-size slide

  10. COLLISION DETECTION
    x - +

    View full-size slide

  11. COLLISION DETECTION
    x - +

    View full-size slide

  12. RESOURCES
    ˒ OpenStockProject
    !
    ˒ RPGMakerVX
    !
    ˒ Lostgarden

    View full-size slide

  13. RESOURCES
    !
    ˒ http://github.com/rin/eurucamp
    !
    ˒ Gosu RDoc
    !
    ˒ An Asteroids Clone written with Gosu
    !
    ˒ Another Gosu Sample Game
    !
    ˒ Gamebox Library

    View full-size slide

  14. @rinpaku bitcrowd
    kthxbai

    View full-size slide