xronn Posted January 28, 2014 Share Posted January 28, 2014 So, I need a number tiles that will have collision with my player, I set them like this; tileset.setCollisionRange(0, 714, true, true, true, true); tileset.setCollisionRange(716, 773, true, true, true, true); tileset.setCollisionRange(776, 999, true, true, true, true);The first collision range appears to work, but the other two don't is this how you set multiple ranges? thanks! Link to comment Share on other sites More sharing options...
xronn Posted January 29, 2014 Author Share Posted January 29, 2014 Bump - still looking Link to comment Share on other sites More sharing options...
jcs Posted January 30, 2014 Share Posted January 30, 2014 yes, as far as I can tell, that should work. what is the rest of your code doing and what exactly are you seeing? Link to comment Share on other sites More sharing options...
xronn Posted January 30, 2014 Author Share Posted January 30, 2014 Okay I found a fix, you can't set a collision range for more tiles than your sheet has, I set my range to "x, 1000" but I only had 899 tiles. -Closed Link to comment Share on other sites More sharing options...
Recommended Posts