Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_time_away

Plugin, ACE table, Discussion thread
Dependence: official webstorage plugin

Introduction
Get elapsed interval of turned off game from  webstroage.

Usage
Start timer and get escaped time
Sample capx
  1. Call "Action:Start" to start a timer by recording current time-stamp saved in webstorage by "Key" parameter.
  2. Get escaped time by "Expression:ElapsedTime", in second.
Remove timer
Call "Action:Remove" to remove the timer.

Compare with timer in date plugin
This plugin is similar with the timer feature in date plugin, they get interval by time-stamp. The different is, this plugin saves time-stamp into webstoragem so that it could get interval of turned off game.

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About