How do I know whats lagging my game

Get help using Construct 2

Post » Wed Oct 22, 2014 4:21 am

I have a question, my frame rate starts getting low in my game and my player falls through my collision. Whats the best to find out what the issue is? Is there something I can look at when im in the debugging mode?
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Wed Oct 22, 2014 6:34 am

Collision checks is a good way to start. Also disable collisions on anything you don't check collisions on. check each images polygons on all sprites. then try and make collision events not subevents
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed Oct 22, 2014 6:56 am

Debug - check collisions. If they are more than 100K then there is something wrong.

In debug mode go to profile and check which part uses load (engine, event sheet, psyhics etc). This will help you to fix the issue!
B
10
S
1
Posts: 56
Reputation: 654

Post » Wed Oct 22, 2014 8:38 am

One of the most effective way to tell what is slowing your game down, is to look at the debugger and see what are the aspects that changes the most once the game starts to lag. From there, you can make the necessary changes. Like what the others mentioned, collisions can take a huge toll on your game if not used effectively.
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Wed Oct 22, 2014 11:22 am

If there is an unclosed or un nessisary loop it may be the problem
B
9
S
3
G
2
Posts: 53
Reputation: 1,789


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 7 guests