Skip to content

Instantly share code, notes, and snippets.

View ftsf's full-sized avatar

impbox ftsf

View GitHub Profile
//! id=9aa4d9e2-88dd-498e-94f9-756e7ef48fe2
Bank * * Metal-GTX
//! o=note:4
1 Chromatic Run
//! o=note:5
2 SlideDownFX
//! o=note:6
@ftsf
ftsf / transposeinkey.lua
Created January 27, 2022 08:39
Synthesizer V - Transpose In Key Script
function getClientInfo()
return {
name = "Transpose In Key",
author = "impbox",
versionNumber = 1,
minEditorVersion = 0
}
end
function getTranslations(langCode)
@ftsf
ftsf / grids.nim
Created May 5, 2021 01:23
Simple Grid System for Nico
import nico
import nico/vec
type GridLayout* = enum
gridSquare
gridHexPointyTop
type Grid*[T] = ref object
layout*: GridLayout
wrapX*: bool
import nico
import nico/vec
import strformat
type Object = ref object
color: int
pos: Vec2f
rawPoints: seq[Vec2f]
angle: float32
highlightEdgeIndex: int
@ftsf
ftsf / sat.nim
Last active March 15, 2021 04:47
nico separating axis theorem collision check
import nico
import nico/vec
type Object = ref object
color: int
pos: Vec2f
points: seq[Vec2f]
rotation: float32
var objs: seq[Object]
function _update()
p1.vx = 0
p1.vy = 0
if s==1 then
if btn(0) then
pl.vx-=1
chspr=019
f=true
end
if btn(1) then
Starting program: /usr/bin/php /home/jetstar/feeds/dev/current/navitare/schedules.php
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef9d0700 (LWP 20020)]
[Thread 0x7fffef9d0700 (LWP 20020) exited]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000677cf6 in ?? ()