This file contains hidden or 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
package core; | |
import core.Types; | |
typedef DirFlags = { | |
var left:Bool; | |
var right:Bool; | |
var up:Bool; | |
var down:Bool; | |
} |
This file contains hidden or 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
import Snapper; | |
import flixel.FlxSprite; | |
// Example Squash-n-Strech | |
class Player extends FlxSprite { | |
var stretchDownSnapper:Snapper; | |
public function new (x:Float, y:Float) { | |
super(x, y); |
This file contains hidden or 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
const { Midi } = require('@tonejs/midi') | |
const { readFileSync, writeFileSync } = require('fs') | |
const FILENAME = process.argv[2] | |
const BPM = process.argv[3] | |
const DIR_SPECIFIC = process.argv[4] === "true" | |
const MS_PER_MINUTE = 60000 | |
const ABLETON_PPQ = 96 | |
try { |