Skip to content

Instantly share code, notes, and snippets.

@randyprime
randyprime / entity_structure.odin
Last active July 18, 2025 08:28
ENTITY MEGASTRUCT
// the tl;dr -> https://storage.randy.gg/entity%20midwit.png
/*
ENTITY MEGASTRUCT
by randy.gg
This is an extremely simple and flexible entity structure for video games that doesn't make you want to
die when you're 20k lines deep in a project.
@randyprime
randyprime / particle.odin
Last active July 18, 2025 08:27
Simple Particle System
package main
import "core:log"
// This extra stuff comes from https://github.com/baldgg/blueprint
import "bald:utils"
import "bald:utils/shape"
import "bald:utils/color"
import "bald:utils/string_store"