All Projects → henriquelalves → GodotRecorder

henriquelalves / GodotRecorder

Licence: MIT License
A simple addon to record frames of in-game footage.

Programming Languages

GDScript
375 projects

Projects that are alternatives of or similar to GodotRecorder

Dialogic
💬 Create dialogs, characters and scenes to display conversations in your Godot games.
Stars: ✭ 414 (+780.85%)
Mutual labels:  addon, godot
Godot Engine.file Editor
A Godot Engine addon that adds a File Editor for multiple file types editing. Create and Write plain text files, configuration files and csv files with custom visualizers and previews. Also supports file translations!
Stars: ✭ 70 (+48.94%)
Mutual labels:  addon, godot
Texture-Fonts
Godot Plugin for creating custom Fonts from Textures
Stars: ✭ 59 (+25.53%)
Mutual labels:  addon, godot
Cartographer
A GPU powered Terrain editor and renderer for Godot Engine
Stars: ✭ 216 (+359.57%)
Mutual labels:  addon, godot
godot-gdgifexporter
Gif exporter for Godot made entirely in GDScript
Stars: ✭ 85 (+80.85%)
Mutual labels:  gif, godot
VisualNovelKit
Combo of addons + template to create narrative games in Godot inspired by Ren'Py
Stars: ✭ 78 (+65.96%)
Mutual labels:  addon, godot
Godot Command Palette
A quick file finder and command palette for the Godot game engine.
Stars: ✭ 27 (-42.55%)
Mutual labels:  addon, godot
Godottie
A simple Text Interface Engine to control text output (like in a RPG dialogue) for Godot.
Stars: ✭ 230 (+389.36%)
Mutual labels:  addon, godot
nativelib-cli
NativeLib is a plugin management system for Godot engine.
Stars: ✭ 19 (-59.57%)
Mutual labels:  addon, godot
godot-trackball-camera
A short Godot addon that adds a TrackballCamera node without gimbal lock.
Stars: ✭ 22 (-53.19%)
Mutual labels:  addon, godot
godot-engine.supabase
A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.
Stars: ✭ 39 (-17.02%)
Mutual labels:  addon, godot
redminetoolbar
Firefox add-on to improve handling of Redmine projects
Stars: ✭ 27 (-42.55%)
Mutual labels:  addon
drop-feeds
Drop Feeds is a Sage / Sage++ like addon (webextension) for Firefox Quantum
Stars: ✭ 18 (-61.7%)
Mutual labels:  addon
reactnative-gallery-web
🎬 visualize RN apps at a glance
Stars: ✭ 54 (+14.89%)
Mutual labels:  gif
gcnet
GCNet (GIF Caption Network) | Neural Network Generated GIF Captions
Stars: ✭ 14 (-70.21%)
Mutual labels:  gif
ember-cli-daterangepicker
Just a simple component to use bootstrap-daterangepicker.
Stars: ✭ 32 (-31.91%)
Mutual labels:  addon
Easyscape
Runelite plugin to make Runescape easier. (ARCHIVED) This is not actively developed and are now against Jagex TOS
Stars: ✭ 14 (-70.21%)
Mutual labels:  addon
gd-YAFSM
Yet Another Finite State Machine for godot
Stars: ✭ 158 (+236.17%)
Mutual labels:  godot
PlusTiC
Minecraft mod for adding new tools to and integrating various mods with Tinkers Construct
Stars: ✭ 34 (-27.66%)
Mutual labels:  addon
godot-tester
A Github Action to handle testing Godot applications with GUT
Stars: ✭ 15 (-68.09%)
Mutual labels:  godot

GodotRecorder

A Godot addon to record frames from in-game footage. It won't create GIFs by itself, but the node will create images of the content inside it, so you can use those frames with other software to create GIFs.

Platformer 3D example Platformer 2D example

This is a Game Development helpers tool, and not optimized to be used on the final product (probably). It can still be used and the code is very readable though, so hopefully it can be easily modified to suit any needs.

How to install

Simply copy the 'addons' folder to your project and enable it on the 'Addons' tab, on Project Settings.

Using it

After adding the "Recorder" node to your scene, you can change its size and position to match what you want your frames to record - you can even make it follow a character by making it a child of the specific scene you want, saving some editting time afterwards when you create a GIF out of the frames you recorded (this is the particular reason I created this node).

To record the frames, while testing your project:

  1. Press "R" to start recording the frames.
  2. Press "R" to stop recording the frames.
  3. Press "S" to save the recorded frames on the 'out/' folder (it'll be created if it doesn't exist) inside your projects folder.

Script variables and constants

  • Frames per second: the number of frames it will save on each second.
  • Output folder: the name of the folder inside your Godot project folder the output images are going to be saved (default is 'out').
  • Flip Y: Flip the image vertically - since images y axis goes the other way than the engine y axis, this should stay TRUE.
  • Use Thread: You can unleash the power of threads to make the game NOT freeze when saving the images after recording.

Inside the script, there are the constants "RECORD_KEY" and "SAVE_KEY", not surprisingly for the respective keys to record and save the image frames. You can also change them to the key you want to use (default is "R" and "S").

Known problems

  • If the frame is too big, the game might shutter a lot during recording (possibly because image.blit is a very expensive operation, I might investigate that).
  • Sometimes the first frame recorded shows the label on the upper-left corner (you can just delete the first frame before creating the GIF).
  • Sometimes the label won't show on the game, but the addon works just fine.

Creating the GIF

If you are on a Linux machine, you can follow those easy instructions: https://askubuntu.com/questions/648244/how-to-create-a-gif-from-the-command-line

You can also use websites to create your gifs: https://giphy.com/create/gifmaker

Other tools

I created this addon so I could have an in-engine option to create my GIFs - you can also use screen-recording tools (that are probably much more efficient); some of them are listed here:

Thanks for the guys at mastodon.gamedev.place for the tips!

Why creating GIFs for my games is important?

https://www.gamasutra.com/blogs/BundyKim/20160707/276365/Marketing_in_Motion_A_Year_of_Making_Gifs.php https://www.gamasutra.com/blogs/MattMirrorfish/20160105/263028/Promoting_Your_Game_With_Animated_GIFs.php https://www.gamasutra.com/blogs/SaraCasen/20170428/297065/How_To_Record_and_Post_GIFs_Showing_Your_Game.php

TLDR: sometimes it can be a lot better than a static image to promote your game.

License

All addon code is MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].