z, ? | toggle help (this) |
space, → | next slide |
shift-space, ← | previous slide |
d | toggle debug mode |
## <ret> | go to slide # |
c, t | table of contents (vi) |
f | toggle footer |
g | toggle follow |
r | reload slides |
n | toggle notes |
p | run preshow |
P | toggle pause |
s | choose style |
$ gem install gamebox -v 0.5.0
$ git clone git@github.com:shawn42/game_dev_workshop.git
$ git clone git@github.com:shawn42/floopy_bird.git
Building great software for over a decade with offices across MI in Grand Rapids, AA, and Detroit (now hiring)
working with ruby for many years
Ludum dare / kids games
How many Ruby users; how advanced; any game dev; what?
define_actor :player do
has_behaviors do
slicer
shooter recharge_time: 4_000
bomber kickback: 1.6
shielded
die_by_sword
die_by_bomb
die_by_bullet
blasted_by_bomb
disoriented_by_bombs
pulled_by_black_hole
jump max_power: 80, min_power: 20
tile_oriented
end
end
class GameWindow < Gosu::Window
def update
end
def draw
end
def button_down(id)
end
end
window = GameWindow.new 640, 480, false
window.show
$ gamebox new floopy_bird
$ cd floopy_bird
$ bundle install
$ rake
Builds out basic structure
set size in game.yml | player => bird | stage | animated_behavior | graphical
add physics behavior | add fly/glide animations |
add flappy behavior add map controller in stage
$ rake package:osx_app:tar_gz
$ rake package:windows_folder:exe
$ rake package:source:tar_gz