/hanabit-engine

a series of lessons about make game engine from zero

Primary LanguageLuaOtherNOASSERTION

中文文档

Dependencies: xmake

Please install xmake first, if you already have installed xmake, please skip this step

window

Please install chocolatey, then install xmake

choco install xmake

macos

Please install xcode command line tools, then install brew

  1. install xcode command line tools
xcode-select --install
  1. install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. install xmake
brew install xmake

Clone project

git clone https://github.com/charles-liang/hanabit-engine

Project Structure

:white_check_mark 01-xmake: create project structure

Change Work Directory

cd 01-xmake

Compile and debug run

windows

xmake f -p windows -m debug -y
xmake
xmake run application

mac os

xmake f -p macosx -m debug -y
xmake
xmake run application

linux

xmake f -p linux -m debug -y
xmake
xmake run application

Compile release

windows

xmake f -p windows -m release -y
xmake
xmake run application

mac os

xmake f -p macosx -m release -y
xmake
xmake run application

linux

xmake f -p linux -m release -y
xmake
xmake run application