Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • PostDrawEvent.txt

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

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.

Files

Previews only

GameMaker Studio 2 - Animated GIF Tutorial

Record and save an animated gif using frames from any surface in GameMaker Studio 2 ▶ Support my work: https://www.patreon.com/shaunjs

Comments

Anonymous

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!