Hi,
I just tried building my first game in html5 and it runs very slowly especially when switching between frames. Is this typical or is there something wrong? It seems much slower than Flash. Should I expect this? Thanks,
Brett
Printable View
Hi,
I just tried building my first game in html5 and it runs very slowly especially when switching between frames. Is this typical or is there something wrong? It seems much slower than Flash. Should I expect this? Thanks,
Brett
It isn't supposed to be slower. Did you test it on your PC or a mobile device? If the former, which one?
I tried it on both an iPad and a Mac computer with an i3 processor. On both it ran significantly slower than Flash, especially on transitions between frames.
Hm from what I've picked up, HTML5 seems to have issues on iOS devices. =/
If your app is on a server, has large graphics and sounds, they have to be loaded between frames. This might explain the delay : FLASH apps are loaded all at once at start. It might be a good idea to add a property so that everything is loaded at once at start.
Hi Francois,
How would I make this property so that everything is loaded at the start? Thanks,
Brett
François, si on met dans la première scène toutes les images et qu'on les met en "objets globaux" et qu'on met tous les sons dans les événements globaux : est-ce que ça réduit le temps de transition entre chaque scène ?
J'ai l'impression que oui mais peux-tu confirmer ?
What volgot said : if you put all the graphics in the first frame, all the sounds in the events of the first frame, will they be loaded at start?
The answer is YES, if you check the property "Keep resources between frames" in the HTML5 properties of the application.
But I will make this new "Load at start" property for the next version, and I think it is going to be checked by default.
Thanks François :D
Hi,
Is the version with the "load at start" property available? Thanks,
Brett