pygame
Python Pygame Basic Program
I have been trying to learn pygame the last day or so, and tried to write a basic program that just has a small image of a leaf falling from the top of the screen.[详细]
2023-02-14 17:37 分类:问答Why are my pygame images not loading? [duplicate]
This question already has answers here: pygame.error "couldn't open image.png" only in command prompt[详细]
2023-02-14 13:29 分类:问答Storing unpicklabe pygame.Surface objects in external files
So I\'ve got a problem - I\'m writing a game prototype in Python, using Pygame, 开发者_如何学Pythonand I want to save my games.All of the game-related data is in three instances of certain classes, an[详细]
2023-02-14 03:29 分类:问答Making smooth orbits in pygame
How can i make a smooth circular orbit at a constant speed using pygame? How would i calculate x, y on a 开发者_Python百科circle?Rotating about the 2d point center with the given radius and speed.[详细]
2023-02-12 19:12 分类:问答python click event scope issue in pygame
I\'ve created a GameObject class, using the python pygame library, which draws a rectangle on the screen.[详细]
2023-02-12 07:02 分类:问答Python on Mac: Fink? MacPorts? Builtin? Homebrew? Binary installer?
For the last few days, I have been trying to use Python for some audio development. The thing is, Mac OSX does not handle uninstalling stuff well. Actually, there is no way to uninstall anything. Onc[详细]
2023-02-12 04:02 分类:问答pygame.gfxdraw.aacircle gows funny for big circles, any alternatives?
Working on my Major project for software design and development and have run into the hurdle that when using pygame.gfxdraw.aacircle to draw big circles, the output goes screwy as seen here[详细]
2023-02-11 15:26 分类:问答Is C++ SDL and (Python PyGame) used by people other than hobbyists?
As a hobbyists who has a little experience making 2D games using PyGame, and has ventured into using C++ with the SDL library (in Visual开发者_开发百科 Studio), I\'m curious. Is the library used profe[详细]
2023-02-11 10:56 分类:问答draw rotated font with pygame
What\'s the best way to draw rotated text rendered with fonts with pygame? I can just draw the font then rotozoom it, but it seems better result would be gotten if it were possible to draw the glyphs[详细]
2023-02-11 09:36 分类:问答Does PyGame do 3d?
I can\'t seem to find the answer to this question anywhere. I realize that you have to use PyOpenGL or something similar to do OpenGL stuff, but I was wondering if its possible to do very basic 3D gra[详细]
2023-02-07 18:47 分类:问答