games50 / pong

Atari's 1972 classic, implemented in Lua with LÖVE
843 stars 1.12k forks source link

Update push.lua to v0.3 and handle LOVE 11 color range change #4

Closed mowsmith closed 3 years ago

mowsmith commented 6 years ago

Upgrades to push.lua v0.3. Checks if running LOVE v11 and changes color values accordingly. LOVE v11 uses a 0-1 range instead of the previous 0-255.

closes #3

FrankKair commented 6 years ago

Good one, @mowsmith!

gkortsit commented 5 years ago

@mowsmith I was taking the GD50 course and was having problems running push.lua. Your changes worked great for me. Thanks