[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] two questions - JYTHON and Sprite collisions
- To: pygame-users@xxxxxxxx
- Subject: [pygame] two questions - JYTHON and Sprite collisions
- From: "Bernard Quinn" <bjquinniii@xxxxxxxxx>
- Date: Mon, 11 Feb 2008 10:37:52 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 11 Feb 2008 10:37:58 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=kSLASLmlMNXHlwWL15blyzL9HGw8SP+P3D3tbI6VcdQ=; b=sk+sa9yoonRGTB0jkcWHwlZ+SFHdul5rq9k0B+hOcqaDXtOIQzc9SwERLJFj5Bk+8lzRIzz/gW2eImNwdPVX3Bx5S5r0EuO748tnGf8ZPQs2WA1ezv9jz8d0EcK8o+JadvTHaQdQ52K84/UG/M4ucGA6+RHePyxSGdCvK372cb8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jIsCBRN2bSWAynLjSDd7fN1tHfjQ3qARPWkWGtFBU9WFcrT55SGX/4tZ/e4T/k1N8m6381lGbezchHh0smiGyfautJeH+cGk6V2zvEmIZfxf8i0gqvJr3z0nOeo/kjYOXbHfHqsiJCaXfQMYV8XFWoNQrflrEiSoPDZx0VH75LY=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I have an application that I have been prototyping using PyGame... will there be a way to wrap this into a webapp? Jython?
I have implemented some lines as sprites (the line is a link connection between two nodes). Is there a way to do sprite collisions against the visible part of the sprite? The line is the diagonal of the sprite.rect, and there ends up being considerable overlap... I need the user to be able to select a particular line and would rather not have to bring up a menu of 'all possible lines' they may be trying to select.
tks
Joey