by Delta Siege Games
- Bun (only if you want to run
/scripts
which help with project setup / development)
degit deltasiege/godot-client-server my-project
cd my-project
- Update the Godot version in
scripts/index.ts
to whatever you'd like - Download the Godot binary to
scripts/bin
by 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.ts
Start 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
)