Hello! I’ve recently been playing a game called Clip It and I am intrigued by the screen recording and playback feature. I looked into wether there are any APIs offered by Roblox that can achieve this but did not come across any. Could you guys give me your thoughts on how to achieve such a result in a game (record and playback the recording)
As @J_lukasval Clip it, uses a lot of viewport frames…
But as for there screen playback/pause, I’m unsure of how they do this, but in my mind, how it should be done. Is saving the data of each something something in a datastore (multiple datastores probably)
Which is why you can pause and rewatch it. As it stops per something something and saves per something something (Don’t know the actual measurements lol)
I mean, its technically possible to make screen playbacks and allat.
Just have a script that records only necessary parts of the screen of whatever camera is inserted and then get all of the objects and copy paste it into a model “scene”
Then have a option to play the scenes.
The scenes are enumerated through 1 to how many scenes it has recorded. Probably at 60 or 50 fps for quality performance. I have done this with a script that records physics and turns them into a short animation.
Aswell for the datastore, that becomes a problem because you have to individually save every instance of the current frame. Its possible, but its hard.
But, pretty sure that’s how Clip it does it, otherwise how does it save clips over sessions?
I loaded into the game just now and got random clips of users not in my server, it’s def a algorithm of some sorts choosing random players and random/recent clip from that player.
They could be creating a datastore for EACH player or using profileservice, or doing there own completely entire thing.
This one is theoretical, i haven’t mentioned this but its similar to the ideas im giving, just that the dev behind it has more knowledge of what to do.