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

This is a simple game engine implemented using a large number of third-party libraries. I just want to finish a real project.

Usage

1.Clone the repository using the following command:git clone https://github.com/wuxianggujun/Tina.git

2.Initialize the submodule using 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.
  • 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

Acknowledgments

  • Thanks to JetBrains for providing open-source project free License

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