hiloteam / Hilo

A Cross-end HTML5 Game development solution
https://hiloteam.github.io/
MIT License
5.93k stars 865 forks source link

hilo 在Android上的性能问题? #143

Open huyansheng3 opened 5 years ago

huyansheng3 commented 5 years ago

用hilo写了一个项目,项目地址 https://github.com/huyansheng3/hilo-h5

项目访问地址(请在微信内打开) : http://lsd.hongyu.ren/index.php?lc=6&sui=3bV3c81B&from=singlemessage&code=081P3ZLJ09JGN82ycSLJ0TqXLJ0P3ZLA&state=584bc87e11ff37492

实际发现在Android上挺卡,当然也有因为素材比较大,没有拆分很细导致。这块儿有什么比较好的方式去优化吗?

直接更换为webgl模式发现 sprite无法渲染出来。

zhangrunhao commented 5 years ago

我也遇到了这个问题, 好像是因为不断new Bitmap等一系列独享, 没有销毁的原因, 等待官方的一个解释.