pygame transparent vectors - 1.0
A simple lib that can create pygame vectors with alpha transparency.
Luke Endres
(besktrap)
A simple lib that can create pygame vectors with a specified amount of transparency. see README.txt for more information.
PTV currently supports:
- circles
- rects
- and polygons
further releases will have support of ellipses and arcs.
Changes
A lib that can easily create pygame vectors with transparency! release 1.0 can currently support transparency with rects, polygons, and circles. enjoy :)
Also, when you run example.py, you will probably be averaging about 1 to 0 frames per second. This is because I added a couple for loops, that in turn run 15,000 times a game loop to create those 3 color blended, rounded rectangles. If you don't want those there (and want to get a healthy fps), just comment lines 35 to 45.
Links
Releases
pygame transparent vectors 1.0 — 9 Aug, 2009
pygame transparent vectors 1.1 — 3 Oct, 2009
Pygame.org account Comments
-
David 2014-01-09 15:05
Traceback (most recent call last):
File "/home/matt/test.py", line 7, in <module>
from ptv import * # import all functions and classes from ptvLIB
ImportError: No module named ptv