DoanNguyen

Hi i am having problem using more than 8 objects. On the computer, the display is normal, but on the phone, the error is displayed. Who can help me ?
Link demo: https://qualtech.asia/spineboy/
DoanNguyen
  • Messaggi: 2

Nate

I'm afraid the browser has a limit to how many canvases you can have:
Memory management issues with JavaScript

We juggle the canvases on our demos page as you scroll to make it seem like there are more than 4:
Spine: Demos
The code for the demos is in spine-ts/webgl/demos in the Spine Runtimes, where you can see how we do it.
Avatar utente
Nate

Nate
  • Messaggi: 12016

DoanNguyen

Nate ha scritto:I'm afraid the browser has a limit to how many canvases you can have:
http://esotericsoftware.com/forum/Memory-management-issues-with-JavaScript-9442?p=42855#p42855

We juggle the canvases on our demos page as you scroll to make it seem like there are more than 4:
http://esotericsoftware.com/spine-demos
The code for the demos is in spine-ts/webgl/demos in the Spine Runtimes, where you can see how we do it.
Thanks. I will try
DoanNguyen
  • Messaggi: 2


Torna a Bugs