Comments (3)
The problem is in the representation of rgb. The code on this repo uses numbers between 0 and 255 to represent a rgb channel. The new love version uses values between 0 and 1. So every channel value x should be replaced with x/255.
from pong.
Sry just saw this is a duplicate.
from pong.
I was having the same issue, thank you for the information for a quick fix!
from pong.
Related Issues (20)
- Paddle class errors HOT 2
- underlines
- Pong 1 HOT 1
- pong-3, paddles don't move. HOT 2
- Cannot load game due to location. HOT 5
- window size pong 2 onwards 11.3 HOT 2
- Code is not working on Visual Studio code HOT 10
- Problems in Pong7 HOT 1
- Links in the CS50 page is obsolete
- I am not able to see part of the screen HOT 1
- pong-1 issue with love 11.3 HOT 1
- Push library issue for both love 11.1 and 11.3
- setColour in displayFPS() does not work right HOT 1
- Support keypad in Linux
- Pong 3 Paddles not moving HOT 1
- SetColor not working as demonstrated HOT 2
- Pong 2 HOT 1
- pong
- work 1
- Better ball velocity in `Ball.lua` class HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pong.