Skip to content

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

Development

Successfully merging this pull request may close these issues.

pong-2 renders white screen pong-1 doesn't work with love 11.1 Love.graphics.clear white screen. Upgrade to push.lua v0.3

2 participants