Game book for Bellecour Ecole school
The program have no certificate so all anti-virus will detect the executable as a virus. And the os may block the file reading (run it as admin to avoid it). You can look at the logs to see what happend when the game crash.
[config]
name = "Page Name"
type = "classic"
[content]
line1 = "demo_local" # Use localization (see below)
[choices]
choice_a = ["choice text", "default_cond", "default_act"]
[data]
life = 100 # Default value
[conditions]
# True if the variable life is greater than 0
default_cond = ["life > 0", "life < 100"]
[actions]
# True if the variable life is greater than 0
default_act = ["life + 1", "$other.toml"]
The project use CMake, EmScripten, CLang and Ninja to compile. All of them are installed from chocolatey.
choco install llvm
choco install cmake
choco install ninja
choco install emscripten
cmake -S . -G "Ninja" -B cmake
cd cmake
ninja
You need to have Rust installed. And execute the following command.
cargo run
- CMake
- Emscripten
- Ninja
choco install llvm
choco install cmake
choco install emscripten
choco install ninja