Lightweight raycasting game engine written in C.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
mat 67e43c6eac fixed windows issues 5 months ago
doc pic update 10 months ago
include/lightrcg added RF_LoadTextureFromBmp 5 months ago
src fixed windows issues 5 months ago
testprog improved portability on windows 5 months ago
.gitignore h 10 months ago
LICENSE readme + license 10 months ago
README.md readme + license 10 months ago
compile.sh improved portability on windows 5 months ago
meson.build improved portability on windows 5 months ago

README.md

lightrcg

lightrcg is a lightweight pseudo-3D game engine written in C. It is mostly focused around raycasting, a pseudo-3D rendering technique old video games such as Ken's Labyrinth or Wolfenstein 3D used.

If you intend to use lightrcg with something else than SDL, I apologize for the additional dependency. I am planning to make the frontend optional as lightrcg does not need SDL to function (you can even do a terminal raycasting game if you want to).

Features

  • Basic raycasting (walls, textures, sprites)
  • Animated textures
  • Sprites with Z height (basically it can go up and down)
  • an SDL Front-end to make game programming easier (well, i try)
  • Custom floor and ceilings
  • Lightmap (basically you can set the luminosity of each map tile)
  • Custom bitmap file format (not really a feature, I just didn't bothered to use some library for PNG and JPG images)
  • Custom map file format
  • 100% software rendering, no GPU acceleration

License

This work is licensed under the Mozilla Public License 2.0