Skip to content

Instantly share code, notes, and snippets.

@patrickgh3
patrickgh3 / simple_tilegen.py
Created September 9, 2014 00:29
Simple tileset generator that was useful and good practice to write.
# generate dem tiles
# author: Patrick Traynor 9/8/14
# Generates a tileset image from a source image of the solid, edge, outside
# corner, and inside corner sub-tiles (mini or corner tiles). Sub-tiles are
# rotated, as opposed to supplying variations of each sub-tile for each
# orientation.
# I hope somebody finds use of this script or draws some inspiration from it
# or something. It was useful to me, so I figured I may as well share it.
@patrickgh3
patrickgh3 / list_unused,py
Last active September 25, 2015 02:18
List unused resource files in a GameMaker:Studio project.
# Lists files in a GameMaker: Studio project that are no longer referenced by the project.
# Helpful for when you forgot to enable "Delete from resource tree deletes from disk" in Preferences.
# NOTE: THIS IS VERY INCOMPLETE AND BARELY TESTED.
# Made for Python 3.x
# Patrick Traynor (patrickjtraynor@gmail.com)
# 9-24-15
import tkinter as tk
from tkinter import filedialog
@patrickgh3
patrickgh3 / readme.txt
Created December 16, 2018 15:44
Omniban (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created December 22, 2018 03:09
Omniban (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created December 22, 2018 03:10
Omniban (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created August 12, 2019 15:48
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created March 29, 2020 18:13
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created March 31, 2020 18:59
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Created June 30, 2020 19:06
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@patrickgh3
patrickgh3 / readme.txt
Last active July 25, 2020 18:30
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html