i am trying to port a game from Flash/AS3 to OpenFL/Haxe.
And i had problems using SWF animation for HTML5. If several animations are running, then the speed of the game decreases.
I am using a test example https://github.com/vlkozlov/HaxeTest
When 50 simple animations start, FPS reduced to 5.
haxedef name=“canvas” and stage.frameRate = 30 raise FPS to 20.
Real game animation will be even slower.
What are the possibilities of increasing the FPS?
Thanks for your help!