Fun With Ruby And Gosu Javier Ramirez

50 %
50 %
Information about Fun With Ruby And Gosu Javier Ramirez

Published on May 9, 2009

Author: supercoco9



Slides for javier ramirez's talk at EuRuKo 2009

EuRuKo presents Javier Ramírez ( * in * Fun with Ruby (and without r***s) Program your own games with Gosu

the characters Ruby ................. as The Damsel Hardware ............ as The Villain Gosu ...................... as The Hero Chipmunk ........ as The Scientist Rubyscript2exe ........ as Himself

why games work rest play sleep improve, have fun

why ruby because i can! less code, less clutter easy to try out

why me HTML PASCAL / BASIC C/C++ JAVA RUBY ASP DBase LOGO SQL PHP VBasic JavaScript Assembler

Non-technical considerations concept ● game specs / core design ● gameplay/game mechanics ● balance ● look and feel ● More at “Game Architecture and Design: A New Edition” by Andrew Rollings & David Morris

Part I what's in a game? (game development 101)

Web Development Abstraction

One ring to rule them all

Game Development Abstraction 3D games are the same, just harder

Game Development Components

the living game

Development Components main loop / event loop ● game logic: levels, collisions, AI ... ● stateless images (tiles / models) ● stateful images (sprites / models) ● sound FX and music ●

Part II when Ruby met Gosu

about by Julian Raschke and Jan Lücker Gosu ( 고수 ): High Hand - Leader C++ + Ruby Bindings (

design rationale Bloatfree: Gosu aims to contain everything that is necessary to write a game in clean C++ or Ruby code, yet not much more. Reality-driven: Everything in Gosu exists for the same single reason: It was necessary for an existing project. Nothing was, and will ever be, added out of boredom.

game demo

source code (


Gosu::Image load individually or tiled drawing can be rotated / scaled supports z-index can use Rmagick objects

Gosu::Sample & Gosu::Song full playback control volume, speed, pause, resume, stop, pan looping supported midi are better if converted to XM

Gosu::Font can be a system font or a file easy to check the real width supports rotation and scaling

code walkthrough

about by Scott Lembcke A 2D rigid body physics library, designed with 2D video games in mind. (



chipmunk basics Space Body Shape Vect Joint

Part III your 15 minutes of fame

doing it is just half the fun

tar2rubyscript by Erik Veenstra RBA file: init.rb => tar + base64 + comments

rubyscript2exe by Erik Veenstra packages ruby, the script and all dependencies together into an executable file. works on windows, linux, OSx

rubyscript2exe First Step: it runs the application, checking for all the required gems and scripts, creating a list of dependencies to include in the executable

rubyscript2exe The “Environment Embedding Executable” gzips all the dependencies and attaches the file to a copy of eee

muhahahahaha! person/5987-javier-ramirez

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Javier Ramirez - "Fun with Ruby and Redis" - YouTube

Javier Ramirez's talk on EuRuKo 2013 conference in Athens, Greece titled "Fun with Ruby and Redis"
Read more

gosu javascript 81 -

gosu javascript 画像と記事 ... Fun With Ruby And Gosu Javier Ramirez rsmckinney Scott McKinney Scala is java8. Gosu-lang ? GitHub F# Frink Go Gosu Groovy
Read more

ArrrrCamp 2013 - Fun with Ruby and Redis by Javier Ramirez ...

Put it together with Ruby and it's fun too! ... Fun with Ruby and Redis by Javier Ramirez Confreaks. Subscribe Subscribed Unsubscribe 14,687.
Read more

javier ramirez | LinkedIn

View javier ramirez's ... These last few years I've been building web applications using Ruby on ... attendees will create a real web application in a fun ...
Read more

ruby_stone.rb - eurukuest - code for my presentation at ...

... svn/ trunk / eurukuest / ruby_stone.rb ... require 'gosu' require 'zindex' ... r2 by javier.ramirez.gomara on May 5, ...
Read more