@vimp-games/tanks 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/assets/vimp_tanks_core_bg-6JRQcDoQ.wasm +0 -0
- package/dist/client-wT88d7GJ.js +513 -0
- package/dist/host-Cl8eFpqg.js +1 -0
- package/dist/manifest.json +27 -0
- package/dist/maps/canopy.json +1 -0
- package/dist/maps/garden.json +1 -0
- package/dist/maps/pool mini.json +1 -0
- package/dist/sounds/bomb-has-been-planted.mp3 +0 -0
- package/dist/sounds/bomb-has-been-planted.webm +0 -0
- package/dist/sounds/bomb-has-been-planted2.mp3 +0 -0
- package/dist/sounds/bomb-has-been-planted2.webm +0 -0
- package/dist/sounds/defeat.mp3 +0 -0
- package/dist/sounds/defeat.webm +0 -0
- package/dist/sounds/empty-bullet.mp3 +0 -0
- package/dist/sounds/empty-bullet.webm +0 -0
- package/dist/sounds/explosion.mp3 +0 -0
- package/dist/sounds/explosion.webm +0 -0
- package/dist/sounds/frag.mp3 +0 -0
- package/dist/sounds/frag.webm +0 -0
- package/dist/sounds/game-over.mp3 +0 -0
- package/dist/sounds/game-over.webm +0 -0
- package/dist/sounds/hit.mp3 +0 -0
- package/dist/sounds/hit.webm +0 -0
- package/dist/sounds/round-start.mp3 +0 -0
- package/dist/sounds/round-start.webm +0 -0
- package/dist/sounds/shot.mp3 +0 -0
- package/dist/sounds/shot.webm +0 -0
- package/dist/sounds/tank-engine.mp3 +0 -0
- package/dist/sounds/tank-engine.webm +0 -0
- package/dist/sounds/victory.mp3 +0 -0
- package/dist/sounds/victory.webm +0 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# VIMP Tanks
|
|
2
|
+
|
|
3
|
+
A team-based tank deathmatch — the reference game plugin for the
|
|
4
|
+
[VIMP engine](https://github.com/lgick/vimp-engine).
|
|
5
|
+
|
|
6
|
+
- **Game rules**: two teams, hitscan bullets and bombs, bots, votes, chat, statistics.
|
|
7
|
+
- **Rust core**: tank/weapon/bot simulation compiled to WASM, running on the engine's browser host and every client (physics via `rapier2d`, shared with the engine's `vimp-engine-core` crate).
|
|
8
|
+
- **Client**: PixiJS rendering parts, procedural textures, spatial audio — plugged into the engine's MVC/render framework.
|
|
9
|
+
- **Packaged as a plugin**: published as `@vimp/tanks` (npm) with a `dist/manifest.json`, loaded dynamically at runtime by any engine instance — never a build-time dependency of the engine.
|
|
10
|
+
|
|
11
|
+
## Quick start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
git clone https://github.com/lgick/vimp-tanks.git
|
|
15
|
+
cd vimp-tanks
|
|
16
|
+
npm install
|
|
17
|
+
npm run core:build # WASM core (needs the Rust toolchain: rustup + wasm-pack)
|
|
18
|
+
npm run build # full plugin bundle → dist/
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
To actually play a match, this plugin needs to be linked into a running
|
|
22
|
+
[vimp-engine](https://github.com/lgick/vimp-engine) checkout — see
|
|
23
|
+
[docs/en/getting-started.md](docs/en/getting-started.md).
|
|
24
|
+
|
|
25
|
+
## Documentation
|
|
26
|
+
|
|
27
|
+
Full documentation lives in [docs/en/](docs/en/README.md):
|
|
28
|
+
|
|
29
|
+
- [Local setup](docs/en/getting-started.md)
|
|
30
|
+
- [Architecture](docs/en/architecture.md)
|
|
31
|
+
- [Gameplay](docs/en/gameplay.md)
|
|
32
|
+
- [Rust core](docs/en/core.md)
|
|
33
|
+
- [Configuration](docs/en/configuration.md)
|
|
34
|
+
- [Extending the game (maps, weapons, sounds)](docs/en/extending.md)
|
|
35
|
+
|
|
36
|
+
[Русская версия](docs/ru/README.md)
|
|
37
|
+
|
|
38
|
+
For engine-side concepts (transport, master server, plugin contract), see
|
|
39
|
+
the engine's own docs: [vimp-engine/docs/en/](https://github.com/lgick/vimp-engine/blob/main/docs/en/README.md).
|
|
Binary file
|