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

rex_tarp

Plugin, ACE table, Discussion thread
Dependence:
  • rex_timeline plugin
  • official function plugin, or rex_function2 plugin

Introduction
Time-Action Recorder and Player, to record actions or play actions with time.

Usage
Sample capx , sample capx2
Concept
This plugin has two parts,
  • Recorder: Record actions with time-stamp. It could be used for level editor.
  • Player: Play actions at specific time. It could be used in game to play actions recorded by recorder.
Note that there will have a little deflection error, since the actions in player could not be run accurately at time.
Recorder
  1. Call "Action:Start" to start time-stamp.
  2. Then call "Action:Record" for each recorded action. The interface of recorded action is the same as function object. i.e. Call this function with these parameters.
  3. After recording finished, the result of recorded actions could be got by "Expression:RecorderList". This record result could be used in player.
"Action:Pause", "Action:Resume" could be used to pause or resume time-stamp.
Player
  1. Call "Action:Load" to load record result.
  2. Then call "Action:Play" to play this actions list, it will call function at specific time with parameters.
"Action:Stop", "Action:Pause", "Action:Resume" are used to control the player.

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