SamSuka
shaunjs
shaunjs

patreon


GMS2 Animated GIF Tutorial

As of 2.2.2 stable runtime release you can now record GIFs in game using any surface. Here I show setting that up in a simple way using the application surface to record the whole game.

Attached to this post is the script as run in the post-draw event. You'll need to swap out the size macros RESOLUTION_W and H for your own sizes and remember to declare gifRecord in the create event.

Hope you enjoy this! Public release on Friday.

GMS2 Animated GIF Tutorial

Comments

Hello, I tried this out in a project of mine, and the result looks like this: https://giphy.com/gifs/VJ5X2bJzpLllS7taHN (palette flickers on some objects even when there's low color count) I even created a new project to see if anything messes up the gif making, but to no avail, same thing happens. Any idea why this flickering happens? It may be some video card problem... or something in Game Maker I should set before. Thanks in advance!


More Creators