[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Howto blit a mask
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Howto blit a mask
- From: "Chuang Wu" <chuangwoo@xxxxxxxxx>
- Date: Fri, 2 Jun 2006 23:56:28 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 02 Jun 2006 23:56:33 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SDtCgC5ZL3DMsIisieb/dY8z0fTtZAcWJ3xKuFuOaNbuh0Wejz19RO3zyGaz7xztzpCFbgL/KsvOwBtjkOC77V6YSGIrMoDj07xtUl4AlbGMnEIGewqQslvidHmp4tK7nR1UuytmYerF6Jp0rKojuwMBBXq+xpoMOWOZ0j6xWmA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi there,
when I click on the image, I wanna add a light yellow mask on it, so we can still see the image, with a half-transparent cover. And if I re-click, the mask is removed.
Could I just use blit() to do this?
Thanks in advance.
CC