Skip to content

M64GitHub/1st-shot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Version Zig

 ____  ____________________        _________ ___ ___ ___________________
/_   |/   _____/\__    ___/       /   _____//   X   \\_      \__    ___/
 |   |\_____  \   |    |  ______  \_____  \/   _|_   \/  _|_  \|    |   
 |   |/        \  |    | /_____/  /        \    |    /    |    \    |   
 |___/_______  /  |____|         /_______  /\___X_  /\_______  /____|   
             \/                          \/       \/         \/         

Next-Level Terminal Bullet Hell — powered by movy

1ST-SHOT is my first attempt at building a visually rich, animated game inside the terminal — powered entirely by my rendering engine "movy".
After Zigtoberfest 2025, I wanted to make this version public so others can play with it, study it, and modify it!
It’s not a finished game — it's a playable demo and learning project.

Screenshot 2025-10-24 at 01 25 08

Highlights

  • PNG sprites in 24-bit color, slicing animations from spritesheets
  • Subpixel movement for smooth motion
  • Steady 71 FPS! (new)
  • Authentic C64 SID music on a dedicated audio thread, mixing PCM in real time

Quick Start

Requirements

  • Zig 0.15.2
  • SDL2 (for audio)
  • Terminal with 24-bit color support (most modern terminals)

Build and Run

# Clone repository
git clone https://github.com/M64GitHub/1st-shot.git
cd 1st-shot

# Build (optimized for ReleaseFast)
zig build

# Run the game
zig build run-1st-shot

Controls

Key Action
Arrow Keys Move ship left / right
Space Fire weapon
P / Up Pause / Unpause
ESC Quit

Check the source for the cheat codes ;) !

Dependencies

Zig Libraries

  • movy - Terminal rendering engine
  • zigreSID - MOS 6581/8580 SID chip emulator & WAV mixer, SDL playback

License

MIT. Hack it, spread it!

Join the Terminal Revolution!

The revolution isn’t about this game — it’s about what comes next. If 1ST-SHOT sparks your curiosity, grab Zig, explore the code, and start shaping your own terminal world. Whether it’s a small demo, a new effect, or a full game — build something that glows in the terminal.

"The limitations aren't in the medium — they're in our imagination."


Built with <3 and Zig and movy.

About

A terminal bullet hell dream

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •