Skip to content

This is a simple game engine that creates a window using GLFW and renders with bgfx.

License

Notifications You must be signed in to change notification settings

wuxianggujun/Tina

Repository files navigation

Tina

Language Standard License

这是一个使用大量第三方库实现的一个简易游戏引擎。

Building

git clone https://github.com/wuxianggujun/Tina.git
git submodule update --init --recursive

Ubuntu Build

Ubuntu requires cmake and ninja to be installed, as well as a C++ development environment For Ubuntu compilation, you need to install the minimum version of git >=2.35,You can use the command below to install the latest version

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo apt install ninja-build
sudo snap install cmake --classic
sudo ln -s /snap/cmake/current/bin/cmake /usr/bin/cmake
sudo ln -s /snap/cmake/current/bin/ccmake /usr/bin/ccmake
sudo ln -s /snap/cmake/current/bin/cpack /usr/bin/cpack
sudo apt install libgl1-mesa-dev
sudo apt-get install libglfw3-dev
sudo apt-get install pkg-config
sudo apt install libwayland-dev libxkbcommon-dev xorg-dev
sudo apt-get install libx11-dev libxext-dev libxtst-dev libxrender-dev libxmu-dev libxmuu-dev

Build And Run

cmake ..
make
./Tina

Dependencies

  • bgfx.cmake : Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
  • spdlog : Fast C++ logging library.
  • Microsoft GSL : Guidelines Support Library.
  • simpleini : A cross-platform library that provides a simple API to read and write INI-style configuration files. It supports data files in ASCII, MBCS and Unicode.
  • stb-cmake : Single-file public domain (or MIT licensed) libraries for C/C++.
  • entt : Fast and reliable entity-component system (ECS)
  • glfw : A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input.
  • glad : |Multi-language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
  • glm : OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications.
  • Google Test : Googletest is based on the xUnit testing framework, a popular architecture for unit testing.
  • tracy : A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Learning Resources

About

This is a simple game engine that creates a window using GLFW and renders with bgfx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages