shenjack
f9eeafe322
readme update 看起来更像 Dear ImGui 一些(looks more like Dear ImGui and some intersting feature to the button remove debug 确认一下action 404 修改 writing theme looks good better? a ? alpha=255 not 256 looks better try new pyglet first 看起来好一些 sync pyglet 水一手 这波必须得水一手了,要不然commit太少了(确信 丢点正经东西上去 顺手继承一下Options 补充docs 坏了,忘记水commit了( 至少我能早睡了( 这里还能水一点来着( 试试再说 reee 保证能跑( 同步lib not dr 的修改 忘记带上 None了 还是加上一个额外的判断参数吧 刷点commit也不错 先更新一下依赖版本 水commit啦 理论可行,实践开始! 构建参数喜加一 reeeee 更新一下 pyproject 的依赖 fix typing looks better 水一个( 测试? sync pyglet to master A | Try use rust-cache looks good? what? C | sync pyglet A | 添加了一个 Button Draw Theme A | Magic Number (确信) A | 尽量不继承Options sync pyglet A | Add theme A | Add more Theme information Enhance | Theme sync pyglet Add | add unifont Enhance | use os.walk in font loading Enhance | Use i18n in font loading Enhance | doc sync pyglet Add | add 3.12 build option to build_rs Fix | Button position have a z sync pyglet A | Logger.py 启动! sync pyglet Changed | Bump pyo3 to 0.20.0 add logger.py update logger! Add | more logger! Add | lib-not-dr some lib-not-dr
164 lines
5.7 KiB
Markdown
164 lines
5.7 KiB
Markdown
# 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)
|
|
|
|
## Notice: This repo will only publish `DR SDK` updates, `DR game` updates will be published [here](https://github.com/shenjackyuanjie/DR-game)
|
|
|
|
![demo](/src/demo.png)
|
|
|
|
<a href="https://996.icu"><img src="https://img.shields.io/badge/link-996.icu-red.svg" alt="996.icu" /></a>
|
|
[![Generic badge](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/)
|
|
[![Generic badge](https://img.shields.io/badge/Write_with_Python-3.8.10-blue.svg)](https://Python.org)
|
|
[![Generic badge](https://img.shields.io/badge/Write_with_Pyglet-2.0.8-blue.svg)](https://pyglet.org)
|
|
[![Generic badge](https://img.shields.io/badge/Python-_3.8_|_3.9_|_3.10_|_3.11_-blue.svg)](https://Python.org)
|
|
|
|
## Version
|
|
|
|
[About Versions](src/version.md)
|
|
|
|
[![release version](https://img.shields.io/badge/Release-0.8.6.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
|
[![pre version](https://img.shields.io/badge/Pre_Release-0.8.7.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
|
[![devlo version](https://img.shields.io/badge/Devloping-0.8.8-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
|
|
|
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](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)
|
|
|
|
## 中文README请移步 [这里](../README.md)
|
|
|
|
> Difficult-rocket is a Simple Rocket liked game build with Python (in short: rocket simulator)
|
|
|
|
## Advantage
|
|
|
|
> 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)
|
|
|
|
## Environment (been tested / developed on)
|
|
|
|
- `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`
|
|
- `AMD R5 5600X`
|
|
- `AMD RX 550 4G`
|
|
|
|
## Required python modules
|
|
|
|
- `pyglet` (pre-installed V2.0.8 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
|
|
|
|
- Open Source Projects
|
|
- [pyglet](https://github.com/pyglet/pyglet): GUI and graphics
|
|
- `tomlkit` / `rtoml` 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
|
|
|
|
## About License
|
|
|
|
#### https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
|
|
#### 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.
|