[WIP] RePlay - Record and Playback Gameplay

Over the last couple weeks at work I developed a novel method of storing a users gameplay session using AnimationCurves and then playing back their entire session afterwards in order to emphasize the training aspect of our project.

Then, feeling moderately inspired, and like this could be useful for other developers, I rewrote it from scratch at home and put together a simple demo to see if there is interest in something like this.

If there is interest, then I can polish this up and spend more time and put the code up for the community

What it does:

  • records object attributes at runtime and stores in a series of curves
  • plays back and allows scrubbing of stored data
  • fast!

Possible further uses and applications

  • capturing physics interactions into animations in editor
  • only capture a set amount of time to keep data amount down
  • would love to hear other suggestions or ideas!

Demo: <link

4 Likes

VERY interested in this! I tested the demo file and it was fast and smooth (even running via Parallels on my iMac). There are some similar solutions currently on the Asset Store, but my first impression of them was that they seemed clunky/outdated/no longer supported.

I’ll check out the other offerings soon and compare to help you see if there is indeed potential here. A quality, efficient replay system that can handle recording physics objects would be very desirable for a lot of games IMO.

@HakJak1 I’ll set up a package later today and send you a package to test out

1 Like

Here is the first package with a basic setup demonstrating the ability to track a transform component of an object.

Each object that you would like to track and recordr must have a time line actor script attached to it in order to actually track it.

2633113–185127–RePlay_2016_05_12.unitypackage (200 KB)

Hey Haagndaaz,

This looks really promising, do you have documentation for this asset ? are you still working on it ?