by Delta Siege Games
- Bun (only if you want to run
/scriptswhich help with project setup / development)
degit deltasiege/godot-client-server my-project
cd my-project- Update the Godot version in
scripts/index.tsto whatever you'd like - Download the Godot binary to
scripts/binby running:
cd scripts
bun install
bun prepare.ts # <OS><OS> = Operating system of the current machine [win32|linux] (defaults to process.platform)
Create symbolic links for the common directory so that both projects can use the contents by running:
bun link-common.tsStart both the server and client Godot projects locally by running:
bun dev.ts # <clients><clients> = number of clients to spin up (defaults to 1)
Build game executable(s) via Godot
bun build.ts # <project> <OS><project> = which projects to build [client|server|web|all] (defaults to all)
<OS> = Operating system of the current machine [win32|linux] (defaults to process.platform)