I've done so many changes to increase performance and still a pain in the ass to run smoothly. The game run with lots of lag spikes and slowdowns but sometimes, in a short period of time, run smoothly. I'm starting to think that a game based on physics behavior is not possible for mobiles.
Alright here it is all the data about the game's performance running on my Xperia L. Also I've tested in a Samsung S3 as well and it's a little bit worse, which is weird because it has a better cpu.
All tested using wifi and chrome browser.
CPU: 45~80% (mostly around 70%)
Object count: Around 85
Image memory usage: Around 20mb
Colision Checks/sec: 150~500 (mostly around 350)
Poly checks/sec: 0~150
Pixel rounding: off
Physics engine: Box2d web
Construct 2 version r192
Clear Background: No
I'm using tiled images instead of sprites when it's possible. Actually, after doing this, my object count went from ~700 to less then 100 and still had a small effect on performance.
I have less then 30 objects with physics behavior at the same time.
Only one event is using 2 particle effects at the moment, which is the fire when I shoot. Their rate is 10 and 20 and last less then a second or two.
PLEASE, if I forgot any information let me know. I really don't want to leave this project just because apparently it seems impracticable, which I don't believe.
I appreciate a lot any help.