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 Slide

  2. loves and .
    Rin

    View Slide

  3. EVERYBODY*
    LOVES
    GAMES!

    View Slide

  4. GAMES ARE
    WRITTEN
    IN C++

    View Slide

  5. GAMES ARE
    WRITTEN
    IN JAVA

    View Slide

  6. GAMES ARE
    WRITTEN
    IN NON-RUBY

    View Slide

  7. WRONG
    WRONG

    View Slide

  8. GOSU
    Ҋࣻ

    View Slide

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

    View Slide

  10. x - +
    x
    y

    ↑ y - 10
    y +10
    COORDINATE SYSTEM

    View Slide

  11. COLLISION DETECTION
    x - +

    View Slide

  12. COLLISION DETECTION
    x - +

    View Slide

  13. COLLISION DETECTION
    x - +

    View Slide

  14. View Slide

  15. YOUR
    TURN

    View Slide

  16. RESOURCES
    ˒ OpenStockProject
    !
    ˒ RPGMakerVX
    !
    ˒ Lostgarden

    View Slide

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

    View Slide

  18. @rinpaku bitcrowd
    kthxbai

    View Slide