I have written a top down platform shoot-em up game which I thought was working really well.
The window size was reduce from 1280 x 720 to 640x360 to see if this helps
The layout size is now 1024 x 6144 with a tile background and not individually placed sprites.
All loadable objects are destroyed on layout.
I have about 360 objects in the layout.
I have around 0-130 particles going off from time to time, but only on certain events like a tank exploding.
Image memory use is about 13.5mb
So on my windows machine I get 60FPS (steady, with no drop) which I would expect based on my GPU.
When I run the game using the LAN via the construct 2 web service on my mobile device I get around 30 to 35 FPS (steady) which is great and would be happy with even 25FPS.
but once I export this using Cordova, then build the apk using the Intel XDK tool, then install on my device I am only getting between 5 and 10 FPS.
If I cut any more out of the game (such as objects) I might as well have stick figures running around the page.
I am testing this on a samsung Galaxy TAB 3 device which is not the greatest but I think a good device to base a minimal test on for the game, but not sure why it so slow. I have also tested this on a HTC M8 which is not bad and gets around 15-18 FPS, but still not great.
I am not pushing the game to any real limits that I believe should be restricting this, so I am now at a loss to see why this is running so badly.
I have read the performance improvement pages and have initiated all of them with no gain at all.
Does anyone have any ideas as what to look for or why this is about 10% of the speed after testing on my pc and 60% slower after the web connection test?