~/talk

Writing 2D games for the OSX platform in Ruby

Talkat RubyConf 2009 · 2009-11-19..11-21· [ruby, creative-coding]
slides:none on file

Builds a simple 2D Mac game in Mac Ruby, using Core Animation layers as sprites and an NSTimer at 0.03s (~30Hz) for the game loop, checks collisions by calling CGRectIntersectsRect, stores game state in a central module, ships scalable PDF assets and system sounds, compiles Ruby sources into .rbo with micr_deploy and embeds Mac Ruby for distribution, and reports runtime CPU around 3–15%.

AI-written summary · about

  1. 0:00Start
  2. 1:22TEST YOUR MEMORY
  3. 6:01IPHONE GAMES
  4. 6:29DEMO
  5. 29:20CocoaClass
  6. 30:58COMPILATION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.