- Batch rendering
- Materials
- Model loading (.obj)
- Texture loading
- Debug/Line drawing
- Shadows
- Streamlined shader creation
- With shader program caching
- Virtual file system
- Little to no overhead ECS
- UI/Screen space rendering
- Text
- Coloured panels
- D compiler
- dub package manager
- CMake/make/meson/MSBuild
- For building freetype, so see here for what you need.
- Or you could just get a prebuilt binary and place it in
Projects/<Project>/bin
- Either way you do it be sure to get freetype 2.11
- First clone and get submodules using
-recursive
flag or running
git submodule init
git submodule update
- If building freetype, its already configured to build a dynamic library, it is under
external/freetype
- See link above for directions
- Go to your game project root (for example Projects/RealmGame) and type
dub run
ordub config --config=realm-executable
- To build out to a dynamic library use
dub config --config=realm-dynamiclibrary
- To build out to a dynamic library use
- Run
./bootstrap/new-project.bat <name>
from repository root- This will create a dub project under
./Projects/name
and register realm engine package
- This will create a dub project under
- Configure dub.json
- in the generated dub.json add the following:
"dependencies" : {"realm" : "~main"}
"workingDirectory" : "../../"
- in the generated dub.json add the following: