Skip to content

Madour/NasNas-game-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NasNas game template

This repository is a template you can use to setup a project that uses NasNas game framework.

Requirements :

  • CMake >=3.10 installed (check with cmake --version).
  • A compiler (MSVC, gcc or clang)
  • Optional: SFML2.5 installed

Follow these 3 steps :

  1. Clone this repository and update NasNas :
git clone --recurse https://github.com/Madour/NasNas-game-template MyNewGame
cd MyNewGame
git submodule update --remote
  1. Open CMakeLists.txt file and set your custom configurations in the "User Configuration" section.

  2. Now, you are ready to build :

cmake -Bbuild .
cmake --build build -j4

If everything went fine, go ahead and run the binary file at the root of the folder. You'll see a black window with "Hello World !" displayed.

Now you are ready to use NasNas to create awesome games 🎉!

A tutorial is available to get you started !

If you got errors during compilation, please open a new GitHub Issue, I'll try to help you :)

About

Create a NasNas based project quickly with this template !

Resources

Stars

Watchers

Forks