xcode-select --install/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install sfmlWorks on both Apple Silicon (M1/M2/M3) and Intel Macs.
Place all .cpp, .h, Makefile, and df-font.ttf files in the same directory.
The font must be in the same folder as the executable at runtime.
cd df_fixed
make
make runExpected output:
======================================
Dragonfly Engine - Test Suite
======================================
All managers started OK.
--- Vector Tests ---
PASS: Default constructor x=0
...
======================================
Results: 47 passed, 0 failed
======================================
(See dragonfly.log for detailed engine log)
df-font.ttf
Makefile
Vector.h / .cpp Color.h
Clock.h / .cpp Event.h / .cpp
EventStep.h / .cpp EventOut.h / .cpp
EventCollision.h / .cpp EventKeyboard.h / .cpp
EventMouse.h / .cpp Manager.h / .cpp
LogManager.h / .cpp Object.h / .cpp
ObjectList.h / .cpp WorldManager.h / .cpp
DisplayManager.h / .cpp InputManager.h / .cpp
GameManager.h / .cpp main_test.cpp
README.md