More about tilemap

More about tilemap
0.0 0


I’m programing a Tilemap, with 3 layers… I want to do scroll, so, i’m using ParallaxNode, and set the 3 layers in it.
It works, but the problem is the frames down… Only the map, is near 60Fps, with ParallaxNode (3 layers), down, 12-15 FPS… Is it normal? (the map is bigger)



how many tiles in your layer?

normal, we often put the background tilemap in bottom. and set the actor in other layer.

because tilemap layer can cache. so if you set the background tilemap is static, the performance maybe faster than now.

you can reference the tests/tilemapTest sample code.