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

Fixes for Love 11 #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixes for Love 11 #17

wants to merge 2 commits into from

Conversation

simleo
Copy link

@simleo simleo commented Nov 3, 2018

Fixes #3
Fixes #8
Fixes #12
Fixes #14

This PR makes the game compatible with Love version 11, which is what you get if you download the framework now.

One thing that does not work anymore is setting RGBA color components with integers between 0 and 255. Relevant methods now require floats between 0 and 1, and that's addressed in 2a4ab88 for graphics.clear. Note that the call to graphics.setColor should also be modified in the same way, but since Love seems to clip overflowing values to 1, the specific calls used here work as expected (if anyone tries a different color, though, they will likely hit the bug).

The other commit makes sure all versions of the game use a love11-aware version of Push (older versions make the game crash). The one in pong-final is OK, so I just had all main files import that one.

@vaibhavarora14
Copy link

@coltonoscopy Can you get this PR merged for various bug fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants