leogenot / IMACRUN

Temple run like game in OpenGL C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMACRUN Setup

it is easy to use on all platforms (Linux, Windows and Mac).

Compiling

You need to install CMake.

To use CMake I recommend this VS Code extension : ms-vscode.cmake-tools. You will need to setup the extension with a compiler. Here is the tutorial. It is based on Linux but at the bottom of the page you will find the explanations to adapt it for Windows and Mac.

Alternatively you can just create a build folder at the root of this project, open a terminal and run cmake .. ; chances are it will detect what compiler you have installed and generate the appropriate Makefile / Visual Studio solution / Xcode project.

main.cpp

In here we initialize glfw (the library that handles the window and user inputs), create a window and then start the app. You don't really need to modify this file, except to change your window name or initial size.

assets

The assets folder will be copied to the folder where your executable is created. You can put all the assets that your project needs in there, like textures, shaders, 3D models etc.

About

Temple run like game in OpenGL C++

License:MIT License


Languages

Language:C++ 43.4%Language:C 37.4%Language:COBOL 6.6%Language:HTML 6.0%Language:Python 1.6%Language:CMake 0.9%Language:Shell 0.9%Language:Java 0.7%Language:Makefile 0.4%Language:D 0.4%Language:Objective-C 0.3%Language:Assembly 0.3%Language:Rich Text Format 0.2%Language:Ada 0.2%Language:M4 0.2%Language:Pascal 0.1%Language:C# 0.1%Language:DIGITAL Command Language 0.1%Language:Objective-C++ 0.1%Language:Perl 0.0%Language:Batchfile 0.0%Language:GLSL 0.0%Language:SWIG 0.0%Language:SCSS 0.0%Language:Inno Setup 0.0%Language:Roff 0.0%Language:CSS 0.0%Language:Ruby 0.0%Language:Awk 0.0%Language:JavaScript 0.0%Language:UnrealScript 0.0%Language:ShaderLab 0.0%Language:HLSL 0.0%Language:sed 0.0%Language:Smarty 0.0%