[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] blit() problem
- To: pygame-users@xxxxxxxx
- Subject: [pygame] blit() problem
- From: Geekius Maximus <n00bgeek@xxxxxxxxx>
- Date: Thu, 4 May 2006 12:20:03 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Thu, 04 May 2006 15:20:08 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RY0OSWLm9IiWcKo67HYztiuLVDsJCQLXi3/iCRQkYB28V8QlFlAFOxYvJjCKzwldkonEKC5ypnJg4fMlJHfJ50hYuflCT80E4jHpVbDTG4nRQHRwfVntaTouHG2za/mzdVQK/tPLlH6Qecgom2kGYoVm8hC7GFR3utUvRM4NODQ= ;
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Sorry if you get this twice, my email has been acting up a little.
I'm having an issue with the pygame.display.blit() method. According to the documentation:
<B>Surface.blit(source, dest, area=None): return Rect
An optional area rectangle can be passed as well. This represents a smaller portion of the source Surface to draw.</b>
Whenever I try to blit a smaller part of any Surface using the third rect, nothing gets blitted at all. The exception is when I blit part of the background surface over something, which works fine. I'll have a small code example later. If anyone has any ideas, I'd appreciate it.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com