摘要: Laya 分帧加载优化 @author ixenos Flash中的EnterFrame事件在Laya中等同于Laya.timer.frameLoop(1,...) 阅读全文
posted @ 2018-11-13 15:57 ixenos 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: Asynchronous ActionScript Execution Introduction In Flash Player, both the execution of ActionScript and screen rendering is handled in a single threa 阅读全文
posted @ 2018-11-13 15:40 ixenos 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Laya 类列表加载优化 @author ixenos 类列表:在一个页面展示的大量的零散单元的集合(聊天面板、背包) 一、按展示优化1.展示内容少,即使大量数据,但用户只看到少量信息的时候,考虑按需加载2.展示内容多,此时不仅要按需加载,还要在渲染时进行分帧优化(或者多线程) 二、实例分析1.聊天 阅读全文
posted @ 2018-11-13 15:33 ixenos 阅读(754) 评论(0) 推荐(0) 编辑