[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Collision bounds smaller than sprite image
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Collision bounds smaller than sprite image
- From: andrew baker <failrate@xxxxxxxxx>
- Date: Tue, 28 Dec 2004 23:10:24 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Wed, 29 Dec 2004 02:10:57 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=jdC8WueNptTTSMoYE9KayboCrvAftUy7kB+kfsw0/zykpBR9/EA75xkvtRVyrSMNxDVPIeIoCtjmeBe7kmqbIbjXWFo366ryiBlnvexnF05ltVSLu1QOjon65bsoDC23VRTJo2q7qYRz6ULNECQB5U3iFDz6kBTTPNXPPup9MWw=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I'm currently working on my engine and want to be able to have sprites
with bounding and collision rectangles smaller than their actual
images In this case, I want their lower areas (ie, their footprint)
to be the "rect" and behave exactly like the rect, but I still want
the whole image to be drawn without any odd behavior.
--
Andrew Ulysses Baker
"failrate"