Results 1 to 2 of 2

Thread: Making a simple fullscreen with python/pygame?

  1. #1
    Join Date
    Dec 2007
    Beans
    1,046

    Making a simple fullscreen with python/pygame?

    Hello,

    I would like to know slightly how to make something like this under python/pygame in fullscreen?

    Would you have a begin of code for this simple thing, to help to start?

    thank you in advance !
    Attached Images Attached Images

  2. #2
    Join Date
    Aug 2011
    Beans
    9

    Re: Making a simple fullscreen with python/pygame?

    If I recall correctly, fullscreen can be activated by the display.set_mode() method any time after pygame and pygame.display have been initialized; for example by doing:

    Code:
    pygame.display.set_mode((640,480),pygame.FULLSCREEN)
    ...where (640,480) is the desired resolution. There's a great set of tutorials on http://pygame.org/docs/ that will help you get started.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •