Skip to content

Instantly share code, notes, and snippets.

View AlexFlasch's full-sized avatar

Alex Flasch AlexFlasch

View GitHub Profile
@AlexFlasch
AlexFlasch / beholder.gd
Last active June 22, 2022 05:26
Watcher / Script Runner for EditorScripts in the Godot Engine
################################################################################
# Beholder: Simple watcher plugin #
################################################################################
# #
# ABOUT: #
# If you specify the directories you'd like watched, and the scripts you'd #
# like to be run, this plugin will run those EditorScripts any time file #
# names or file contents have changed, as well as when files are added or #
# removed in the specified subdirectories. #
# #
@AlexFlasch
AlexFlasch / Main.hx
Created March 19, 2016 00:06
Trying to get a triangle to rotate around the box with mouse movement :)
import luxe.Input;
import luxe.Sprite;
import luxe.Color;
import luxe.Vector;
import luxe.Draw;
import luxe.Transform;
import luxe.Quaternion;
import phoenix.geometry.Geometry;
@AlexFlasch
AlexFlasch / Unicorn.js
Created January 21, 2016 21:51
Unicorny Wonder
var unicorn = function(){
var step = 3, // colorChage step, use negative value to change direction
ms = 45, // loop every
$uni = $('.unicorn'),
$uni2 = $('.unicorn2'),
txt = $uni.text(),
txt2 = $uni2.text(),
len = txt.length,
len2 = txt2.length,
lev = 360/len,