hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.47k stars 638 forks source link

Turn the game into a gif #1841

Open zrcoder opened 2 years ago

zrcoder commented 2 years ago

What about supporting to turn the whole game into gif? for example, api like below:

func ParseGif(game Game) (*gif.Gif, error)
hajimehoshi commented 2 years ago

Actually Ebiten v1 had such API but was removed since it was very heavy to record screens as a gif animation.

If you want, you can record screen of Draw function.

kagzgenius commented 3 months ago

I am not seeing any functions to record the screen. Do you suggest using OS-level screen capture like the one available on most Macs?