Same objects with different attributes

For questions about using Classic.

Post » Sun Sep 12, 2010 6:16 am

Hi,
I've built 2 platforms (a solid object with the Sine behavior) but I want different periods for each. Do I have to insert different objects for each period?

Thanks in advance.
B
2
G
2
Posts: 31
Reputation: 712

Post » Sun Sep 12, 2010 9:46 am

Nope, you won't need to make two objects. Give the sprite a private variable, set the variable to 0,1,2,3 etc and then in events say, "if PV is 2 set period 3000" and so on.
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Sun Sep 12, 2010 10:18 am

Thanks a lot.
B
2
G
2
Posts: 31
Reputation: 712


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest