View Single Post
Old Apr 6th, 2005, 4:47 PM   #3
Sane
Banned
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,101
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
lol, if I wanted the function of no image, I'd just add an argument to disclude the image. I want white to be transparent. And I posted the whole thing so you could see when the functions come from.

It's able to be done if you make it into a class, then make the def __init(self): function yield a load image pygame function in which you can add the argument for a transparent color code. I tried adding an extra argument for color code in the one I have now, but it doesn't accept it. I just want to know if there is an easier way then making a game object out of it.

Last edited by Sane; Apr 6th, 2005 at 4:49 PM.
Sane is offline   Reply With Quote