Skip to content

Update game examples to work with ruby2d-0.12.1#9

Open
StevenH34 wants to merge 5 commits intoruby2d:mainfrom
StevenH34:update-examples
Open

Update game examples to work with ruby2d-0.12.1#9
StevenH34 wants to merge 5 commits intoruby2d:mainfrom
StevenH34:update-examples

Conversation

@StevenH34
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Examples out of sync: triangle game fix

1 participant