Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: create a default path with idle to a specific directory
Post: create a default path with idle to a specific dire...

Currently when I save a python program I have to go through a path to the directory I want. How can I create a default preference for a path that will open into this directory when I hit the save fil...
greybill General Coding Help 0 890 Apr-23-2023, 04:32 AM
    Thread: how to use mouse to locate pixel co-ordinates
Post: RE: how to use mouse to locate pixel co-ordinates

(Aug-09-2022, 10:51 PM)Windspar Wrote: With pygame events you can do this. for event in pygame.event.get() if event.type == pygame.MOUSEBUTTONDOWN: if event.button == 1: prin...
greybill Game Development 4 2,249 Aug-11-2022, 08:56 AM
    Thread: how to use mouse to locate pixel co-ordinates
Post: how to use mouse to locate pixel co-ordinates

I am new to pygame and wouild like to know if it is possible to click on a game surface and find the x,y co-ordinates of the mouxe click. The co-ord system is a bit confusing and I would lkie to be ab...
greybill Game Development 4 2,249 Aug-09-2022, 03:53 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020