Skip to content

Instantly share code, notes, and snippets.

{
"cmd": ["/AutoHotkey/App/AutoHotkey.exe", "/ErrorStdOut", "$file"],
"file_regex": "^[ ]*File \"(...*?)\",\nline ([0-9]*)",
"selector": "source.ahk",
"working_dir": "$file_path"
}
@xkyii
xkyii / astar.py
Created May 25, 2012 11:13 — forked from jdp/LICENSE
A* pathfinding over any arbitrary graph structure, with example Cartesian grid implementation
class AStar(object):
def __init__(self, graph):
self.graph = graph
def heuristic(self, node, start, end):
raise NotImplementedError
def search(self, start, end):
openset = set()
closedset = set()
@xkyii
xkyii / NotificationManager.js
Created February 6, 2012 07:34 — forked from quidmonkey/NotificationManager.js
NotificationManager for ImpactJS
/*
* Impact Plugin
* NotificationManager
* Written by Abraham Walters
* July 2011
* Jxyzzy Dev Company
* jxyzzy.com
*
* This plugin extends the Font class and allows you to pop-up a
* text Notification (spawnNote()), move it (this.pos) and have
@xkyii
xkyii / Button.js
Created January 17, 2012 03:39
A simple Button for Impact.js
// A Button Entity for Impact.js
// Has 4 States:
// * hidden - Not shown
// * idle - just sitting there
// * active - someone is pushing on it
// * deactive - shown, but not usable
// And 3 Events
// * pressedDown - activated when pressed Down
// * pressed - constantly fires when pressing