This file contains 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
# 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) { |
This file contains 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
// 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 ++; |
This file contains 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
#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 |
This file contains 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
//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 |
This file contains 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
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) { |
This file contains 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
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 |