slycrel / JSTileMap

TMX Map viewer for SpriteKit
Other
212 stars 34 forks source link

size/coordinates of ObjectGroup doesnt work for me #16

Closed woci closed 10 years ago

woci commented 10 years ago

I just started to use JSTileMap, but I have problem with it. When I create the tiles from the layer, the game will be laggy, when the players character is on the tiles (lot of calculation because of physics maybe?), so I decided to leave the ground layer, and create 4 bigger object for the ground, but when I import them, the coordinates and the sizes are not good. Can anybody help me?

woci commented 10 years ago

solved. updated framework + SKNode position = CGPointMake(imported object width/2,imported object height/2)