The Wayback Machine - https://web.archive.org/web/20210721164157/https://github.com/topics/pygame
Skip to content
#

pygame

Here are 4,484 public repositories matching this topic...

Starbuck5
Starbuck5 commented Jul 16, 2021

The following examples don't have a pg.quit(), and most of them need it:

aacircle.py
audiocapture.py
fonty.py
font_viewer.py
glcube.py
headless_no_windows_needed.py
liquid.py
mask.py
midi.py
moveit.py
pixelarray.py
playmus.py
prevent_display_stretching.py
resizing_new.py
scaletest.py
scrap_clipboard.py
setmodescale.py
sound.py
sound_array_demos.py
sprite_texture.py
vgrade.p

lordmauve
lordmauve commented May 15, 2021

Originally created by @jhutar in #232

I have images dirt.png and bush.png and with this I can create temporary image on the fly when starting the game (so my actor do not need to draw two overlapping images when running the game):

import pygame.image
img_dirt = pygame.image.load('images/dirt.png').convert_alpha()
img_bush = pygame.image.load('images/bush_small.png').convert_
Sorting-Algorithms-Visualizer

Improve this page

Add a description, image, and links to the pygame topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pygame topic, visit your repo's landing page and select "manage topics."

Learn more