[Plugin] Time-Action Recorder and Player

0 favourites
From the Asset Store
Players follower. use it for anything which follows the player
  • Time-Action Recorder and Player (TARP)

    (Update: 2013/05/01)

    This is a WorkSheet -like plugin, to record the time-action list then play this list.

    The different between TARP and worksheet is, TARP record action in plugin , worksheet reocrd acton by external editor like notepad.

    User need to install timeline first. (Update timeline plugin if user already had)

    Demo

    • drag at gray area to draw something
    • press "Play" to play previous trace

    Capx

    (This capx need to install canvas.)

    Usage:

    A. setup

    Connect to timeline by action: "Setup" (event 1)

    B. recorder

    1. call action: "(recorder) Start" to start recording. (event 4)

    2. call action: "record" to record action with current time. The interface of recorded action is the same as function object. (Call this function with these parameters) (event 5)

    C. player

    1. action: "(player) Load" to load time-action list (Expression: "RecorderList") (event 6).

    User could save RecorderList into webstorage then load it at next time.

    2. call action: "(player) play" to play time-action list. It will run action by call function object.

    Another taptap capx.

  • So, this can be used to record the players movements, then replay them?

  • InvaderX

    It records actions by storing "function call" (function name and it's parameter). Not to save the full moving path (sprite.X ,sprite.Y).

  • Cool, that could be usefull for asynchronous online multiplayer battles.

  • uhm, this is very interesting :)

  • Forgive my ignorance, i downloaded your examples with timeline and canvas plugins and i got

    <img src="http://i.imgur.com/rWV3knF.png" border="0" />

  • Joannesalfa

    Ooops, I will check the plugin later.

  • Joannesalfa

    I had updated these two capx, please download them again.

  • Thanks!

    I edited TapTap version, at first it's missing setup timer.

    So both examples worked.

    I would like to know, is possible to download JSON where i record gameplay as platform and put JSON code in demo scene?

  • Joannesalfa

    The record data could be got by "Expression:RecorderList". It's a JSON format string.

  • WOW, that is really very nice, this can be used in racing games like to record the race. <img src="smileys/smiley4.gif" border="0" align="middle" /> Just an idea.

    Thanks.

  • Update

    • Support save/load system
    • User does not need to assign timeline object if there is only one timeline object in the environment.
  • rexrainbow's TARP - TapTap.capx is awesome for music games like Dance Revolution, but how synchronize music and tarp? When start playing music then start tarp. And how record more than one tarp??...

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • dasa

    The recorder is a level design tool for music games, to record the key press (or something else). You could save the result to a file. Put each record list into different file.

    Then create another capx to be game-play application. Get these saved files by AJAX.

  • Rex

    ok...I synchronize my song and recorded session...and I'm a noob...when I run recorder layout and record keys...where RecorderList save? How I play same recorded session more than once?? How save session?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)