Skip to content

unbridledpc/TheClient

Repository files navigation

Nexus Client (Milestone 1)

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.

Requirements

  • C++20 compiler (MSVC 2022, clang, or gcc)
  • Premake5
  • Git (for submodules)

Fetch dependencies

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.sh then scripts/gen_glad.sh

If the glad generator is missing, install it with:

python -m pip install jinja2 git+https://github.com/Dav1dde/glad.git

Windows (Visual Studio 2022)

  1. Generate project files:
    premake5 vs2022
    
  2. Open build/nexus-client.sln and build.
  3. Run the built executable from bin/Debug-... or bin/Release-....

Linux (gmake2)

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

config.json controls window size, vsync, and optional frame limiting.

Assets

No game assets are shipped. See docs/ASSETS.md.

About

NexusClient

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages