moiri / kobold

jump and run on web page
2 stars 0 forks source link

solidCollider size #16

Closed moiri closed 11 years ago

moiri commented 11 years ago

solid colliders ignore the border of the solid -> movable walks through the border until it hits the content.

to solve this, the outerWith needs to be considered and the collider needs to be positioned (move to the left by border width, move to bottom by border width)