Close
Advertise Here
Results 1 to 1 of 1
  1. #1
    I am the Night Killswitch's Avatar
    Join Date
    Jul 2013
    Location
    On the highway to hell
    Posts
    10,969


    1 members found this post helpful.

    Creating a GIF for your game

    Since many people on itch.io used animated cover images I figure we should have a thread with some GIF creating resources. I'm on Linux, so I can't vouch for the tools on for the other platforms. If you have any suggestions please leave a reply.

    Windows



    OSX



    Linux

    These are just some scripts I quickly put together, suggestions appreciated.

    I use this script to snap a bunch of frames of a specific window:
    #!/bin/bash
    read w h x y <<<$(xwininfo -stats | grep geometry | grep -o '[0-9]\{1,\}')
    echo "Recording ${w}x${h} at ${x},${y}..."
    ffmpeg -f x11grab -r 25 -s "${w}x${h}" -i ":0.0+${x},${y}" %09d.png
    After picking out the frames I want, and deleting the rest, I'll combine the result into an optimized gif like this:
    #!/bin/bash
    delay=3
    gm convert -delay $delay -loop 0 $(ls *.png | sort -V) _tmp.gif
    gifsicle --colors 256 -O2 _tmp.gif -o out.gif
    rm _tmp.gif
    Source: http://itch.io/t/12612/creating-a-gif-for-your-game

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •