~/talk

From Start to Published, Create a game with Ruby!

Talkat RubyConf Mini 2022 · 2022-11-15..11-17· [creative-coding, ruby]
links:none on file
slides:none on file

Builds a playable Snake clone with the DragonRuby GameToolkit and publishes it to itch.io using dragonruby.publish (Butler under the hood). Code uses args.state and args.outputs (labels, solids, lines), a grid size 20 grid, movement on a timed jump (speed = 10, tick 60 fps), collision detection with walls and body, collectible spawns, score increments, collect.wav sound, body growth logic, game over state and reset via Escape, and produces HTML5, macOS, Windows, Linux and Raspberry Pi builds.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 1:47Dragon Ruby Game Toolkit
  3. 6:10Setting up Dragon Ruby
  4. 9:15Creating itch.io page
  5. 11:55Game metadata setup
  6. 15:41Publishing to itch.io
  7. 19:40Game loop basics
  8. 22:55Drawing grid and snake
  9. 28:50Snake movement
  10. 35:23Boundary collision
  11. 46:12Collectibles and scoring
  12. 55:49Adding sound effects
  13. 1:03:58Snake body growth
  14. 1:11:38Body collision and game over
  15. 1:15:34Resetting game
  16. 1:16:39Final publishing demo
  17. 1:19:09Further learning resources
~/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.