Code Monkey home page Code Monkey logo

qengine's Introduction

qengine

Build Status GitHub license

qengine is a cross-platform retro game engine. It is aimed at nostalgic game developers that miss simple times and enjoy creating games like it's 1997. The software renderer provides the aesthetic that we all love and the engine limitations exist to make your creativity shine.

The engine is a fork of the Quake II codebase that focuses on serving as a base for standalone games. Unlike other ports, it does not aim at being compatible with mods or the base Quake II game. In fact, many features were removed to reduce the complexity of the codebase and make the process of creating new games on top of the engine easier and faster.

Some notable changes include:

  • Removal of overly specific gameplay code, such as enemies and weapons
  • Merge of modules into a single package. No more DLLs, just a single executable for client and another for server
  • Removal of OpenGL
  • Minimal dependencies

qengine screenshot

Free, open source and community-driven

qengine stands on the shoulders of giants from the Quake II community. The code is built upon Yamagi Quake II, which itself contains code from other amazing projects:

  • Hecatomb
  • Icculus Quake 2
  • KMQuake2
  • Q2Pro
  • QuDoS
  • r1q2
  • stereo quake
  • zeq2

Goals

  • Provide a clean and maintainable base game engine
  • Improve stability across different platforms
  • Enhance the software renderer
  • Improve documentation of asset pipeline

License

qengine is released under the terms of the GPL version 2. See the LICENSE file for further information.

Compiling

$ mkdir build
$ cd build
$ cmake ..
$ make

If you don't want to build the docs, or you don't want to install the deps they require, you can pass -DBUILD_DOCS=OFF to cmake.

$ cmake -DBUILD_DOCS=OFF ..
$ make

Running

The engine will look for game data in the assets folder. You can start from scratch, or use the original Quake II game data if you own it.

Tools

Included with the engine there are quite a few useful tools. They are:

Mapping

  • qbsp3
  • qrad3
  • qvis3
  • bspinfo

Textures

  • pcx2wal
  • pcx2pal
  • colormap
  • 16to8

UI

  • uigen
  • fontgen

Compiling maps

$ build/tools/qbsp3 assets/maps/sample.map
$ build/tools/qvis3 assets/maps/sample.bsp
$ build/tools/qrad3 assets/maps/sample.bsp

Base assets

In order to run, the engine needs a few base assets, such as sounds, models and UI textures. Most of them are already included in the assets folder.

Palette

The engine works with a 256 color palette. However, the colormap.pcx file is a 256x320 color re-arrangement of those colors, resulting in 64 shades of each.

A GIMP palette is included to facilitate creation of new graphics for the engine: assets/palette.gpl

If you want more creative freedom, you can easily create a new palette. Create a PCX file with the 256 colors you have chosen and then:

$ build/tools/pcx2pal palette.pcx palette.pal
$ build/tools/colormap palette.pal colormap.pcx

qengine's People

Contributors

klaussilveira avatar kolen avatar y4my4my4m avatar

Watchers

James Cloos avatar

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.