n

nbody

v2551813library

No description provided.

0 stars0 forksUnknownupdated 5 days ago
Open repo

N-Body Forge

An incremental n-body gravity simulation game built with Odin and Raylib.

Quick Start

Native (Windows, macOS, Linux)

make run       # build and run
make build     # build only (outputs `nbody` binary)
make debug     # build with debug flags
make clean     # remove binary

Requires Odin.

Web (WASM)

./scripts/build_web.sh

Requires Odin, emsdk (v5.0.7), and the Raylib WASM library (vendor/raylib/libraylib.wasm.a). Outputs to build/web/.

Deploy

Trigger the itch.io deploy GitHub Actions workflow (workflow_dispatch). Uploads build/web/ to itch.io.

Project Structure

main.odin           # Native entry point
main_web.odin       # WASM entry point
game.odin           # Game loop + system orchestration
ecs.odin            # ECS core
types.odin          # Shared types
constants.odin      # Game constants
assets.odin         # Asset loading
sys_*.odin          # Systems (input, physics, render, etc.)
utils_*.odin        # Helper utilities
vendor/raylib/      # Vendored Raylib
scripts/            # Build scripts
web/                # WASM shell HTML
assets/             # Game assets
Package Info
Version
v2551813
License
Unknown
Author
@srikkant
Type
library
Forks
0
Created
2 months ago
Updated
5 days ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks