Minimal OTClient-like 2D MMORPG client scaffold. Milestone 1 opens a GLFW window, initializes OpenGL 4.6 with glad, clears the screen, draws a colored quad, and shows an ImGui debug overlay.
- C++20 compiler (MSVC 2022, clang, or gcc)
- Premake5
- Git (for submodules)
This repo uses submodules for larger dependencies. Run from the repo root:
git submodule update --init --recursive
Generate glad (OpenGL 4.6 core):
- Windows:
scripts/gen_glad.ps1 - Linux:
chmod +x scripts/gen_glad.shthenscripts/gen_glad.sh
If the glad generator is missing, install it with:
python -m pip install jinja2 git+https://github.com/Dav1dde/glad.git
- Generate project files:
premake5 vs2022 - Open
build/nexus-client.slnand build. - Run the built executable from
bin/Debug-...orbin/Release-....
Install GLFW/X11 build dependencies (example for Debian/Ubuntu):
sudo apt-get install build-essential libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxxf86vm-dev libgl1-mesa-dev
Then:
premake5 gmake2
make -C build config=release
Run the executable from bin/Release-....
config.json controls window size, vsync, and optional frame limiting.
No game assets are shipped. See docs/ASSETS.md.