[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:07:43 -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:07:46 -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=hAAAOKEir65KB6OBUVGNSUykaMjVNkxxmHPAyT9/xTerCOxU9JvlxsPshpbqjSlv88ljx5r094VetboICiMlo1WDL314dVABQltSk/tI3N1nydSMJcPsnWKfU1VZS55NZmq3zVpvfF5qOajppYf292jSvTH37b34lcIMbdSPT90= ;
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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.
For God's glory,
Geekius
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com