Hide mouse cursor?
  • As the title suggests, is there any way to hide the cursor in the piplay gui?
  • I'm sure that there is, I'll look into it.
  • I remember reading something about a python module that hides it, ill see if i can hunt it down ;)

    --
    Conno123009
  • ok, so I added code for the upcoming release to turn off the cursor.
  • @mholgatem
    Nice! What is module called?

    Thanks!
  • in pmconfig.py:

    where it reads:
    self.screen = self.init_screen(self.options.resolution, self.options.fullscreen)
    Add a line after that that reads:
    pygame.mouse.set_visible(False)
  • Interesting, surprisingly simple. Thanks @mholagatem
  • sorry, but when i add that line, piplay menu won't start. i just get thrown back to terminal. did i miss anything in the code?
  • double check to make sure you didn't mis-spell anything ('False' must have a capital 'F'). Also, make sure that it is indented properly (2 tabs, then pygame.mouse.set_visible(False)) If you are still having problems, post the error that it shows at terminal
  • Thank you, 2 tabs solved the issue.
  • no problemo!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!