Hi there,
I m new on Construct 2 and I have a problem with my game, in truth a HUGE problem. My game is a vertical scrolling game where a player must avoid things that falling from the sky, and after must climb them. The problem is this: I think that the physical objects are causing a lot of lag on my game especially at the beginning of the game, but in debugger mode "the events" are the first on consumption level.
I' ve searched on the forum for solutions and I've tried these with poor results:
-Use SpriteFont
-Use "Every X seconds" instead of "Every tick"
-On start of layout delete the sprite out of the layout that are useless
-Use Box2D asm.Js
And I create this event to eliminate the exponential growth of the objects: [attachment=0:2wtqv42l][/attachment:2wtqv42l]
Right now:
On single core device: Lag everywhere
On dual core device: Lag on start of the game the first time you launch, after the game work smoothly
On quad core device: Work smoothly
I tested my game on many Android devices: Galaxy W (single core), S2 (dual core), S4 (quad core), Note 8.
My question is this, I would be able to publish my app on a wide range of devices, is there any other solution to make it more smoothly?
I build my app with Crosswalk for Android, can be a problem?
If you want I'll publish the Event Sheet though the name of the objects are italian because I'm Italian
Thanks for your time!