Home > other >  Online urgent, why hasn't the pygame display background, strives for the great god science, mar
Online urgent, why hasn't the pygame display background, strives for the great god science, mar

Time:09-26

The code


After the operation

CodePudding user response:

I test no problem, Windows 7 + 3.6

CodePudding user response:

Image path right?

CodePudding user response:

You and I, the building Lord solved?

CodePudding user response:

Put wireless loop to code the last try

CodePudding user response:

Pygame. Display. The update () under the circulation pilot

CodePudding user response:

The latest version of pygame need to invoke the pygame. Event. The get () to have image, you can have a try

CodePudding user response:

I'm just learning, but the code you can put you want to show that part of the cycle, the end try the update

CodePudding user response:

Draw the background need to write inside the loop, update the picture to write inside the loop

CodePudding user response:

Pygame. Event. The get () is a positive solution

CodePudding user response:

Put blit and update the two sentences in the loop a try

CodePudding user response:

Point image, I see, I have a source code

CodePudding user response:

refer to 7th floor weixin_38931903 response:
the latest version of pygame need to invoke the pygame. Event. The get () to have images, you can try the

God, pygame. The event. The game is the solution

CodePudding user response:

Why I input pygame. Event. The get () or not
  • Related