SkillAgentSearch skills...

Retro3D

2.5D rendering engine with: GUI system, scripts (Chaiscript), webassembly-support

Install / Use

/learn @mlavik1/Retro3D
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"><img src="Media/logo/logotype.png" alt="Retro3D" height="160px"></p>

2.5D (pseudo-3D) game engine

2.5D retro game engine. Old school software 3D rendering.

Builds and runs on Windows, Linux and WebAssembly.

TRY IT HERE: http://dungeoncrawler.dx.am/ (Requires a browser with webassembly-support)

alt tag

Features:

  • Raytraced 3D rendering, similar to old games like Wolfenstein (raytracing on a 2D grid).
  • Level scripts and script components, using ChaiScript.
  • WebAssembly support (can run in browser).

How to build

WINDOWS

  • Open CMake GUI (can download from here: https://cmake.org/download/)
  • In "Where is the srouce code", browse to the repository folder containing CMakeLists.txt
  • In "Where to build the binaries", chose any folder (i.e. subfolder "/build")
  • Make sure the directory can be written to (to prevent MSB3073 error)
  • Configure
  • Build
  • Open Visual Studio project
  • Build and run the "Game" project (IN RELEASE CONFIGURATION - Debug will be very slow!)

LINUX

  • Open the terminal and change directory ("cd" command) to the root folder of the repository.
  • Run aptget.sh (or manually do apt-get on the dependencies). Note: if you get "permission denied", execute "chmod +x aptget.sh" in the terminal first.
  • Run CMake: cmake .
  • Build the "Game" project (or make your own project based on that): make Game
  • Go to "projects/samples" and copy the "resources" folder of the samle you want to use into the same folder as the build executable.
  • Run the executable: ./Game

WEB ASSEMBLY

  • Make sure you have Emscripten installed (https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm)
  • Also make sure you have newest version of Python 2.x installed
  • Run emcc_generate.py
  • Run emcc_build.bat
  • Find your webpage in the "webbuild" sub folder

Contributing

Both code contributions, art contributions, bug reports and feature suggestions are more than welcome! See CONTRIBUTING.md for more information.

Thanks to Sebastian Genlund for suggestions and useful feedback!

Related Skills

View on GitHub
GitHub Stars18
CategoryCustomer
Updated6mo ago
Forks6

Languages

C++

Security Score

87/100

Audited on Sep 5, 2025

No findings