Skip to content
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

Migrate from pyboy v1.6.14 to v2 #37

Open
7 tasks
TomCasavant opened this issue May 15, 2024 · 0 comments
Open
7 tasks

Migrate from pyboy v1.6.14 to v2 #37

TomCasavant opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request priority

Comments

@TomCasavant
Copy link
Owner

TomCasavant commented May 15, 2024

https://github.com/Baekalfen/PyBoy/wiki/Migrating-from-v1.x.x-to-v2.0.0

While debugging #35 noticed there was a big version jump last week, I imagine it'll help with #27 as well

  • Update requirements.txt
  • Compatibility Changes
    • Screenshot is no longer screen_image(), it'll be screen.image
    • Simplify all of our inputs using the built-in pyboy.button
    • PyBoy() instantiation needs some adjustments
    • WindowEvent is no longer accessible from Pyboy it's in pyboy.utils (probably not necessary if we're simplifying inputs)
    • window_type is deprecated
@TomCasavant TomCasavant added bug Something isn't working enhancement New feature or request priority labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request priority
Projects
None yet
Development

No branches or pull requests

1 participant