All Projects → trillek-team → Tec

trillek-team / Tec

Licence: lgpl-3.0
The Trillek Engine

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Tec

Annwvyn
Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
Stars: ✭ 34 (-67.92%)
Mutual labels:  game-engine, engine
Vulkust
An engine for Vulkan in Rust, tries to implement modern graphic features. (suspended for now)
Stars: ✭ 64 (-39.62%)
Mutual labels:  game-engine, engine
Rengfx
lightweight, expressive, extensible 2D/3D game engine
Stars: ✭ 41 (-61.32%)
Mutual labels:  game-engine, engine
Opendiablo2
An open source re-implementation of Diablo 2
Stars: ✭ 10,057 (+9387.74%)
Mutual labels:  game-engine, engine
Starruler2 Source
4X Space Strategy game Star Ruler 2's open source distribution.
Stars: ✭ 1,267 (+1095.28%)
Mutual labels:  game-engine, engine
Amethyst
Data-oriented and data-driven game engine written in Rust
Stars: ✭ 7,682 (+7147.17%)
Mutual labels:  game-engine, engine
Photonbox
A portable modern OpenGL Game-Engine with focus on PBR
Stars: ✭ 93 (-12.26%)
Mutual labels:  game-engine, engine
Coffee
An opinionated 2D game engine for Rust
Stars: ✭ 771 (+627.36%)
Mutual labels:  game-engine, engine
Enduro2d
Yet another 2d game engine of dreams (work in progress)
Stars: ✭ 82 (-22.64%)
Mutual labels:  game-engine, engine
Novelrt
A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
Stars: ✭ 81 (-23.58%)
Mutual labels:  game-engine, engine
Spartanengine
Game engine with an emphasis on architectual quality and performance
Stars: ✭ 869 (+719.81%)
Mutual labels:  game-engine, engine
Evennia
Python MUD/MUX/MUSH/MU* development system
Stars: ✭ 1,309 (+1134.91%)
Mutual labels:  game-engine, engine
Yage
Simple game engine, written in C++
Stars: ✭ 7 (-93.4%)
Mutual labels:  game-engine, engine
Yeti
⛄️ A general-purpose data-driven game engine with tools. Attribution based licensing.
Stars: ✭ 21 (-80.19%)
Mutual labels:  game-engine, engine
Korge
KorGE Game Engine. Multiplatform Kotlin Game Engine
Stars: ✭ 780 (+635.85%)
Mutual labels:  game-engine, engine
Lamiae
Lamiae - A Most Prestigious RPG Engine/Simulator derived from Cube 2 (Sauerbraten) and friends
Stars: ✭ 57 (-46.23%)
Mutual labels:  game-engine, engine
Gemrb
Engine Made with preRendered Background
Stars: ✭ 614 (+479.25%)
Mutual labels:  game-engine, engine
Gainput
Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
Stars: ✭ 636 (+500%)
Mutual labels:  game-engine, engine
Hellspawner
The OpenDiablo2 toolset
Stars: ✭ 69 (-34.91%)
Mutual labels:  game-engine, engine
Openra
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
Stars: ✭ 10,220 (+9541.51%)
Mutual labels:  game-engine, engine

Trillek Engine C

Windows (VStudio 2019) Semaphore (GCC)
Build status Build Status

Support

Head onto our Discord for extended support on building and usage.
Discord Shield

Requirements

TEC requires cmake 3.9 and a few libraries GLFW3, GLM, ASIO, Protobuf, GLEW, Lua, Bullet, Dear ImGui, sol3, Spdlog and OpenAL which can be installed most easily via vcpkg

Documentation

Documentation is done via Doxygen for C++ code and supplementary docs must be maintained for the Lua API in the docs/ folder.

Whenever there is a Lua API change please update the corresponding docs/.

Local Preview

To preview the Lua API docs locally visit MkDocs and follow their setup guide. Then from the root directory run mkdocs serve.

Building from Source

Part 1 (VCPKG/Requirements)

  1. git clone https://github.com/Microsoft/vcpkg.git (If you already have VCPKG, move onto Part 2))
  2. Navigate to the vcpkg/ directory.

Windows

./bootstrap-vcpkg.bat
[OPTIONAL] ./vcpkg integrate install
./vcpkg install asio bullet3 glew glfw3 glm lua openal-soft protobuf zlib spdlog imgui sol2

MacOS

Prior to 11.0.1, run (NOT TESTED): sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / if bootstrap-vcpkg fails see here for more help

./bootstrap-vcpkg.sh
[OPTIONAL] ./vcpkg integrate install
./vcpkg install asio bullet3 glew glfw3 glm lua openal-soft protobuf zlib spdlog imgui sol2

Linux

apt-get install libgl1-mesa-dev xorg-dev libglu1-mesa-dev libxinerama-dev libxcursor-dev
./bootstrap-vcpkg.sh
[OPTIONAL] ./vcpkg integrate install
./vcpkg install asio bullet3 glew glfw3 glm lua openal-soft protobuf zlib spdlog imgui sol2

Part 2 (Building)

  1. git submodule update --init in the root directory.
  2. mkdir build/ in to root directory
  3. cd build/

Windows (Visual Studio 2019)

  1. Run cmake-gui setting the source line to the root directory and the build line to the build directory.
  2. Hit configure and select Specify toolchain file for cross-compiling using **VCPKG_DIR**/scripts/buildsystems/vcpkg.cmake.
  3. Click generate; then open and build the solution in Visual Studio.
  4. In the project properties for trillek-client change the Debugging->Working Directory to $(SolutionDir)..\.
  5. Potentially Download and install oalinst.zip OpenAL installer and install it.

Linux

VCPKG (G++ 7 or CLang 4)
  1. cmake -DCMAKE_TOOLCHAIN_FILE=**VCPKG_DIR**/scripts/buildsystems/vcpkg.cmake .. in the build directory
  2. make in the build directory
NON-VCPKG - G++ 7 or CLang 4 (Unsupported due to cmake)
  1. INSTALL REQUIRED LIBS bullet, glew, glfw3, glm, asio, lua, openal-soft, spdlog, Dear ImGui, sol3(also known as sol2), and protobuf. Some of these will need versions not in your distribution (just ask for help in the IRC or Discord.)
    1. If you are on Ubuntu/Debian/etc. (something with apt):
      1. Run apt-get install libglew-dev libglfw3 libglm-dev libasio-dev
      2. Run apt-get install liblua5.2-dev libopenal-dev libbullet-dev
      3. Run apt-get install libprotobuf-dev protobuf-compiler libspdlog-dev
    2. If you are on Arch/etc. (something with pacman):
      1. Run pacman -S glew glfw-x11 glm asio lua52 openal bullet protobuf spdlog
  2. cmake .. in the build directory
  3. make tec in the build directory

Mac OS

  1. cmake -DCMAKE_TOOLCHAIN_FILE=**VCPKG_DIR**/scripts/buildsystems/vcpkg.cmake .. in the build directory
  2. make in the build directory

Part 3 (Unit Tests)

To generate the unit tests, follow the same instructions from before, but set to true the flag BUILD_TESTS_TEC

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].