Skip to content

Instantly share code, notes, and snippets.

@mxashlynn
Last active February 23, 2024 01:16
Show Gist options
  • Save mxashlynn/e24cdb149d75d3926498e7293c73ec6a to your computer and use it in GitHub Desktop.
Save mxashlynn/e24cdb149d75d3926498e7293c73ec6a to your computer and use it in GitHub Desktop.
Game dev from the CLI.

To flatten in-place an image exported from Tiled, with GB Studio sprite background color:

magick mogrify in.png -background "#65ff00" -alpha off -flatten

To rename a tag already commited and pushed in git:

git tag new-name commit-hash-old-name-pointed-to
git tag -d old-name
git push origin new-name :old-name
git fetch --prune --prune-tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment