Skip to content

Instantly share code, notes, and snippets.

Avatar
🐌
me

Jan Vorisek Blokatt

🐌
me
View GitHub Profile
View renderdoc_gms_generate_latest.ps1
# GMS2 RenderDoc settings generator script v1.0
# by @blokatt
#
# This version of the script generates a settings file for the last project you've built.
#
# 1) Run and close the game from inside the IDE (make sure to use the VM, not YYC)
# 2) Run this script.
# 3) In RenderDoc, load the generated settings file and launch the game.
function bail($message) {
View gml2bf.gml
// Brainfuck -> GML
// By @blokatt
// Conversion tool: https://jsfiddle.net/Blokatt/fxj1m7tn/
#macro MEMORY_SIZE 32768
#macro mem _m[_p]
#macro i mem = (mem + 1) & 0xff;
#macro d mem = (mem - 1) & 0xff;
#macro l _p --;
#macro r _p ++;
View monologue_cc.txt
#Korg Monologue CC mappings
cc16 EG ATTACK
cc17 EG DECAY
cc25 EG INT
cc24 LFO RATE
cc26 LFO DEPTH
cc28 DRIVE
cc35 VCO2 PITCH
cc36 VCO1 SHAPE
cc37 VCO2 SHAPE
View 8-bit binary literals for GameMaker: Studio 2
//PADDED
#macro b00000000 0
#macro b00000001 1
#macro b00000010 2
#macro b00000011 3
#macro b00000100 4
#macro b00000101 5
#macro b00000110 6
#macro b00000111 7
View 8x8bayer.glsl
uniform sampler2D texture, smpPalette;
uniform vec2 paletteSize;
varying vec4 vertTexCoord;
int dither[64];
vec3 nearestColour(vec3 col){
float dist, minDist = 999.;
vec2 pixelSize = vec2(1. / paletteSize.xy);
vec3 outCol, palCol;
for (float x = 0.; x < 1.; x += pixelSize.x) {
@Blokatt
Blokatt / autoeurobeat.txt
Created Aug 25, 2017
What happens when you take lyrics of a bunch of Eurobeat songs and plug them into a Markov chain-based text generator.
View autoeurobeat.txt
They wanna feel so brave
I'm so brave
I'm waiting For love
me on)
(1, 2, 3, 4)
all the time is on New emotions from me on
the morning sun
Forever...
Come on and say (c'mon)
Go and I'm crazy... hot and leave me is town which is a flash
You can’t perform that action at this time.