[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] two questions - JYTHON and Sprite collisions



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