Source

pygame / examples / mask.py

Author Commit Message Labels Comments Date
Lenard Lindstrom avatarLenard Lindstrom
adapt mask module for Python 3.1
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
mask.from_surface works now... and is 128x faster than the python version.
illume avatarillume
Adding a pygame.mask.from_surface function but it's not working.
illume avatarillume
Adding the bitmask code from Ulf Ekstrom.
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.