2022-06-13 18:24:17 +08:00
|
|
|
# Difficult Rocket
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-01-02 15:01:17 +08:00
|
|
|
[中文](../README.md) | English
|
|
|
|
|
2022-06-08 21:07:47 +08:00
|
|
|
- [GitHub](https://github.com/shenjackyuanjie/Difficult-Rocket)
|
2023-12-24 22:17:10 +08:00
|
|
|
- [Gitee](https://gitee.com/shenjackyuanjie/Difficult-Rocket)
|
|
|
|
- [Discord](https://discord.gg/kWzw2JrG6M)
|
|
|
|
- [Kook](https://kook.top/sRPjFG)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
>Note: This repo will only publish `DR SDK` updates, `DR game` updates will be published [here](https://github.com/shenjackyuanjie/DR-game).
|
2023-08-12 20:20:18 +08:00
|
|
|
|
2023-12-16 22:23:31 +08:00
|
|
|
[![996.icu](https://img.shields.io/badge/996.icu-996.icu-red.svg)](https://996.icu)
|
|
|
|
[![semver](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/)
|
|
|
|
[![python-3.8.10](https://img.shields.io/badge/编写于_Python_版本-3.8.10-blue.svg)](https://Python.org)
|
|
|
|
[![pyglet-2.x](https://img.shields.io/badge/编写于_Pyglet_版本-2.x-blue.svg)](https://pyglet.org)
|
|
|
|
[![support python 3.8~12](https://img.shields.io/badge/Python-_3.8_~_3.12_-blue.svg)](https://Python.org)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
|
|
|
## Version
|
|
|
|
|
2023-02-25 12:08:12 +08:00
|
|
|
[About Versions](src/version.md)
|
|
|
|
|
2023-10-13 23:12:35 +08:00
|
|
|
[![release version](https://img.shields.io/badge/Release-0.8.7.2-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
|
|
|
[![pre version](https://img.shields.io/badge/Pre_Release-0.8.7.2-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
|
|
|
[![devlo version](https://img.shields.io/badge/Devloping-0.9.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-03-01 23:07:10 +08:00
|
|
|
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
|
|
|
|
2023-06-25 15:49:34 +08:00
|
|
|
[DR sdk latest Action build](https://nightly.link/shenjackyuanjie/Difficult-Rocket/workflows/nuitka/main)
|
|
|
|
|
|
|
|
[DR rs latest Action build](https://nightly.link/shenjackyuanjie/Difficult-Rocket/workflows/dr_rs/main)
|
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Introduction
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
Difficult-rocket is a Simple Rocket liked game build with Python (shorten as "rocket simulator"). It is lighter than Vanilla SR.
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
[Plan feature list](src/plan_features/README.md)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-03-01 16:45:42 +08:00
|
|
|
[YouTrack](https://difficult-rocket.youtrack.cloud/projects/8dafd498-59c0-4ce7-9900-d9292e9ed1f0)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
[Update logs](src/change_log/readme.md)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Run
|
2023-11-19 00:13:36 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
### 1. Clone
|
2023-11-19 00:13:36 +08:00
|
|
|
|
|
|
|
```bash title="clone.sh"
|
|
|
|
mkdir DR
|
|
|
|
cd DR
|
|
|
|
git clone https://github.com/shenjackyuanjie/Difficult-Rocket.git
|
|
|
|
# or
|
|
|
|
git clone https://gitee.com/shenjackyuanjie/Difficult-Rocket.git
|
|
|
|
# or
|
|
|
|
git clone git@github.com:shenjackyuanjie/Difficult-Rocket.git
|
|
|
|
```
|
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
### 2. Install requirements
|
2023-11-19 00:13:36 +08:00
|
|
|
|
|
|
|
```bash title="install.sh"
|
2023-12-31 02:32:40 +08:00
|
|
|
python gen_require.py 0
|
2023-11-19 00:13:36 +08:00
|
|
|
python -m pip install -r requirements.txt
|
|
|
|
git submodule update --init --recursive
|
|
|
|
cd libs
|
2023-12-23 00:06:35 +08:00
|
|
|
python -m pip install ./lib_not_dr
|
|
|
|
python -m pip install ./pyglet
|
2023-11-19 00:13:36 +08:00
|
|
|
```
|
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
### 3. Run
|
2023-11-19 00:13:36 +08:00
|
|
|
|
|
|
|
```bash title="run.sh"
|
|
|
|
python DR.py
|
|
|
|
```
|
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Environment
|
|
|
|
|
2023-12-30 22:07:01 +08:00
|
|
|
>The developing environment used Python `3.8.10`, but `3.8+` is also available.
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-01-01 20:36:55 +08:00
|
|
|
- `Develop platform 1 - Windows 10 x64 22H2`
|
2023-12-30 22:07:01 +08:00
|
|
|
- Python `3.8.10+`
|
|
|
|
- `requirements`
|
2022-06-08 21:07:47 +08:00
|
|
|
- `AMD R5 5600X`
|
2023-12-30 22:07:01 +08:00
|
|
|
- `AMD RX 558 8G`
|
2023-01-01 20:36:55 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Required Python Modules
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-30 22:07:01 +08:00
|
|
|
> python gen_require.py [-h] {0,1,2}
|
|
|
|
> run / build / compile
|
|
|
|
|
2023-12-31 02:32:40 +08:00
|
|
|
- `pyglet` (pre-installed V2.x path:`./libs/pyglet`)
|
2022-06-08 21:07:47 +08:00
|
|
|
- `xmltodict` (pre-installed V0.12.0 path:`./libs/xmltodict`)
|
|
|
|
- `pyperclip` (pre-installed V1.8.2 path: `./libs/pyperclip`)
|
2023-04-20 19:54:53 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Credits
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-02-17 22:15:24 +08:00
|
|
|
- Open Source Projects
|
|
|
|
- [pyglet](https://github.com/pyglet/pyglet): GUI and graphics
|
2023-12-30 22:07:01 +08:00
|
|
|
- `tomlkit` toml parser
|
2023-02-17 22:15:24 +08:00
|
|
|
- `xmltodict`: translate data between xml and dict
|
|
|
|
- `pyperclip`: paste board!
|
2023-06-26 10:46:43 +08:00
|
|
|
- [rapier2d](https://rapier.rs/) : Phy simulate engine
|
|
|
|
- [pyo3](https://pyo3.rs/main) : Rust Python Binding
|
2023-02-17 22:15:24 +08:00
|
|
|
|
|
|
|
- Main contributors
|
2023-02-26 08:46:04 +08:00
|
|
|
- [@Rayawa](https://github.com/Rayawa) : Check mistake in docs & some translates
|
|
|
|
- [@rouxiao-you](https://github.com/ruoxiao-you) : Translate chinese to English
|
|
|
|
- [@Billchyi](https://github.com/Billchyi) : Check mistake in docs
|
|
|
|
- [@MSDNicrosoft](https://github.com/MSDNicrosoft) : Optimize code
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## Other Links
|
|
|
|
|
2023-12-30 22:07:01 +08:00
|
|
|
[Offical Document](https://dr.shenjack.top)
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-24 22:17:10 +08:00
|
|
|
## License
|
2022-06-08 21:07:47 +08:00
|
|
|
|
2023-12-30 22:07:01 +08:00
|
|
|
[MPL-2.0](LICENSE)
|