How do I change time scale of a physics object?

Get help using Construct 2

Post » Fri Jul 21, 2017 8:52 am

Hello, when the time scale is equal to 1 the physics ball collide with another object (trampoline) and the ball jump, but when the time scale is equal to 2 the ball does not jump or jump with a higher force. How to fix this problem?

capx file: https://www.dropbox.com/s/fe8yb57x0z4v5gk/Physics%20time%20scale%20problem.capx?dl=0
B
10
S
4
Posts: 49
Reputation: 900

Post » Fri Jul 21, 2017 11:36 am

Time scale does not increase physics force or anything at all, it just makes the game runs twice as fast, with the same values and parameters.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Fri Jul 21, 2017 1:02 pm

But how can my problem be fixed? I want the object go to the same place when it collide with the trampoline object when the time scale is 1 or 2
B
10
S
4
Posts: 49
Reputation: 900

Post » Fri Jul 21, 2017 3:02 pm

I checked your capx file, I added variable called force on 1x time scale its value is 300, on 2x its 150. Then on the force apply event I changed the 300 to the variable force and now it jumps the same. But the falling speed is still faster in 2x then 1x but the results you get are same.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sun Jul 23, 2017 5:40 pm

It works but not well, there are also some mistakes.
But it is better If there is another way.
B
10
S
4
Posts: 49
Reputation: 900


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests