o
odinpkg.dev
packages / library / oc-ds-raylib-odin

oc-ds-raylib-odin

fb5bafblibrary

opencode + ds v4 pro + raylib + odin testing. top down vertical shooter

No license · updated 2 months ago

Geo Shooter

Top-down vertical scrolling shooter built with Odin + Raylib.

Title Screen

Gameplay

Game Over

Controls

Key Action
WASD / Arrows Move
J Shoot (primary)
K Special spread shot (cooldown)
L Bomb (screen clear)
Escape / P Pause
Enter / Space Start / Continue

Features

  • Geometric neon art — procedural shapes with additive glow blending
  • 4 enemy types — Scout (diamond), Tank (hexagon), Swarm (triangle), Sniper (cross)
  • Boss fights — rotating pattern attacks (aimed burst, circle spray, fan spread)
  • 6 power-ups — SpeedUp, TripleShot, Shield, Bomb, Heal, WeaponUp (5 levels)
  • GLSL background shader — scrolling starfield with grid warp
  • Particle FX — explosions, trails, screen shake
  • HUD — score, lives, bombs, weapon level, active buffs
  • Progressive difficulty — infinite levels, escalating enemy spawns

Build

odin build . -o:speed -out:geo_shooter

Requires Odin dev-2026-05-nightly or later (raylib linked statically from vendor).

Run

./geo_shooter

Must be run from the project root (shader file paths are relative).

Adding 3D Models

Replace the procedural draw functions in render.odin with rl.DrawModel() after loading .glb/.obj files exported from Blender via rl.LoadModel().

Prompt

lets plan this out and build:  odin + raylib + top down vertical scrolling shooter
with shaders, particle fx, 3d models for player and bosses (i will create in blender
and add to project when needed, use proceedural graphics until then). hud with game
stats, some power ups and a few types of enemies/obstacles.   control with
wasd/arrows + j/k/l keys.  simple title/menu screen, 1-2 levels to start.  ask
questions if needed. odin is installed odin version dev-2026-05-nightly.

Tokens spent: $1.09