How To Record and Post GIFs Showing Your Game

Hey, welcome back to our developer blog! In this post, we’ll talk about how we create GIFs for our game Lake Ridden. As the person in charge of our marketing assets here at Midnight Hub I’ll walk you through our current process for creating crisp and catchy GIFs; which tools we use, as well as offer you some general tips and tricks for improving the quality of your fancy moving images! On this page, we’re using a WordPress plugin that encodes the GIFs and gives you, the reader, a “play” button on our GIFs. In other words, if you are on a tight bandwidth diet – fear not, no GIFs in this post will load unless you choose them too! Let’s go!

A GIF showing the atmosphere in Lake Ridden. Here I use a static camera and let the particles and fog communicate movement, making it a nice mix between serenity and details. This GIF was posted on our social media and generated a lot of reactions.

When marketing your game photos are nice. But images and screenshots have their limitations when you’re showing off something that’s essentially a moving medium. I find that moving images and snippets of film are often better at delivering the message, compared to screenshots alone. GIFs are quick series of images displayed so that they look like video.

The “art form” has been around almost as long as the Internet itself (and usually contain a lot of cats doing funny things). A GIF can last anywhere between 1 – 30 seconds, depending on the quality, what you want to show and the platform you are sharing them on. A lot of GIFs on Reddit nowadays are really long, almost like YouTube videos, the same goes for Facebook. On Twitter and Tumblr however, people post a lot of 1-3 second long GIFs instead. And some GIFs are looped in such a smooth way it’s hard to tell how long or short the GIF really is.

Keep your GIFs short. I usually aim for 3-4 seconds. This keeps the file size down and the interest up! This GIF is playing backwards, giving it a nice little twist with the fireflies in Lake Ridden.
To spread the word about Lake Ridden we’ve used both images, videos, and GIFs in various combos. I’ve done this to communicate the environments, the gameplay, the color palette, the feeling or something from behind the scenes. For us a good GIF almost always gets more reactions and attraction on our social media channels, compared a simple photo or screenshot. Also, I greatly enjoy making them since it’s kinda creative! There are two main things that make a GIF great; the very content it is showing to the viewer and the tech behind the GIF itself. Not all GIFs are born equal. Let’s start with looking at the tech behind the images.


Technical Settings For Recording A Good GIF

Talking with a lot of developers posting GIFs about their games on Twitter, I noticed that almost all had their own preferred workflow, which I find interesting. Some people used programs like Fraps to capture the raw footage in-game, others used quick and small programs like GifCam, and used tools they had hacked together themselves. It seems like the method you choose is depending on a mix of factors; how much time you have, the desired picture quality and your game. If you want something fast and dirty, and don’t obsess over the quality you usually go with quick tools such as ScreenToGif. But if you want super crisp snippets with perfect color then you might invest in a more complicated workflow.

My advice here is: look at your game, does it have a lot of different colors/details in it? Or is the art style more simple? The more complicated art/colors you have (and if you want to keep them as sharp as possible in the final GIF) go with Fraps. Fraps give you really good raw material when recording your project.

You need to pay attention to the file limits on the platforms where you aim to spread your GIFs. Twitter has a limit of max 15 MB. If your file’s too big, resize it or make it shorter. I use a mix of Fraps and Photoshop to create our GIFs.

Second advice: determine how much time you want to put into making your GIFs. If you just want to capture, edit and throw it out in the wild, then go for a solution that’s quick and doesn’t offer you hundreds of post-processing options (suggestion: LiceCap). If you want to edit and tweak your GIFs extensively, consider using Photoshop + Fraps (YES you can edit video in Photoshop!!1).

A rule of thumb is to make the pixel quality of the GIF as good as possible on your computer, because a lot of platforms will compress it even further when you start spreading it, making the colors bleed or reducing the pixels. Twitter will take your GIF and secretly convert it to a .mp4 when you post. Facebook doesn’t allow for GIFs to be posted at all unless you link them trough a GIF-service like Giphy (more on that later).

Our Technical Pipeline For GIFs

Here are the steps I’m using to capture the raw material for our GIFs and how I tweak the file size if the GIF comes out too big. I use a mix of Fraps and Photoshop.

Remember that a lot of people will probably view your masterpiece in a social media feed. I've noticed it's generally a good thing to tweak the lights and color in Photoshop when you edit the source materials. Small GIFs tend to get overly dark otherwise, especially if they depict a dark scene like this one showing the night sky and its stars.
  1. I make sure to run our game with the maximum graphics settings on my computer. The game should look as good as possible. No lag, no frame rate dips or weird loading/LODs. All hiccups or similar will be extra obvious in the final GIF.
  2. To capture the raw footage I use Fraps. This software has been around for ages and is a faithful workhorse. Consider chipping in a few dollars to get the premium version (I also used Fraps to record our alpha teaser trailer in-game, it’s awesome for capturing anything moving on a screen).
  3. I make sure all the video snippets I record go into the same folder on my desktop. This will make it so much easier when sorting your raw footage and deciding what to cut into a GIF. I have different folders for all GIFs.
  4. When I have decided which of the raw footage I want to make into a catchy GIF I open it up in Photoshop. Photoshop is really simple and straightforward to use for smaller video editing. You don’t have to invest in After Effects or that other advanced stuff unless you want to.
  5. In Photoshop I edit the video, cropping, dragging and adjusting colors, then export it. Go to File->Export->Save For Web and a dialog window should pop up (I use PC).
  6. There are a few things to consider in this window. At first, be aware of the technical limitations of the platform where you’ll be posting your GIF. If you’re aiming for Twitter, make sure the GIF is a maximum of 15 MB. If the GIF file size is too big, resize the image by tweaking image size at the right. The second option is to check or uncheck the box named “Transparency”. Sometimes this reduces the file size but does not affect the quality of the image (?). If the GIF’s still too large, go back into Photoshop and trim down the GIFs length in seconds. This will cut down the size of the file. When you’re happy with all the settings in “Save For Web” make sure to click “Forever” in “Looping Options” if you want your masterpiece to loop into infinity. Then press “Save”. Done!

Our Artsy Pipeline For GIFs

Let’s move on to the fun part! Creating a good GIF is more than perfect picture quality. What you’re showing (or not showing) in your snippet is even more important. Here’s my process when shooting materials for our Lake Ridden GIFs.

After recording raw material in-game I use Photoshop to edit the clip, tweak brightness, add a small water stamp (so people can find the game if the GIF goes off into the wild and people get curious about where it came from). In this stage, I crop the video material to focus on the most important thing in the GIF. It needs to be readable in a thumbnail size (compare to the final results below).

The final GIF showing an important, creepy location found in the game.
  1. Make sure the game runs as smoothly as possible on the computer you’re using to shoot the raw footage. Again, all artifacts, lag or loading will show even more in a 5 second GIF.
  2. Decide what you want to show and why. A good rule of thumb is to stick to one main thing with each GIF. Decide if you wanna show off a cool animation, or perhaps a battle effect or the mood of the game. What will be the star of your GIF?
  3. Record a lot of small snippets in-game, just a few seconds long. I usually have like 15 small videos when I’m done, showing the same thing in different angles, using the camera in different ways, zooming or not zooming etc.
  4. I sort trough the raw material and open my best clips in Photoshop, cut them up and minimize them to really small windows. This way you can decide if the GIF will look good when it’s displayed on a small screen (aka smartphones). In other words; is the image readable? The GIF needs to look good as a really small image since a lot of people browse these things in their Twitter or Facebook feeds. They should be able to tell instantly if they are looking at a face or a dog or a house. If not, people tend to get confused and you missed your chance to evoke their curiosity and eventually reaction to your game/project.
  5. I cut the canvas. Focus on what’s important in the image. Again, it should be readable.
  6. I tweak the brightness/colors and saturation. A lot of the times it’s better to make the image a little bit brighter since I’ve noticed it tends to get even darker when posting to a feed.
  7. For Twitter, I like to keep the GIFs to 3-5 seconds and always go for looping. For Facebook, I go a bit bigger, like 5 – 8 secs. People have very short attention spans and a GIF should be very straight to the point. When in doubt – make the GIF shorter.

Posting GIFs for Twitter and Facebook

If you want to post your GIF to Facebook then you have two options. You can’t post a file in the GIF-format straight to Facebook (this is 2017 like what why?!). You can either use a third party service like Giphy (beware the quality will suffer) and post the link, OR you can be much more elegant and save your GIF in .mp4 format and post it straight to FB. Facebook accepts videos in the format of .avi and .mp4 to be posted straight to your page/wall. This is what we did when we posted our teaser trailer on Facebook.

This GIF post by our code lead Johan focuses on the water in Lake Ridden. This was made to showcase one specific item in the game: the water effect. Try to limit your GIF to showing one thing, otherwise things tend to get confusing and messy. Decide on one component and make it your "star of the show". This could be a funny bug/a new animation or the day/night cycle in the project.
We did not post a link to Youtube but the trailer in .mp4 format on my own personal Facebook page (as an experiment to track the number of views ‘a la Facebook). To post in .mp4 you can use a tool to convert your Photoshop-made GIF to .mp4, or if you’re using a more advanced video editing software like After Effects you can save the video as .mp4. Simply converting your GIFs to .mp4 using GIF-2MP4, a free online tool that does the trick according to my experience!


Get Creative!

Use what you got! I use the player’s default camera in Lake Ridden when recording our GIFs. I tilt the camera, I use the crouch, I walk backward, I stand still shooting moving objects etc. I highly recommend you use different ways of movement/vantage points if possible. This offers variety to the people watching your GIFs and you’re able to do more with less. Try to convince your programmers to implement a special camera for shooting videos and taking screenshots if possible, since that will help out a lot in the long run!

Often you need to find new, interesting ways to show the same content but with a twist. In this GIF I made the camera go out of the scene (compare it to the next GIF below).
Here the camera does a drive by of the scenery instead, which creates a different feeling. Get creative and play around with the tools you have ingame! Just make sure not to post too similar content back to back on your channels or people will find it dull.
A lot of the time I’m working on stuff in the game that I can’t show, so I have to think of new, exciting ways of showing things that I might have posted before. It’s not only about how you’re showing something, it’s also about what you’re showing. A lot of developers also post fun bugs or glitches from behind the scenes or inside the game engine. Think about your audience and ask yourself what they might enjoy. Reddit/gaming usually enjoy insane bugs or humor, while other developers like to see a nice tooltip. Players perhaps want to get a tease on the mood inside your game or your main character in a cool animation. If you have some questions regarding GIFs or know of a better way of doing some of these steps, please let me know in the comments!

Erik and Sara attended the yearly Meet and Greet The Game Assembly event at the game developer school, talking with students and having a great time with other game developers!

This week we attended the Meet and Greet event at the game developer school “The Game Assembly”, here in Malmö. It was awesome to talk with all the students and hang out with other developers! So much energy! Next up for us is attending the yearly Nordic Game Conference in Malmö, in May, where we’ll be showcasing a new part pf the Lake Ridden demo.

Sign up for the Midnight Hub Newsletter or follow Facebook for more news and screenshots. Follow us on Twitter where we GIFs and behind the scenes stuff! Until next time!

Sara & The Team