How do I improve distance joint performance?

Get help using Construct 2

Post » Wed Aug 13, 2014 6:47 am

I made chain object, using distance joints. When I start layout everything goes smoothly but after one min ( or something ) performance badly crash. Time seem only reason why this happen. I can shoot, move objects and so on and everything goes smoothly but after some time performance crash. This happen even if i don't do anything. Just start that layout and wait.

Any idea how to fix this?
B
7
S
1
Posts: 36
Reputation: 556

Post » Wed Aug 13, 2014 7:05 am

Have you tried the debug to see what is flooding your memory (I would guess that's what it is)

Without seeing the capx, it's really impossible to say what is going on..
Could be you are creating objects every tick..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Aug 13, 2014 7:41 am

on start physics simulation seem use like a 2% CPU and when time goes forward it go up until reach 100% and crash.
But actually you helped me already =) I change "every tick = create physics distance joint" to "start of layout= create physics distance joint" and everything go smoothly.

so thank you! =)
B
7
S
1
Posts: 36
Reputation: 556


Return to How do I....?

Who is online

Users browsing this forum: humanescape, Klarner, worm1 and 27 guests