how using debug inspector

Get help using Construct 2

Post » Sun May 04, 2014 6:37 pm

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
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Sun May 04, 2014 6:43 pm

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.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,825

Post » Sun May 04, 2014 6:58 pm

@shinkan draw calls show me many percent so its still large search field to find what cause high cpu usage (?)
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Sun May 04, 2014 7:00 pm

25kx25k layout is big, but it should not matter. question is how big and how many objects are you using?
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,825

Post » Sun May 04, 2014 7:03 pm

@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
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Mon May 05, 2014 9:06 am

bump
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Tue May 06, 2014 10:54 pm

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!
If it can be done, someone on the web will show you how to do it!

CDASI Games Mentality Break Splat-a-bug FlapFleet Challenge
B
34
S
12
G
7
Posts: 358
Reputation: 7,148


Return to How do I....?

Who is online

Users browsing this forum: biasaur, Unconnected and 10 guests