Build and deliver a Web game
Build your visual novel as a complete static Web directory. Verify it with the local HTTP preview, then host the full output over HTTP(S) for online play.
A Web release is a complete static directory for online play and static hosting. Prepare the work, dependencies and target assets using the Publishing and Player overview.
1. Save and build
- Open Publishing and choose Web.
- Enter a release version such as
0.1.0, apply the change and save all. To change the title or icon, apply the work identity under Work name, icon & Windows identity, then save. - Choose a dedicated output directory, such as
D:\Releases\spring-0.1.0-web: a new empty directory or an existing release of this work and target. - Choose Check and build to start building after checks pass. Choose Check only to review dependency, asset and font issues first. Use Review, save and recheck when there are changes to save.
- In Build result, read the receipt and open its output directory.
The directory contains index.html, preview.mjs, the Windows launcher preview.cmd, the snapshot, runtime, assets and licences. Deliver the complete directory.
2. Preview locally
Install a runnable Node.js version and confirm node --version works. Open a terminal in the Web output directory:
node preview.mjsOn Windows, double-click preview.cmd in that Web directory to start the service with local Node.js and open a browser. Its window explains the requirement when Node.js is missing.
Preview listens on 127.0.0.1, preferring port 4173 and choosing another available port when needed. Open the printed HTTP address, inspect Home and start the story. Keep the terminal open while playing; Ctrl+C or closing it stops the service.
Browser profiles belong to the visited address. Reuse the same address to continue. Before changing ports or hosting domains, export data under Player Settings → Data, then import compatible data at the new address.
3. Host and deliver
Upload the complete directory to an HTTP(S) static host and open its index.html through the hosted address. Share that address with players. Players receiving an archive should extract it fully before running preview. Opening index.html through file:// shows guidance for starting an HTTP service.
Troubleshooting
| Symptom | Action |
|---|---|
| node is missing | Install Node.js, reopen the terminal and check its version |
| preview.mjs is missing | Open the complete Web release; extract a received archive first |
| Old story remains | Apply/save in Studio, recheck, rebuild and refresh the release address |
| Missing media or fonts | Inspect the receipt and target checks, fix the source and rebuild the complete directory |
Publishing and Player
Check exact dependencies and saved content in GalCraft Studio, choose a publishing target, build a standalone Player, and verify playback, saves and player-data compatibility.
Build and deliver a Windows game
Set your Windows visual novel's name, icon and EXE entry point, choose a signing option, check and build the standalone Player, and deliver the complete release directory.