0 votes

Is there a way to record the gameplay to generate replay video's in Godot?
What about screenshots?

I found this:
https://godotengine.org/qa/12164/as-in-the-game-to-take-a-screenshot

Functions like get_screen_capture() seem to have disappeared in Godot 3.0

Wouldn't this be a nice feature?
I'm thinking of scenario's where players could share their best moments online and compete with each other.

in Engine by (12 points)

1 Answer

+1 vote

You can use get_viewport().get_texture().get_data() to get one frame, to encode them as a video you would need to utilize some kind of third party encoder

by (1,022 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.