platipy / spyral

http://platipy.org
Other
49 stars 12 forks source link

Sprite.solid (collidable?) property #25

Open acbart opened 10 years ago

acbart commented 10 years ago

Have it so that collision for a sprite/view can be turned off, freeing up the cycles that would normally be spent precalculating the collision mask. Name is a point of order.

acbart commented 9 years ago

I like "collidable" more than "solid" - it immediately tells you what it should do. This change shouldn't be too bad, mostly just an extra if check in the right place.