[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] mouse collide question
- To: pygame-users@xxxxxxxx
- Subject: [pygame] mouse collide question
- From: "Stephen Parkes" <sparkes@xxxxxxxxxxxx>
- Date: Tue, 13 Jun 2006 10:53:53 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 13 Jun 2006 05:54:03 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=K+6dut9OYPxGrtLPoBCsJHiijsg8NpE++xpJhG4egtVp71jFWzbn8rJI7FjeHZ/cZUygt1J+hAScki+YLSp1HoH0fgJ5i17O/1mYaJl9pAKyism49dNZgO1eFfZPbtC5jCBawa43P8FRAK6jvZhZOUjCwBnzjV5vFPxuwexKWXU=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
First post, be gentle with me etc....
I am looking to test if the mouse is within a rect. Fullscreen it
works as expected using rect.collidepoint and mouse.get_pos. How to I
get it working in windowed mode? is there a way to discover the top
corner of my display rect?
cheers all
sparkes
--
Steve 'sparkes' Parkes - tshirts http://nerd.ws - code http://zx-81.com
Autistic LUG http://autisticlug.org - blog http://sp.arkes.co.uk