moiri / kobold

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

Use elements as collider #18

Closed moiri closed 11 years ago

moiri commented 11 years ago

It may be necessary to use elements directly as colliders because the webpage adapts the content dynamically and deletes generated colliders.

In this case, the class solidCollider can be assigned to the element. Describe this in readme.

moiri commented 11 years ago

due to relative positionning (#21), an element intended as solid cannot be the collider itself. A seperate collider is necessary. Therefore, the commit mentioned above must be reverted