This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Generate a 2d light for Godot | |
local rgba = app.pixelColor.rgba | |
local cel = app.activeCel | |
if not cel then | |
return app.alert("There is no active image") | |
end | |
local bounds = cel.bounds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import re | |
import sys | |
from functools import total_ordering | |
from pprint import pprint | |
def printUsage(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for tag IDs see: https://partner.steamgames.com/doc/store/tags | |
# for games in a particular tag see: https://store.steampowered.com/search/?tags=<tag_id> | |
tags = [ | |
{'tag_name': '2D Fighter', 'tag_id': 4736}, | |
{'tag_name': '2D Platformer', 'tag_id': 5379}, | |
{'tag_name': '3D Fighter', 'tag_id': 6506}, | |
{'tag_name': '3D Platformer', 'tag_id': 5395}, | |
{'tag_name': '4X', 'tag_id': 1670}, | |
{'tag_name': 'Action Roguelike', 'tag_id': 42804}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
// Adapted from https://jacksondunstan.com/articles/3718 | |
public static class CoroutineUtils | |
{ | |
// Calls a coroutine but if there's an error in that coroutine, it'll log the error & return | |
// instead of just killing the caller. | |
// | |
// Call it like this: |