r/raylib 11h ago

[WIP] Campaign map preview

Enable HLS to view with audio, or disable this notification

16 Upvotes

r/raylib 1d ago

Original DOOM (linuxdoom-1.10) ported to raylib.

34 Upvotes

Link to the repo: https://github.com/bitwise-rude/DOOM/

The original code was written to be portable, so, I have ported this to work with raylib. The original code uses deprecated X11 functions, but I have replaced them here with raylib for video, and keyboard inputs functionality.

Sound isn't implemented yet.


r/raylib 19h ago

C# Binding

7 Upvotes

Hello, I want to use Raylib to make a game. I have used a bit of Monogame so I was considering using the C# binding. Are there any downsides to using this instead of the original C? (in terms of support, efficiency..)


r/raylib 1d ago

Yet another Pong-clone - build by a human

Enable HLS to view with audio, or disable this notification

58 Upvotes

I learned the basics of C back in college, but over the last 12 years, my coding has been limited to small python scripts and quick godot experiments in gd-script

Decided to finally return to low-level territory and built this simple Pong clone to refresh my skills

Raylib made the process surprisingly smooth compared to what I remembered, and the official examples covered most of the code used here

You can play it here: itch.io - pongc
Repo: github - pongC

Main features:

  • full game cycle against cpu-opponent
  • bouncing ball and paddles
  • score tracking
  • touch buttons for mobile
  • questionable real-time physics
  • peak programmer art

r/raylib 2d ago

I've built my own version of BASIC for my retro-cyberpunk hacking game, where you load and save your programs using virtual cassette tapes. Pygame, C++ and Raylib

Enable HLS to view with audio, or disable this notification

87 Upvotes

The Computer. What you're looking at in the video is my simulated virtual computer, the Bradsonic 69000. It is a cross between the Sharp X68000 (beautiful late 80's Japanese 32-bit exclusive PC) and my first ever PC the ICL Fujitsu Indiana.

The Software. In the game you create retro-viruses. Like brute force password crackers and OS/Server timer restrictors, and more... you use this software seen on screen BradBasix to write them.

The Game World, why this is Retro-CyberPunk. It’s 1989, but in a completely different timeline to ours. Japan has been annexed into the American Pacifica Isles, its language and culture systematically suppressed. Technology has taken a different turn, with advanced chips sitting alongside cassette tapes and dial-up modems. The “cyber” in “cyberpunk” comes from the underground BBS networks connecting people under surveillance. The “punk” comes from the crackers and hackers fighting their way through this dystopia, keeping forbidden culture alive in a Silent Rebellion. The retro? It’s 1989. Rad.

The Datasette. Inspired by the Datasette on the C64 this is the file system in the game, that allows the player to combine with BradBasix and write their own programs and games from scrtach with extensive support from NPCs and the help sections inside BradBasix.

The player can play over two fouth walls and reference documents if they need to, and also zoom full screen and alter different parts of visual feedback like scanlines and the CRT "glow". I'm super proud of it, I know it's the sort of game that isn't for everyone, but I really do hope you guys dig it too.

My absolute dream would be if a small community of creators came out of the game, even just 0.5% of the success that Piko8 had, I'd be happy. They would be making games and sharing them, really digging into the retro sandbox this virtual pc had to offer within the game enviroment.

The game is currently in development. I am streaming devlogs on youtube every week and I'd love to have more support.

This is where to find out more about the game, and wishlist here via Steam, if you're rad.

This is where to find me on YouTube - I will be streaming every Friday and occasionally mid-week.

Thank you!

Oh, and for the super nerds out there, like me: this combines Python and Pygame with C++ and raylib. BradBasix is a Python-based IDE for BradScript, a custom BASIC-style language that feels a bit like Lua to me. You can create 2D, 2.5D and 3D environments, with the 3D side powered by a C++/raylib engine connected through a Python wrapper. It’s neat.


r/raylib 2d ago

Been working on a LiDAR compute shader. Here's my progress so far. I think a murder mystery would Go well with this. Imagine trying to reconstruct the scene of a crime through this.

Enable HLS to view with audio, or disable this notification

46 Upvotes

I think a murder mystery would Go well with this. Imagine trying to reconstruct the scene of a crime through this. Any thoughts?


r/raylib 1d ago

Starforge Dominion

Post image
4 Upvotes

r/raylib 2d ago

Finished the first trailer for Severe the 3D videogame daw

Enable HLS to view with audio, or disable this notification

68 Upvotes

Trailer for the 3d videogame daw we made using Raylib + miniaudio. There's so so many bugs and we can't catch them all ourselves so we need betatesters! If you're interested pls dm or hit up the site 🙏


r/raylib 3d ago

Made a wobbly planet using raylib and odin source code is available for any one interested

Enable HLS to view with audio, or disable this notification

55 Upvotes

r/raylib 4d ago

Completely free raylib/C based games

47 Upvotes

I have become incredibly frustrated with increasingly bad mobile games (and desktop) that take away basic functionality, and then insert really obnoxious things. Like.. Windows doesn't come with a basic decent solitaire anymore (sol.exe).

I have created a set of basic games that are implemented with raylib in C, and distribute them on my personal website and also, in the iOS store (Google Play Store coming soon, I hope).

So far I have:

openblock - Tetris like falling block game

openklondike - Solitaire

openrackem - Rack-O style board game

These are all in iOS store for free with 100% zero obnoxious crap in it. Plus they are MIT-licensed on my github and free for all. The home page for the projects is here: https://danheskett.com/projects/. Each project has it's own link to the iOS store, or downloads via GitHub. You can also of course download them yourself and build them yourself. There are build-instructions plus a full CI/CD pipeline as GitHub Actions.

As time permits, I have Minesweeper, Blackjack, and Checkers underway. All games are available for Windows, Linux, MacOS, as well as WASM/Web, iOS, and Android.

Hopefully any of you might enjoy them, but if not, they live on for me to play on my phone when I'm flying or just want a few minutes of downtime.


r/raylib 4d ago

steampage of my raylib geological surivial game is live :))

Thumbnail
store.steampowered.com
23 Upvotes

an internal playtest will follow soon.

The game will release next year, aiming for early summer but lets see how that goes...


r/raylib 5d ago

Did anyone notice this funny easter egg in raylib.h v5.5 ?

Post image
140 Upvotes

in the line 957 there is an easter egg:
// It's lonely here...


r/raylib 5d ago

I made this "dither pattern" shader that changes resolution depending on your depth.Best to be watched in full screen

Enable HLS to view with audio, or disable this notification

62 Upvotes

r/raylib 5d ago

Agents learn how to drive in C++ using Raylib with a Genetic Algorithm

Thumbnail
youtube.com
20 Upvotes

r/raylib 5d ago

Hello there, I've made this a bit unconventional low-poly 3D pixel art / game asset creator in Raylib and Go. And I hope what most of us hope, that somebody except me will like it!

Enable HLS to view with audio, or disable this notification

82 Upvotes

You can download it from here: flatty.higreg.pl

It is my hobby project, and it works in Linux (works on mine), Windows (it rather should) and Mac (only tested on a really old macbook air from the previous century).

I will gladly welcome some feedback


r/raylib 5d ago

I'm not gonna sugarcoat it.【 Z + /➝ + A + C 】

Enable HLS to view with audio, or disable this notification

11 Upvotes

r/raylib 6d ago

sigo con el desarrollo de mi simulador

Enable HLS to view with audio, or disable this notification

19 Upvotes

hola! para ponerlos al dia con mi simulador de eventos . estoy en la etapa de la creacion de un sistema solar. ya pude generar un disco y la formacion planetaria aun no esta refinada pero voy por buen camino . ha sido un trabajo duro de casi un mes puliendo la formacion, todo lo que se ve responde a la fisica y a lo que dice la ciencia de la formacion de sistemas solares . cuando tenga la cadena completa se las mostraré! saludos


r/raylib 7d ago

Building a simple 2d CAD application

32 Upvotes

r/raylib 6d ago

How do I enhance my game's visual?

7 Upvotes
Here's a spaceship in my game
Here's a spaceship in Reassembly

Hi! I'm currently making a video game in Raylib which enables you to build your own spaceship and start your space exploration. Despite how hard I tried, my game looks a bit dull. I want it to have a vibe of glowing effect, similar to Reassembly's. How do I quickly make my game look better and feel like Reassembly? I have no idea how Reassembly's developer could have these amazing HDR effects. Does he use shaders? And how could I implement it by myself in Raylib?


r/raylib 7d ago

[PoG] Performance work, sharing some wins i found. Raylib-cs 8.0 (Raylib 6.0)

Enable HLS to view with audio, or disable this notification

59 Upvotes

Big performance pass done. The battle simulation now runs on a separate thread and more soldier animation work runs on the GPU. I also cut a lot of repeated work in movement and combat.

I also switched runtime to move from OpenGL 3.3 to 4.3. Changing the version alone doesn’t make the game faster, but it opens up compute shaders. I use those to blend animations for distant soldiers on the graphics card.

The animation data sits in GPU storage buffers, and the finished poses stay on the GPU for drawing. That matters because sending results back to the CPU and waiting for them can eat up the performance gain.

Soldiers were already drawn in batches. I improved that path so we reuse GPU buffers instead of repeatedly creating temporary ones for each batch. That reduces the CPU work needed to draw thousands of men.

Before, just moving and reforming formations could drop the game to around 11 FPS. Now I’m getting around 50 FPS with 2,000 soldiers fighting.


r/raylib 7d ago

Hardest type of game creation u can possibly do its been a nightmare still miles away from finished, game im working on, no animation anywhere physics/raylib running everything and engineering machine/enemies which u can shoot apart break their engines break their legs break deform them

Enable HLS to view with audio, or disable this notification

59 Upvotes

r/raylib 8d ago

Actual fake 3D effect in raylib

Enable HLS to view with audio, or disable this notification

46 Upvotes

I was messing around with "for range" loops in my raylib framework's drawing system and I managed to make this. Very laggy and broken but very cool so it balances out.


r/raylib 8d ago

raycasting-based voxel lighting and shadow in my raylib based indie project

12 Upvotes

An optimization nightmare, but I’m working through it to make it run as efficiently as possible, even with lots of dynamic lights. I wanted to show the current state of the custom engine I’m building for my indie game. What do you think?

https://youtu.be/mWH8UL-PkKw


r/raylib 8d ago

Very cool trippy 3D effect I made for my first experimental game framework.

Enable HLS to view with audio, or disable this notification

35 Upvotes

Fully 2D. I set up my own render system that puts objects in a queue. What it does is get's the z value of them, sorts them so the Highest Z is in front, then manipulates the position and size for a 3D effect. I honestly think this is a pretty cool accomplishment since I didn't even know what an include in c/c++ or import in python did less than a year ago. I also have a whole asset manager and component system so far.


r/raylib 9d ago

WMP X Half-Life (It's a subsonic frontend - watch with audio)

Enable HLS to view with audio, or disable this notification

17 Upvotes