Deesr Posted February 11, 2014 Share Posted February 11, 2014 Hello!In my current project I need to scale up all layers, but still keep the collision map correct.Im usingmyLayer.scale.setTo(4, 4);to scale the layer andmap.setCollisionByExclusion([0], true, myLayers);to set the Collision. When I work with a scale of 1, 1 it works as it should, but when I scale up all layers, the Collision Map seems out of place. It's sill there, but it out of place. Even in debug mode it looks like it works, but it still collides somewhere else: EDIT:I figured out that is it exactly on the same position as it would be with the scale 1:1. Let me know if there's a solution for this problem!Thanks. Link to comment Share on other sites More sharing options...
Deesr Posted February 13, 2014 Author Share Posted February 13, 2014 Bump! I really want to fix this issue as soon as possible Link to comment Share on other sites More sharing options...
Deesr Posted February 18, 2014 Author Share Posted February 18, 2014 Last try to get this problem fixed! I really need this, since I can't proceed with my game, untill I fixed this. Link to comment Share on other sites More sharing options...
Recommended Posts