Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with pygame not switching the mouse image
Post: RE: Problem with pygame not switching the mouse im...

So I lied about going to be. Seems I have to double post too... But I got this to work ###################################################### def mouse():     global mouse_cursor     global b1     ex...
Mondaythe1st GUI 6 6,628 Jul-26-2017, 01:31 PM
    Thread: Problem with pygame not switching the mouse image
Post: RE: Problem with pygame not switching the mouse im...

Getting the cursor to display as an image isn't a problem at all. I need to be able to switch the image inside a Def depending on the mouse being press or released. I guess from your example I'll hav...
Mondaythe1st GUI 6 6,628 Jul-26-2017, 12:47 PM
    Thread: Problem with pygame not switching the mouse image
Post: RE: Problem with pygame not switching the mouse im...

I mimicked this. If you look in the comments you can see I reworked the first example. I set this at the very top pygame.mouse.set_cursor((8,8),(0,0),(0,0,0,0,0,0,0,0),(0,0,0,0,0,0,0,0)) ##invisible m...
Mondaythe1st GUI 6 6,628 Jul-26-2017, 04:56 AM
    Thread: Problem with pygame not switching the mouse image
Post: Problem with pygame not switching the mouse image

So I've made a little thing to change my mouse's icon. It happens once in a blue moon, so I know it works. But it doesn't work 100% of the time.... which seems impossible. Hide/Show   while inMenus:  ...
Mondaythe1st GUI 6 6,628 Jul-25-2017, 01:26 PM
    Thread: How do I run background functions constantly
Post: RE: How do I run background functions constantly

I've been looking into this, and I think I see a way to work how I want; With threading. My idea was to have the background always updating, to have an active menu, and a sort of pop-up menu. So I c...
Mondaythe1st General Coding Help 5 11,798 Jul-25-2017, 08:58 AM
    Thread: How do I run background functions constantly
Post: RE: How do I run background functions constantly

Thanks for the tip about not needing the second line. Knowing that, is there any benifit of using from datetime import datetime and NOT from datetime import * As in, would it take a ton of resources t...
Mondaythe1st General Coding Help 5 11,798 Jul-22-2017, 09:10 AM
    Thread: How do I run background functions constantly
Post: How do I run background functions constantly

I'm brand new to Python, but I have experience with creating all types of all types of code. Because of this, I just find indexes or the small bits of info I need to get what I want done. My main pr...
Mondaythe1st General Coding Help 5 11,798 Jul-19-2017, 11:59 AM

User Panel Messages

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