Compare commits
No commits in common. "e495befb801a4aabfd60a26a1c482fe3a9fe1f5e" and "001580029e599749cd9fd654756aceee52ccd582" have entirely different histories.
e495befb80
...
001580029e
2
.github/workflows/nuitka.yml
vendored
2
.github/workflows/nuitka.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
|||||||
- name: Install env
|
- name: Install env
|
||||||
run: |
|
run: |
|
||||||
python gen_require.py 1
|
python gen_require.py 1
|
||||||
pip install -r requirements.txt
|
pip install -r requirement-dev.txt
|
||||||
|
|
||||||
# 使用 ruff 检查一遍仓库
|
# 使用 ruff 检查一遍仓库
|
||||||
- name: Ruff check
|
- name: Ruff check
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Install env
|
- name: Install env
|
||||||
run: |
|
run: |
|
||||||
python gen_require.py 1
|
python gen_require.py 1
|
||||||
pip install -r requirements.txt
|
pip install -r requirement-dev.txt
|
||||||
|
|
||||||
# 提取 DR 版本和其他信息
|
# 提取 DR 版本和其他信息
|
||||||
- name: Display Difficult-Rocket info
|
- name: Display Difficult-Rocket info
|
||||||
|
113
README.md
113
README.md
@ -1,5 +1,114 @@
|
|||||||
# Difficult Rocket
|
# Difficult Rocket
|
||||||
|
|
||||||
Readme 请查看 [dr.shenjack.top](https://dr.shenjack.top/main/readme)
|
中文 | [English](./docs/README-en.md)
|
||||||
|
|
||||||
Readme please check out [dr.shenjack.top](https://dr.shenjack.top/main/readme-en)
|
- [GitHub](https://github.com/shenjackyuanjie/Difficult-Rocket)
|
||||||
|
- [Gitee](https://gitee.com/shenjackyuanjie/Difficult-Rocket)
|
||||||
|
- [Discord](https://discord.gg/kWzw2JrG6M)
|
||||||
|
- [Kook](https://kook.top/sRPjFG)
|
||||||
|
|
||||||
|
>注意:本仓库未来只会发布`DR SDK`的更新。`DR game`的更新会在[这里](https://github.com/shenjackyuanjie/DR-game)发布。
|
||||||
|
|
||||||
|
[](https://996.icu)
|
||||||
|
[](https://Semver.org/)
|
||||||
|
[](https://Python.org)
|
||||||
|
[](https://pyglet.org)
|
||||||
|
[](https://Python.org)
|
||||||
|
|
||||||
|
## 版本
|
||||||
|
|
||||||
|
[关于版本号的说明](./docs/src/version.md)
|
||||||
|
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
|
||||||
|
[](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||||
|
|
||||||
|
[DR sdk 最新 Action 构建](https://nightly.link/shenjackyuanjie/Difficult-Rocket/workflows/nuitka/main)
|
||||||
|
|
||||||
|
[DR rs 最新 Action 构建](https://nightly.link/shenjackyuanjie/Difficult-Rocket/workflows/dr_rs/main)
|
||||||
|
|
||||||
|
## 介绍
|
||||||
|
|
||||||
|
这是一个用Python制作的类Simple Rocket游戏(简称:火箭模拟器)。相对于原版SR,它更加轻量。
|
||||||
|
|
||||||
|
[计划特性列表](docs/src/plan_features/README.md)
|
||||||
|
|
||||||
|
[YouTrack](https://difficult-rocket.youtrack.cloud/projects/8dafd498-59c0-4ce7-9900-d9292e9ed1f0)
|
||||||
|
|
||||||
|
[更新日志](docs/src/change_log/readme.md)
|
||||||
|
|
||||||
|
## 运行
|
||||||
|
|
||||||
|
### 1. Clone
|
||||||
|
|
||||||
|
```bash title="clone.sh"
|
||||||
|
mkdir DR
|
||||||
|
cd DR
|
||||||
|
git clone https://github.com/shenjackyuanjie/Difficult-Rocket.git
|
||||||
|
# 或者
|
||||||
|
git clone https://gitee.com/shenjackyuanjie/Difficult-Rocket.git
|
||||||
|
# 又或者
|
||||||
|
git clone git@github.com:shenjackyuanjie/Difficult-Rocket.git
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. 安装依赖
|
||||||
|
|
||||||
|
```bash title="install.sh"
|
||||||
|
python gen_require.py 0
|
||||||
|
python -m pip install -r requirements.txt
|
||||||
|
git submodule update --init --recursive
|
||||||
|
cd libs
|
||||||
|
python -m pip install ./lib_not_dr
|
||||||
|
python -m pip install ./pyglet
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. 运行
|
||||||
|
|
||||||
|
```bash title="run.sh"
|
||||||
|
python DR.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## 环境需求
|
||||||
|
|
||||||
|
>开发环境使用的Python版本为`3.8.18`,但`3.8+`同样可用。
|
||||||
|
|
||||||
|
- `开发平台 1 - Windows 10 x64 22H2`
|
||||||
|
- Python `3.8.10+`
|
||||||
|
- `requirements`
|
||||||
|
- `AMD R5 5600X`
|
||||||
|
- `AMD RX 580 8G`
|
||||||
|
|
||||||
|
## 需要的Python模块
|
||||||
|
|
||||||
|
> python gen_require.py [-h] {0,1,2}
|
||||||
|
> run / build / compile
|
||||||
|
|
||||||
|
- `pyglet` (已经内置 V2.x 路径:`./libs/pyglet`)
|
||||||
|
- `xmltodict` (已经内置 V0.12.0 路径:`./libs/xmltodict`)
|
||||||
|
- `pyperclip` (已经内置 V1.8.2 路径: `./libs/pyperclip`)
|
||||||
|
|
||||||
|
## 鸣谢
|
||||||
|
|
||||||
|
- 开源项目
|
||||||
|
- [pyglet](https://github.com/pyglet/pyglet) : GUI 和画面渲染
|
||||||
|
- `tomlkit` : toml 解析器
|
||||||
|
- `xmltodict`: xml 与 dict 转换器
|
||||||
|
- `pyperclip`: 剪贴板!
|
||||||
|
- [rapier2d](https://rapier.rs/) : 物理模拟引擎
|
||||||
|
- [pyo3](https://pyo3.rs/main): Rust Python 扩展
|
||||||
|
|
||||||
|
- 主要贡献者
|
||||||
|
- [@Rayawa](https://github.com/Rayawa) : 文档矫正 & 翻译部分 lang
|
||||||
|
- [@rouxiao-you](https://github.com/ruoxiao-you) : 翻译 lang
|
||||||
|
- [@Billchyi](https://github.com/Billchyi) : 文档矫正
|
||||||
|
- [@MSDNicrosoft](https://github.com/MSDNicrosoft) : 优化代码
|
||||||
|
|
||||||
|
## 相关链接
|
||||||
|
|
||||||
|
[官方文档](https://dr.shenjack.top)
|
||||||
|
|
||||||
|
## 许可
|
||||||
|
|
||||||
|
[MPL-2.0](LICENSE)
|
||||||
|
114
docs/README-en.md
Normal file
114
docs/README-en.md
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Difficult Rocket
|
||||||
|
|
||||||
|
[中文](../README.md) | English
|
||||||
|
|
||||||
|
- [GitHub](https://github.com/shenjackyuanjie/Difficult-Rocket)
|
||||||
|
- [Gitee](https://gitee.com/shenjackyuanjie/Difficult-Rocket)
|
||||||
|
- [Discord](https://discord.gg/kWzw2JrG6M)
|
||||||
|
- [Kook](https://kook.top/sRPjFG)
|
||||||
|
|
||||||
|
>Note: This repo will only publish `DR SDK` updates, `DR game` updates will be published [here](https://github.com/shenjackyuanjie/DR-game).
|
||||||
|
|
||||||
|
[](https://996.icu)
|
||||||
|
[](https://Semver.org/)
|
||||||
|
[](https://Python.org)
|
||||||
|
[](https://pyglet.org)
|
||||||
|
[](https://Python.org)
|
||||||
|
|
||||||
|
## Version
|
||||||
|
|
||||||
|
[About Versions](src/version.md)
|
||||||
|
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
[](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||||
|
|
||||||
|
[](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||||
|
|
||||||
|
[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)
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
Difficult-rocket is a Simple Rocket liked game build with Python (shorten as "rocket simulator"). It is lighter than Vanilla SR.
|
||||||
|
|
||||||
|
[Plan feature list](src/plan_features/README.md)
|
||||||
|
|
||||||
|
[YouTrack](https://difficult-rocket.youtrack.cloud/projects/8dafd498-59c0-4ce7-9900-d9292e9ed1f0)
|
||||||
|
|
||||||
|
[Update logs](src/change_log/readme.md)
|
||||||
|
|
||||||
|
## Run
|
||||||
|
|
||||||
|
### 1. Clone
|
||||||
|
|
||||||
|
```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
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Install requirements
|
||||||
|
|
||||||
|
```bash title="install.sh"
|
||||||
|
python gen_require.py 0
|
||||||
|
python -m pip install -r requirements.txt
|
||||||
|
git submodule update --init --recursive
|
||||||
|
cd libs
|
||||||
|
python -m pip install ./lib_not_dr
|
||||||
|
python -m pip install ./pyglet
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Run
|
||||||
|
|
||||||
|
```bash title="run.sh"
|
||||||
|
python DR.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
|
||||||
|
>The developing environment used Python `3.8.10`, but `3.8+` is also available.
|
||||||
|
|
||||||
|
- `Develop platform 1 - Windows 10 x64 22H2`
|
||||||
|
- Python `3.8.10+`
|
||||||
|
- `requirements`
|
||||||
|
- `AMD R5 5600X`
|
||||||
|
- `AMD RX 558 8G`
|
||||||
|
|
||||||
|
## Required Python Modules
|
||||||
|
|
||||||
|
> python gen_require.py [-h] {0,1,2}
|
||||||
|
> run / build / compile
|
||||||
|
|
||||||
|
- `pyglet` (pre-installed V2.x path:`./libs/pyglet`)
|
||||||
|
- `xmltodict` (pre-installed V0.12.0 path:`./libs/xmltodict`)
|
||||||
|
- `pyperclip` (pre-installed V1.8.2 path: `./libs/pyperclip`)
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
- Open Source Projects
|
||||||
|
- [pyglet](https://github.com/pyglet/pyglet): GUI and graphics
|
||||||
|
- `tomlkit` toml parser
|
||||||
|
- `xmltodict`: translate data between xml and dict
|
||||||
|
- `pyperclip`: paste board!
|
||||||
|
- [rapier2d](https://rapier.rs/) : Phy simulate engine
|
||||||
|
- [pyo3](https://pyo3.rs/main) : Rust Python Binding
|
||||||
|
|
||||||
|
- Main contributors
|
||||||
|
- [@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
|
||||||
|
|
||||||
|
## Other Links
|
||||||
|
|
||||||
|
[Offical Document](https://dr.shenjack.top)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[MPL-2.0](LICENSE)
|
Loading…
Reference in New Issue
Block a user