Anyone know how I would set an image for the cursor in Pygame?
besktrap
0
Junior Poster in Training
Recommended Answers
Jump to PostHere 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
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.