Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 495283

大量的计算active 会对性能影响很大么?

$
0
0

我的意思是,比如我的场景可视是100*100 但是可视之外有2000*2000的一个背景,上面有上千个精灵在运动,在显示,我现在做的处理是在这100*100之外所有的精灵都为active false 当运动到这100*100之内的时候才active true,有没有更好的处理方式,就是类似贪吃蛇那种游戏


Viewing all articles
Browse latest Browse all 495283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>