Closed rosshadden closed 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.
map.setCollisionBetween()
map.setCollision()
We're using setCollisionByExclusion([], ...) now, which is extremely efficient.
setCollisionByExclusion([], ...)
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 callmap.setCollision()
with them.