1
0
Fork 0
No description
Find a file
Henrik Hautakoski c09febc4d8 examples/events/EventsExample.cpp: store std::string instead of char pointer.
Some compilers (ehm, microsoft) returns a temporary variable for event.key.getKeyName() that is only valid during the statement and not scope.

Fix this by storing std::string instead. So the object's lifetime is the entire if statement.
2020-10-14 13:50:52 +02:00
.bam .bam/functions.lua: adding CopySettings functions 2020-01-07 06:34:40 +01:00
assets Update icon. 2020-02-02 09:56:03 +01:00
examples examples/events/EventsExample.cpp: store std::string instead of char pointer. 2020-10-14 13:50:52 +02:00
include/Spectre Spectre/System/Log: adding debug method. 2020-10-13 18:07:29 +02:00
source Spectre/System/Log: adding debug method. 2020-10-13 18:07:29 +02:00
vendor Remove FT2 lib files (we compile our own). 2020-01-19 21:57:50 +01:00
.gitattributes Initial commit 2016-01-10 09:26:43 +01:00
.gitignore Adding bam build system. 2019-12-29 20:45:43 +01:00
bam.lua bam: Move library build to engine.build.lua file. 2020-01-07 07:11:02 +01:00
engine.build.lua engine.build.lua: define "SPECTRE_DEBUG" when building in debug mode. 2020-10-13 18:07:29 +02:00
README.md Update Readme 2020-01-02 05:06:17 +01:00

Spectre 2D Engine

A simple 2D Game engine from scratch!

Compiling

This project uses bam build system (Version 0.5 or greater) to compile the engine.

Just running bam in this directory will start build the source.

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

You will also need to link against FreeType2 that is located in vendor/FreeType2/lib/x<86|64>/freetype-s.lib (or freetype-d-s.lib for debug version)

Author

Henrik Hautakoski - henrik.hautakoski@gmail.com