I love to take a snapshot of my favorite games on ROBLOX, or do a recording. It would be awesome for Twitch / etc if we can do some kind of Recording event / Snapshot event so that we as developers can hide certain UI elements or atleast give them the option to do it
Or you can be a troll and crash the player everytime they try to get a screenshot or footage of your game. lololol
No but seriously, events would be a cool thing to have.
In that case I’ll just use an external program, preventing event triggering
Though I don’t record, and screenshots depends on whether what I’m doing is on-the-fly or something I’m faster off cropped and not saved.
Certainly, specializing for watermarks, in-game footage and e.g. hiding players to get scenery screenshots is cool!
A non-yielding function would be better. We do what we need to in the function and then a screenshot is taken/a video is recorded. Likewise, an event could be added for after it’s completed.
So a callback?
I can see something like this working well for roblox’s built in screenshot and recording features. For screenshots roblox could briefly hide the CoreGuis or not render them in the shot(however they do that).
I’d use it to play an animation of the player taking a photo and detecting who was caught in the shot
Keep in mind, that behavior would only be beneficial for places wanting that kind of behavior. Surely, you wouldn’t like a start/loading screen to miss when you take a screenshot, revealing important map structures and hidden spots.
Not too sure how you’d do with a Callback in this situation. My approach would be an event before taking screenshot / recording video, and after taking screenshot / finishing recording video. If anything fails for the screenshot-mechanism, you can turn back stuff within say 5 seconds. Though I do see why a callback may be useful for before taking screenshot / recording video.