Something cause very high cpu utilisation and i dont know where looking for this bug
My game have wery big layout 25k x 25k and very big tiled backgrounds but when spaceship dont moving everything is fine
In the debugger there is something called "Profile" - next to "Inspect" and "Watch" on the right side. It will show you some % of things that makes CPU hard times.
shinkan draw calls show me many percent so its still large search field to find what cause high cpu usage (?)
25kx25k layout is big, but it should not matter. question is how big and how many objects are you using?
Develop games in your browser. Powerful, performant & highly capable.
shinkan in my game is max 125 objects in whole layout
Yeah i have 20 big sprites and very large tiled backgrounds (stars)
biggest sprite have 1500 x 1500 pixels
bump
Hi Delgado,
This tut from Ashley is a must read if you haven't done so already - it will completely change your approach as you design any game.
Happy constructing!