street_of_zombies
所属分类:游戏引擎
开发工具:Rust
文件大小:412KB
下载次数:0
上传日期:2022-09-17 10:53:20
上 传 者:
sh-1993
说明: 拉斯特的一场跑动和枪战。采用“贝维”发动机制造。
(A run-and-gun game in Rust. Built with the "Bevy" engine.)
文件列表:
Cargo.toml (550, 2022-09-17)
Credits.txt (1120, 2022-09-17)
LICENSE (1068, 2022-09-17)
Makefile.toml (1654, 2022-09-17)
assets (0, 2022-09-17)
assets\fonts (0, 2022-09-17)
assets\fonts\FiraSans-Bold.ttf (438028, 2022-09-17)
assets\images (0, 2022-09-17)
assets\images\background_street_of_zombies.png (75395, 2022-09-17)
assets\sprites (0, 2022-09-17)
assets\sprites\woman.png (65307, 2022-09-17)
assets\sprites\zombie.png (63974, 2022-09-17)
index.html (514, 2022-09-17)
src (0, 2022-09-17)
src\game_entity (0, 2022-09-17)
src\game_entity\ennemies (0, 2022-09-17)
src\game_entity\ennemies\mod.rs (7015, 2022-09-17)
src\game_entity\mod.rs (7474, 2022-09-17)
src\game_entity\player.rs (3425, 2022-09-17)
src\game_entity\projectiles (0, 2022-09-17)
src\game_entity\projectiles\mod.rs (4084, 2022-09-17)
src\game_system (0, 2022-09-17)
src\game_system\ennemy_spawn_ai_gameplay.rs (4097, 2022-09-17)
src\game_system\math_and_generator.rs (4568, 2022-09-17)
src\game_system\mod.rs (8000, 2022-09-17)
src\game_system\projectile_and_kill_gameplay.rs (7784, 2022-09-17)
src\game_system\scoreboard.rs (6490, 2022-09-17)
src\main.rs (732, 2022-09-17)
src\sprite_manager_system.rs (5896, 2022-09-17)
src\weapons (0, 2022-09-17)
src\weapons\mod.rs (3170, 2022-09-17)
src\weapons\pistol.rs (1366, 2022-09-17)
# Street Of Zombies - A game developped with Rust
![CI Tests](https://github.com/Jafie/street_of_zombies/actions/workflows/rust.yml/badge.svg)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/Jafie/street_of_zombies/blob/main/LICENSE)
[![Sprites: CC-0 license](https://img.shields.io/badge/License-CC--0-blue.svg)](https://creativecommons.org/licenses/by-sa/3.0/)
My first project and experience with [Rust](https://www.rust-lang.org/) and the [Bevy](https://github.com/bevyengine/bevy) engine. It is a Gun-And-Run game.
## How to play
[ Espace ] ==> Fire.
[ Arrows on keyboard ] ==> Movements
## Want to try ?
[You can try the game on this webpage!](https://jafie.github.io/street_of_zombies/)
## Installation and requirements
### OS Dependencies
- Windows: Be sure that VS2019 build tools are installed.
- Linux: [(Bevy engine dependencies)](https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md)
### Pre-requirements
"Street of zombies" needs a new target for "wasm support" and the "cargo-make" tools
```sh
rustup target add wasm32-unknown-unknown
cargo install cargo-make
```
## Build
Rust should be installed on your computer.
Then, the following command on the root directory will build and launch the game on your computer.
```sh
# Builds an run the game on local
cargo make run --profile native
```
You can also build a Web Assembly version of the game
```sh
# Builds the Web Assembly version
cargo make --profile release build-web
```
You can test a Web Assembly version in local on 127.0.0.0:4000 with the following command
```sh
# Builds the Web Assembly version and host on 127.0.0.0:4000
cargo make serve --profile build-web
```
## Next steps - EXTRA
- [x] Weapon system.
- [x] Projectile system with interface.
- [x] Diagonal movements.
- [ ] Soundtrack.
- [x] Ennemy movements.
- [x] Ennemy spawn.
- [x] Ennemy AI (currently, simple movements)
- [x] Sprite usage.
- [x] Map limit.
- [ ] Bonus (Change weapons and Projectile types).
- [x] Scoreboard + Player health.
## Screenshots and Gameplay
![image](https://drive.google.com/uc?export=view&id=1CFA4GKzNX9vR14ToMPwrb1tVhlxmrKY-)
## Assets Credits
Sprites licenced under "Creative Commons Attribution-ShareAlike 3.0". Contributors and license in the ["Credits.txt"](https://github.com/Jafie/street_of_zombies/blob/main/Credits.txt) file:
近期下载者:
相关文件:
收藏者: