Speykious / c4

A rhythm game from absolute scratch in C (if I stop procrastinating)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C4

A rhythm game from absolute scratch in C (if I stop procrastinating)

This is my attempt at making anything that resembles a game from absolute scratch, doing everything myself, from memory management to windowing to graphics to audio. Honestly knowing myself I don't think it's gonna go anywhere since I procrastinate a lot, but maybe this time I'll go somewhere.

I'll keep notes about my experience coding it as I go.

Status

I barely have the start of a platform layer. This is gonna take a while.

  • platform layer

    • allocators
      • arena
    • allocating virtual memory
    • windowing (Linux, X11)
      • open and close windows
      • poll events
    • audio (Linux, ALSA)
      • how's the audio latency??
    • graphics (framebuffer)
  • audio

    • audio mixer
    • FFT analyzer (optional)
    • audio spectrum (optional)
  • graphics (2D)

    • text rendering
    • simple shapes
    • images
  • game (bruh)

    • separate threads (rendering, input, update, audio)
    • rendering: simple sprites
    • game mechanics (basic 4k vsrg)
      • slap music on top of it
    • simple immediate-mode UI
    • chart file format

License

This project is licensed under the MIT license.

About

A rhythm game from absolute scratch in C (if I stop procrastinating)

License:MIT License


Languages

Language:C 96.8%Language:Zig 3.2%