8000 Update game examples to work with ruby2d-0.12.1 by StevenH34 · Pull Request #9 · ruby2d/examples · GitHub
[go: up one dir, main page]

Skip to content

Update game examples to work with ruby2d-0.12.1 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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
0