Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/you-win/godot-gif-getter
Records and exports a gif from your Godot game.
https://github.com/you-win/godot-gif-getter
gifs godot
Last synced: 9 days ago
JSON representation
Records and exports a gif from your Godot game.
- Host: GitHub
- URL: https://github.com/you-win/godot-gif-getter
- Owner: you-win
- License: mit
- Created: 2021-03-02T04:12:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T16:36:13.000Z (about 2 years ago)
- Last Synced: 2024-08-02T06:17:34.760Z (3 months ago)
- Topics: gifs, godot
- Language: GDScript
- Homepage:
- Size: 3.28 MB
- Stars: 40
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-godot - Godot Gif Getter - An in-game utility for recording and saving GIFs (written in GDNative Rust). (Plugins and scripts / 3D)
- awesome-godot-3 - Godot Gif Getter - An in-game utility for recording and saving GIFs (written in GDNative Rust). (Plugins and scripts / 3D)
- awesome-godot-3 - Godot Gif Getter - An in-game utility for recording and saving GIFs (written in GDNative Rust). (Plugins and scripts / 3D)
README
# Godot Gif Getter
An ingame utility for recording and saving gifs for Godot.Requires very little configuration to actually use. Just drop the scene into your project and the default settings should be good enough. The frame rate, save location, capture frequency, threads, and ui toggle hotkey can all be configured in the UI.
Uses the [image-gif](https://github.com/image-rs/image-gif) Rust library for encoding gifs.
It's pretty fast. The below gif of a gif capture shows the program using 4 threads to render 60 frames.
![It's not so slow anymore!](demo-desktop.gif)The resulting gif.
![](demo-result.gif)Used to make use of [godot-gdgifexporter](https://github.com/jegor377/godot-gdgifexporter) for gif creation. That was too slow for longer gifs.
Inspired by [this reddit thread](https://www.reddit.com/r/godot/comments/lv7pon/not_for_a_game_but_i_made_a_short_animation_using/).
## Quickstart
Add `addons/godot-gif-getter/GifGetterUI.tscn` to your scene. Click on the 'Capture now' button in the top left corner. Wait for the gif to be processed and saved.The UI is automatically hidden when recording frames.
## Limitations
- If you are using transparent backgrounds in your project, gifs will not capture correctly. It's still kinda cool but probably not expected.![](demo-result-bad.gif)
- Cross-compilation is not supported. You can currently build on windows and mac.
- Mac built for version: `Big Sur 11.5.2`## Building
- Install [rust](https://www.rust-lang.org/tools/install)
- Run `${REPO_ROOT}/build-and-move-dll.sh`
- Copy or soft symlink `${REPO_ROOT}/addons/godot-gif-getter` to `${YOUR_PROJECT_ROOT}/addons/godot-gif-getter`## License
See [LICENSE](LICENSE).