acleverpun / letsgoonanadventure

Adventure game prototype built from our skeleton
0 stars 0 forks source link

Implement better collision #14

Closed rosshadden closed 9 years ago

rosshadden commented 9 years ago

Right now we're using map.setCollisionBetween(), which is inefficient (at least as I understand it). What we should do instead is figure out which indices to use in the preload step, and call map.setCollision() with them.

rosshadden commented 9 years ago

We're using setCollisionByExclusion([], ...) now, which is extremely efficient.