Anyone know how I would set an image for the cursor in Pygame?
Jump to Post
Here is an example ...
# PyGame example of how to change the mouse cursor import pygame as pg bgcolor = 255, 255, 255 # white screen = pg.display.set_mode((600, 300)) pg.display.set_caption('testing a different cursor') screen.fill(bgcolor) # set the mouse cursor # you can replace diamond with arrow, …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.