6 Reusable Code Snippet Topics
Remove Filter | |
A short example of Pygame showing an image with a known internet url. | |
A very basic pygame sprite example. Moving a sprite with the arrow keys, could be the start of a great space game. | |
This simple code shows how to write text with a given font, font size and color using the module pygame ... | |
Just a code sample that allows you to play your midi or mp3 music files with Python and module pygame. | |
If you draw shapes that are closely spaced and shifted, you can create interesting interference patterns, so called moire patterns. Here is an example using the Python module PyGame to do the drawing. | |
I've created a few functions to be used with pygame which are based on anti-aliased curves. At the moment and likely forever, it has two useful functions: aacircle(s,x,y,r,colour): Draws an anti-aliased circle on the surface s at the starting point x and y with the radius r. The circle will … |
The End.