A hobby game with a selfmade engine written in Rust
The first triangle |
---|
System for loading external files asynchronously.
- Resource folder (
resources/
)- Closed (
resources/closed/
)- Shouldn't change (Textures, Shaders, ...)
- Packed path:
./res/
- Open (
resources/open/
)- Meant to change (Configs, ...)
- Packed path:
./
- Closed (
USAGE:
evn [FLAGS]
FLAGS:
--debug-callback Enable Vulkan debug callback
--dev Enable Development mode
-h, --help Prints help information
-c, --no-color Don't color the console log
-V, --version Prints version information
cargo run -p evn --release -- --dev
./pack_game.sh [-l | --linux] [-w | --windows]
- Compile evn in release mode
- Strip the executable of symbols (size reduction)
- Generate a zip with the executable and open resources
- Linux (maybe provide bat script for windows?)
- A windows cross compiler when compiling to windows
Done with evn_shaderc, a command line wrapper around shaderc.
./compile_shaders.sh
- Compile evn_shaderc in release mode
- Run evn_shaderc with the correct arguments
- Compiles GLSL shaders in
evn/src/shaders/
- Saves them in
resources/closed/shaders/
- Compiles GLSL shaders in
- Linux (maybe provide bat script for windows?)