Problem with delta time on single object (Solved)

Get help using Construct 2

Post » Thu Sep 05, 2013 2:20 am

I have a sprite with a custom movement called "Player"

I have a simple movement that when the Player Sprite is rotating, it Sets its X movement to X to Player.X-90* dt

This works fine, the problem I have is that:

If I try to set delta time for Player on 2.0 it does not work.
BUT if I set delta time in general for 2.0 it works.

My conditions and actions relate with the Player so what does delta time on an object effect besides the speed of a behavior?drexegar2013-09-08 19:07:40
B
6
S
1
Posts: 8
Reputation: 366

Post » Sun Sep 08, 2013 7:06 pm

I figured it out, I needed to write as: (objectname).dt

so instead of:

Player.X-90* dt

I had to put:

Player.X-90* Player.dt

B
6
S
1
Posts: 8
Reputation: 366


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Syazanie Amirin, tarek2 and 10 guests