Source

pygame / examples / headless_no_windows_needed.py

Author Commit Message Labels Comments Date
Lenard Lindstrom avatarLenard Lindstrom
all standard modules build with Python 3.1. Optional movie module adapted. setup.py skips unsupported files for Python 3
Lenard Lindstrom avatarLenard Lindstrom
make the main function consistent accross examples, taking arguments
illume avatarillume
added #\!/usr/bin/env python to the top of all examples that didn't have it.
illume avatarillume
made it init display, as required by some platforms.
illume avatarillume
An example of using pygame with no windowing system. Useful for webserver
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.