Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mlavik1/Retro3D

Open more actions menu

Repository files navigation

Retro3D

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

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!

About

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

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.