how to communicate a time to a global variable ?

Get help using Construct 2

Post » Sat Apr 04, 2015 8:30 am

hello :D

I now discovered the software, but I can not find a way to communicate a time to a global variable that already :? ... I feel the need to create objects for creating clock ??? :shock:

there he has a way of saying "the time of an object" or can you create it PLUSIEUR "global" chronometers scene? :|

thank you in advance :mrgreen:
B
4
Posts: 17
Reputation: 234

Post » Sat Apr 04, 2015 9:11 am

There is the time and wallclocktime expression, you can always access.
When you want to know how long an object has been around, just set an instance variable of the object to time, when you create it. And later you can calculate time -sprite.instancevariable to get the number of seconds this object has been around.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Sun Apr 05, 2015 6:27 am

thank you for your reply I will do that
B
4
Posts: 17
Reputation: 234


Return to How do I....?

Who is online

Users browsing this forum: alajajm, CloveltOc, Draconiz717, GhostDev, Google [Bot], jakeedge02, OddConfection, oddreal, Yasharitsu and 7 guests