From 640f0dfe8857d8c65ff9c08d6ee3f4e39f9a5839 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 31 Dec 2023 15:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BA=86=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=86=85=E7=9A=84readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 顺便迁移了一下 --- docs/main/readme-en.md | 147 ++++++++++------------------------------- docs/main/readme.md | 142 +++++++++------------------------------ 2 files changed, 67 insertions(+), 222 deletions(-) diff --git a/docs/main/readme-en.md b/docs/main/readme-en.md index 9438ddc..94b5011 100644 --- a/docs/main/readme-en.md +++ b/docs/main/readme-en.md @@ -1,15 +1,13 @@ # Difficult Rocket -[中文](/main/readme.md) | English +[中文](../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) +- [Gitee](https://gitee.com/shenjackyuanjie/Difficult-Rocket) +- [Discord](https://discord.gg/kWzw2JrG6M) +- [Kook](https://kook.top/sRPjFG) -## Notice: This repo will only publish `DR SDK` updates, `DR game` updates will be published [here](https://github.com/shenjackyuanjie/DR-game) - -![demo](/demo.png) +>Note: This repo will only publish `DR SDK` updates, `DR game` updates will be published [here](https://github.com/shenjackyuanjie/DR-game). [![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/) @@ -19,7 +17,7 @@ ## Version -[About Versions](./version.md) +[About Versions](src/version.md) [![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) @@ -31,23 +29,19 @@ [DR rs latest Action build](https://nightly.link/shenjackyuanjie/Difficult-Rocket/workflows/dr_rs/main) -## 中文README请移步 [这里](../README.md) +## Introduction -> Difficult-rocket is a Simple Rocket liked game build with Python (in short: rocket simulator) +Difficult-rocket is a Simple Rocket liked game build with Python (shorten as "rocket simulator"). It is lighter than Vanilla SR. -## Advantage - -> Lighter than Vanilla SR - -## [Plan feature list](/main/plan_features/README.md) +[Plan feature list](src/plan_features/README.md) [YouTrack](https://difficult-rocket.youtrack.cloud/projects/8dafd498-59c0-4ce7-9900-d9292e9ed1f0) -## [Update logs](/main/change_log) +[Update logs](src/change_log/readme.md) -## How To Run +## Run -### clone +### 1. Clone ```bash title="clone.sh" mkdir DR @@ -59,87 +53,47 @@ git clone https://gitee.com/shenjackyuanjie/Difficult-Rocket.git git clone git@github.com:shenjackyuanjie/Difficult-Rocket.git ``` -### Install requirements +### 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 -cd lib_not_dr -python -m pip install . +python -m pip install ./lib_not_dr +python -m pip install ./pyglet ``` -### Run +### 3. Run ```bash title="run.sh" python DR.py ``` -## Environment (been tested / developed on) +## 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` / `3.10.11` - - pillow `10.0.0` - - psutil `5.9.5` - - rtoml `0.9.0` - - tomlkit `0.12.1` - - defusedxml `0.7.1` - - objprint `0.2.2` - - viztracer `0.15.6` - - vizplugins `0.1.3` - - nuitka `1.7.10` - - ordered-set `4.1.0` - - imageio `2.31.2` - - wheel `0.41.2` - - setuptools `68.1.2` - - setuptools-rust `1.7.0` + - Python `3.8.10+` + - `requirements` - `AMD R5 5600X` - - `AMD RX 550 4G` + - `AMD RX 558 8G` -## Required python modules +## Required Python Modules -- `pyglet` (pre-installed V2.0.8 path:`./libs/pyglet`) +> 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`) -```text -# this requirement is for -# DR basic running from source -# DR build (by nuitka) -# DR contributing - -# for images -# not for pypy >= 3.10 -pillow >= 10.0.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" - -# for sys info -psutil >= 5.9.5 - -# for files -rtoml >= 0.9.0 -tomlkit >= 0.11.8 -defusedxml >= 0.7.1 - -# for debug -objprint >= 0.2.2 -viztracer >= 0.15.6; platform_python_implementation != "PyPy" -vizplugins >= 0.1.3; platform_python_implementation != "PyPy" - -# for compile -nuitka >= 1.7.5 -ordered-set >= 4.1.0 -imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython" -wheel >= 0.40.0 -setuptools >= 67.8.0 -setuptools-rust >= 1.6.0 - -``` - -## thanks to +## Credits - Open Source Projects - [pyglet](https://github.com/pyglet/pyglet): GUI and graphics - - `tomlkit` / `rtoml` toml parser + - `tomlkit` toml parser - `xmltodict`: translate data between xml and dict - `pyperclip`: paste board! - [rapier2d](https://rapier.rs/) : Phy simulate engine @@ -151,43 +105,10 @@ setuptools-rust >= 1.6.0 - [@Billchyi](https://github.com/Billchyi) : Check mistake in docs - [@MSDNicrosoft](https://github.com/MSDNicrosoft) : Optimize code -## Other links +## Other Links -## About License +[Offical Document](https://dr.shenjack.top) -#### https://creativecommons.org/licenses/by-nc-sa/4.0/ +## License -#### Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) - -This is a human-readable summary of (and not a substitute for) the license. Disclaimer. - -You are free to: - -Share — copy and redistribute the material in any medium or format - -Adapt — remix, transform, and build upon the material - -The licensor cannot revoke these freedoms as long as you follow the license terms. - -Under the following terms: - -Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You -may do so in any reasonable manner, but not in any way - -that suggests the licensor endorses you or your use. - -NonCommercial — You may not use the material for commercial purposes. - -ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same -license as the original. - -No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from -doing anything the license permits. - -Notices: - -You do not have to comply with the license for elements of the material in the public domain or where your use is -permitted by an applicable exception or limitation. - -No warranties are given. The license may not give you all the permissions necessary for your intended use. For example, -other rights such as publicity, privacy, or moral rights may limit how you use the material. +[MPL-2.0](LICENSE) diff --git a/docs/main/readme.md b/docs/main/readme.md index e718918..153ce8c 100644 --- a/docs/main/readme.md +++ b/docs/main/readme.md @@ -1,17 +1,13 @@ -