Giter VIP home page Giter VIP logo

retro3d's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.