examples icon indicating copy to clipboard operation
examples copied to clipboard

Update game examples to work with ruby2d-0.12.1

Open StevenH34 opened this issue 11 months ago • 0 comments

Changes made

Helps resolve #7

Games would not execute. Encountered errors loading text and font file:

  • .../ruby2d-0.12.1/lib/ruby2d/text.rb:25:in 'initialize': wrong number of arguments (given 0, expected 1)
  • Cannot find font file ../fonts/Ubuntu.ttf

The examples color-dodge, keyevent-example, and triangle-game all run now on ruby2d-0.12.1. Code was updated on MacOS 15.2.

StevenH34 avatar Jan 25 '25 02:01 StevenH34