rex_tarp
Introduction
Time-Action Recorder and Player, to record actions or play actions with time.
Time-Action Recorder and Player, to record actions or play actions with time.
Concept
This plugin has two parts,
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.
Recorder
- Call "Action:Start" to start time-stamp.
- 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.
- After recording finished, the result of recorded actions could be got by "Expression:RecorderList". This record result could be used in player.
Player
- Call "Action:Load" to load record result.
- Then call "Action:Play" to play this actions list, it will call function at specific time with parameters.