Difficult-Rocket/README-en.md
2024-08-04 14:34:17 +08:00

4.6 KiB

Difficult Rocket

Readme 请查看 dr.shenjack.top

Readme please check out dr.shenjack.top

下面是一个 老的, 未同步的 readme

below is an old, unsynchronized readme

Difficult Rocket

中文 | English

Note: This repo will only publish DR SDK updates, DR game updates will be published here.

996.icu semver python-3.8.10 pyglet-2.x support python 3.8~12

Version

About Versions

release version pre version devlo version

language badge

DR sdk latest Action build

DR rs latest Action build

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

YouTrack

Update logs

Run

1. Clone

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

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

python DR.py

Environment

The developing environment used Python 3.8.10, but 3.8+ is also available.

After 3.8 EOL, 3.11 will be used as the developing environment.

We use 3.8 for now because it's the last version officially support Windows 7.

  • Develop platform 1 - Windows 10 x64 22H2
    • Python 3.8.18+
      • Python 3.8.18+ (heads/3.8:7f59c4c1d4, Aug 26 2023, 00:20:02) [MSC v.1900 64 bit (AMD64)] on win32
    • AMD R5 5800X
    • 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: GUI and graphics
    • tomls
      • tomlkit
      • tomli
      • rtoml
    • xmltodict: translate data between xml and dict
    • pyperclip: paste board!
    • rapier2d : Phy simulate engine
    • pyo3 : Rust Python Binding
  • Jundroo

    • Thanks you for writing SR this magical fun game
  • Main contributors

Offical Document

License

MPL-2.0