All Questions
Tagged with mathematics pygame
3 questions
6
votes
1
answer
2k
views
Scan-line algorithm to fill in a triangle
I wrote the following script to fill a Triangle.
...
2
votes
2
answers
166
views
Text font size adapting to space
In order to practice my programming skills, I am trying to implement a Button class, to use in pygame. I know there are libraries like PGU, I do this to improve in programming.
I spent a bit of time ...
1
vote
1
answer
1k
views
Pygame snap mouse to grid? [closed]
The game I am working with is a block game. It generates terrain and then allows you to freely mine and place blocks as you wish (sound familiar Cx) BUT! there is a problem. I have a code that snaps ...