1
0
Fork 0
No description
Find a file
2024-07-05 01:02:59 +02:00
assets assets: bam does not like whitespace in file names. 2020-12-19 18:55:10 +01:00
cmake Adding CMake again :) 2022-09-26 22:22:25 +02:00
examples remove examples/display/main.cpp 2023-08-22 17:10:44 +02:00
include/Spectre Spectre/Window/GLContext: remove static create() method. 2023-08-23 19:45:01 +02:00
source source/Platform/Win32/Win32GLContext.cpp: skip goto in createGLContext() 2024-07-05 01:02:59 +02:00
vendor Remove bam 2022-09-26 22:31:50 +02:00
.clang-format adding .clang-format 2024-06-22 19:50:05 +02:00
.gitattributes .gitattributes: add more filetypes. 2023-02-18 13:07:01 +01:00
.gitignore .gitignore: adding LSP files 2024-06-22 19:49:55 +02:00
CMakeLists.txt Adding CMake again :) 2022-09-26 22:22:25 +02:00
engine.cmake source/Platform/Unix: Rename XRandR to Xrandr 2024-06-22 19:56:33 +02:00
README.md README.md: Add "sh" to code blocks. 2023-02-18 13:04:05 +01:00

Spectre 2D Engine

A simple 2D Game engine from scratch!

Compiling

This project uses cmake build system (Version 3.15 or greater) to compile the engine.

Linux with make.

$ mkdir build
$ cd build
$ cmake .. -G "Unix Makefiles"
$ make

Windows using NMake

$ mkdir build
$ cd build
$ cmake .. -G "NMake Makefiles"
$ nmake

Or the best way (in my opinion)

install Ninja and run

$ mkdir build
$ cd build
$ cmake .. -G Ninja
$ ninja

The build will produce spectre.lib in the build directory that should be used when linking.

Author

Henrik Hautakoski - henrik.hautakoski@gmail.com