feat: add Tauri desktop builds, improve gameplay UX, and clean repo
Some checks failed
desktop-builds / build-linux (push) Failing after 0s
desktop-builds / build-windows (push) Failing after 0s

This commit is contained in:
2026-03-18 22:46:45 -04:00
parent c04327c380
commit 366fbd7c49
36 changed files with 6236 additions and 170 deletions

View File

@@ -5,7 +5,6 @@ Endless Sea is a small browser survival game built with HTML5 canvas, jQuery, an
## Play
- Live demo: https://zbww.github.io/EndlessSea
- Project report: https://zbww.github.io/EndlessSea/report.pdf
- Original source reference: https://github.com/zbww/EndlessSea/blob/master/js/main.js
## How To Play
@@ -36,6 +35,31 @@ This project is static and does not require a build step.
If your browser blocks autoplay audio, start the game with a click so music playback can begin normally.
## Desktop Build
The project now includes a Tauri desktop wrapper.
Requirements:
- Rust and Cargo
- Bun
- Linux desktop build dependencies required by Tauri on your distribution
Useful commands:
```bash
bun install
bun run build:web
bun run tauri:build
```
Build artifacts are generated under `src-tauri/target/release/bundle/`.
CI:
- A Gitea Actions workflow now lives in `.gitea/workflows/desktop-builds.yml`.
- Linux runners build native Linux bundles and cross-compile the Windows release target.
## Project Notes
- Most visible game elements are generated dynamically in JavaScript.