"Key is down" and "is touching object", does not synchronize

Discussion and feedback on Construct 2

Post » Thu May 19, 2016 10:07 pm

If you make an object spin by "key is down D" --> "Rotate 10 degrees clockwise". It spins.
However if you make the object spin with "Is touching Obj" --> "Rotate 10 degrees clockwise". It spins, but it spins faster, how come? I have the theory that "is touching object" refresh faster then "key is down", in the construct 2 system itself.

It's kind of hindering when playtesting on my computer instead of on my phone, so please do come with advice for me.
B
9
S
1
Posts: 26
Reputation: 731

Post » Thu May 19, 2016 10:36 pm

That's why we have v-sync.
Check out the rotate behavior, and do a forum search for dt, or delta time.
Image ImageImage
B
172
S
50
G
183
Posts: 8,440
Reputation: 115,599

Post » Fri May 20, 2016 8:34 am

Thank you very much, it's fixed now! :D
B
9
S
1
Posts: 26
Reputation: 731


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests