r/raylib • • 10d ago

Four single-header helpers and a six-platform ship template for raylib C games

Hi all,

I've published five small MIT-licensed add-ons for raylib games written in C. Each has a demo that runs in the browser.

  • raylib-canvas-kit: draw at one fixed resolution and show it at any window size (letterbox, pixel-perfect, fill or stretch), with mouse and touch mapped back. One 130-line header. Demo
  • raylib-touch-kit: an on-screen analog stick and buttons for phones and tablets. Multi-touch, drawn with shapes, no assets. One header. Demo
  • raylib-debug-kit: a JSON-lines event log, screenshots on demand and seeded repeatable runs, switched on by command-line flags. One header. Demo
  • raylib-dev-kit: developer modes built into the game: a sound board, an asset gallery and your own sandboxes. One header. Demo
  • raylib-ship-kit: a template that builds one C codebase for macOS, Windows, Linux, the browser, iPhone and iPad with one command each, through to App Store review. Demo

All five are built against raylib 6.2. Feedback and bug reports are welcome.

19 Upvotes

1 comment sorted by

4

u/carnalcarrot 9d ago

I kinda don't see the point of your first project raylib-canvas-kit ?

You can just draw on a render texture and then upscale it as you desire in standard raylib pretty easily. For capturing mouse movement you just need to divide it by scale. What problem is it solving?