2D Toolkit Forum
2D Toolkit => Support => Topic started by: stevexu on December 06, 2013, 02:48:57 am
-
I have a long long tilemap, the character walk along with it . The camera bind to the character so we can fellow the character. But i found the fps is low on some device. So I want to set a clip region to disable drawing things which out of screen. So Is it possible? I found tk2dcamera have a "viewport clipping", but I don't known how to use it!
-
The tile map is partitioned and culled outside the viewport. You should try to work out what the bottleneck is before optimising - Its far more likely that you are overdrawing too much or script bound than limited by culled triangles.