What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-13 21:53:02
how to make pygame use float number
'''Pygame cannot adjust the image/rectangle position with floats, because it rounds the float to an integer. But with this method it works''' import pygame pygame.__init__() WIDTH = 300 HEIGHT = 300 screen = pygame.display.set_mode((WIDTH, HEIGHT)) #Cr... Add solution