Python Forum
[PyGame] Copying the Screen (PyGame)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Copying the Screen (PyGame)
#1
My code allows the user to create a drawing. later in the code I want to display that drawing. Is there any way that once the drawing is done I can copy the pygame display to use later, without saving the drawing to my computer. Like maybe saving it as a variable(any code available for this) :

Drawing = Whatever's on the pygame display

And later displaying that variable to the screen.
Is that possible???
Reply


Messages In This Thread
Copying the Screen (PyGame) - by Zman350x - Feb-11-2017, 06:04 PM
RE: Copying the Screen (PyGame) - by metulburr - Feb-11-2017, 07:23 PM
RE: Copying the Screen (PyGame) - by Zman350x - Feb-11-2017, 07:47 PM
RE: Copying the Screen (PyGame) - by ichabod801 - Feb-11-2017, 08:24 PM
RE: Copying the Screen (PyGame) - by Zman350x - Feb-11-2017, 08:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame full screen help corsasri 2 2,916 Mar-20-2024, 07:35 AM
Last Post: reginarodriguez
  [PyGame] When I hit the space bar from the home screen, it sends me to the game over screen JesusisKing 1 1,041 Apr-30-2023, 10:11 PM
Last Post: deanhystad
  [PyGame] Pygame : clearing a screen issue Reldaing 4 6,207 Jun-23-2020, 09:10 AM
Last Post: JudyLarose
  [PyGame] How to Display pygame on SSD1351 screen kalihotname 0 1,907 Nov-11-2019, 07:32 AM
Last Post: kalihotname
  [PyGame] pygame.draw.rect function stretches across the screen instead of moving BubblesTheGiraffe 2 3,710 Jun-11-2019, 08:32 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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