Jump to content

How to set multiple collision ranges


xronn
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...