lukaMis Posted June 23, 2014 Share Posted June 23, 2014 Hi I have checked documentation and found nothing.Is there any build in help method to get total elapsed game time or total elapsed current state time? I am implementing global time limit and total points will be dependent on time left when reaching goal. What would be best approach for that? tnxLuka Link to comment Share on other sites More sharing options...
wayfinder Posted June 23, 2014 Share Posted June 23, 2014 Store the time at startup:startTime = this.time.now;Then compare it to this.time.now when you are evaluating. lukaMis 1 Link to comment Share on other sites More sharing options...
lukaMis Posted June 23, 2014 Author Share Posted June 23, 2014 @wayfinder tnx. Works like charm. Link to comment Share on other sites More sharing options...
Recommended Posts