How to make different timing on instances

Get help using Construct 2

Post » Wed Dec 17, 2014 11:32 pm

Hi all,
I have a moving platform in my game and my question is how do i make the next platforms move with slightly different timing? So that they dont move at the same time. preferably so that the code isnt too cpu expensive.
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Thu Dec 18, 2014 12:11 am

What you are using to move the platforms?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Thu Dec 18, 2014 8:28 am

you could do it like so
You do not have the required permissions to view the files attached to this post.
B
257
S
42
G
15
Posts: 1,992
Reputation: 41,415

Post » Thu Dec 18, 2014 10:26 am

Could use timers
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Dec 18, 2014 3:24 pm

A0Nasser im using variable "right" and "left". Left = simulate direction left, wait x time, change variable to right. Which is the same only simulating direction right. Im going to have a look at the Capxs around here
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Thu Dec 18, 2014 5:16 pm

Thanks guys for the capxs :) solved the problem
B
8
S
4
G
1
Posts: 191
Reputation: 1,873



Return to How do I....?

Who is online

Users browsing this forum: RIDETHEPIG and 4 guests