r/raylib

I made a reactive declarative UI library for raylib; rayui.
▲ 3 r/raylib

I made a reactive declarative UI library for raylib; rayui.

I originally made this just for my circuit game I'm making, but now that I've actually made it I can see it could be useful for other people.

  • 1080p virtual resolution, letterboxed
  • Reactive state, declarative widget tree
  • ~40 built-in widgets (tabs, tables, tree view, dropdowns, modals, toasts, etc)
  • C++20, header-only, no deps beyond raylib
  • Also includes standalone event, tween, and coordinate helpers in src/
  • MIT licensed

Github repo: https://github.com/hi42344/rayui/tree/main

Example of what rayui can do

reddit.com
u/Useful_Chance5925 — 9 days ago
▲ 55 r/raylib+4 crossposts

Made my first raylib game demo at 15 years old. Looking for feedback!

Link to game: https://kc-games-studio.itch.io/avoid-b

Hey everyone!

I've been working on my first larger game project in raylib + C++, and I wanted to share the demo with the community.

It's a small underwater action game where you fight enemies, collect powerups, survive waves, and take on boss fights. It includes features like:

  • Multiple enemy types
  • Boss battles
  • Powerups (shield, speed boost, double coins, healing)
  • Melee and ranged combat
  • Controller support
  • Level progression system
  • Custom UI, sounds, and animations

This is still just a demo version. The full version will be available soon, and I'm continuing to add content, improve the gameplay, and polish the code.

Also, I'm not even 16 years old yet, so I know the game isn't perfect and there are probably a lot of things that could be improved. I'm still learning game development and C++, which is one of the reasons I'm posting here.

I'd really appreciate any feedback, whether it's about:

  • Gameplay
  • Code structure
  • Performance
  • Art/UI
  • General raylib development tips

Thanks for checking it out!

u/Pale-Candidate-4122 — 14 days ago
▲ 11 r/raylib+1 crossposts

More map events from my 4e-inspired tactical roguelike — demo coming

#ScreenshotSaturday — this time I'm showing some of the events you can encounter while exploring the map.

Also, big milestone: I'm planning to release the first playable demo this weekend!

Still deciding where I'll release it, but I'll share the details once it's ready.

#GameDev #IndieDev #raylib #Roguelike #TacticalRPG #PixelArt

u/Reasonable-Ad9130 — 10 days ago
▲ 17 r/raylib

More KWARC MIDI generation: I finished the tracker interfaces!

Hi all, many thanks for the community support on my last post! I'll make this the final update for a while as I don't want to spam.

I've recently finished designing some user interface stuff (still plenty of work left to do, but it's now polishing rather than designing).

This is a more interesting demo than the last one I showed. All MIDI is being produced by KWARC, all sound is being generated by Ableton Live and various plugins. You can see the various tracker interfaces - the standard "tracker" generator with non-linear playheads and the esoteric "particle" generator that samples notes based on numerical simulations of subatomic particles.

Under the hood, there's automatic transcription of pattern sequences across a few different key signatures and I show off some pattern randomisation for the drums at the end.

This is being designed with an embedded Alpine Linux-based platform in mind with physical and touchscreen controls with live performance and improvisation in mind. I'm having fun using KWARC in my hardware synth setup to quickly produce MIDI content with complex musical qualities, which lets me have fun tweaking knobs and playing with the mixer.

Happy to discuss and answer questions!

u/itskobold — 10 days ago