Skip to content

0.8.5.0 code clean up with new render on drgame

Compare
Choose a tag to compare
@shenjackyuanjie shenjackyuanjie released this 01 Jul 14:11
· 351 commits to main since this release

DR sdk 0.8.5.0

Changes

  • Difficult_Rocket.__init__
    • 重命名 / Rename
    • game_version -> sdk_version
  • ModManager
    • get_mod_module(mod_name: str) -> Optional[ModInfo]
      • 通过 mod 名称获取 mod 的信息
      • Get mod information by mod name
    • load_mod(mod_path: Path) -> Optional[ModInfo]
      • 加载指定路径的 mod
      • Load the mod at the specified path
    • find_mods_in_path(extra_mods_path: Optional[List[Path]]) -> List[Path]
      • 在指定的路径中查找 mod 并返回 mod 的路径
      • Find mods in the specified path and return the path of the mod
    • unload_mod(mod_id: str, game: Game) -> Optional[ModInfo]
      • 卸载指定的 mod 并返回 mod 的信息
      • Unload the specified mod and return the mod information
    • reload_mod(mod_id: str, game: Game)
      • 重新加载指定的 mod
      • Reload the specified mod

Remove

  • DR.client.guis.widget.InputBox
    • 没用了 TextEntry 已经好了 可以直接用了
    • Use Less, the TextEntry is ok to use

Command

  • mods
    • list
      • 列出所有已加载的 mod
      • List all loaded mods
    • reload <mod_id>
      • 重新加载指定的 mod
      • Reload the specified mod

DR sdk 0.8.4.1

Add

  • utils.camera
    • Camera
      • 一个 2D 摄影机,可以用于高效变换渲染坐标
    • CenterCamera
      • 一个中心对器的 2D 摄影机,可以用于高效变换渲染坐标

DR rs 0.3.0.0

修改

  • 适配了 DR sdk 的关于 mods 的修改
    • Adapted the modification of mods about DR sdk
  • RustConsole
    • 现在输入体验更好了
    • Now the input experience is better

DR rs 0.2.15.0

修改

  • 现在支持新的 mods reload 和 unload 了
    • 适配了 DR sdk 的关于 mods 的修改
    • Now support new mods reload and unload
      • Adapted the modification of mods about DR sdk

添加

  • IdType = i64
    • 统一的 id 类型
    • Unified id type
  • PySR1Ship
    • get_connection -> Vec<(i32, i32, IdType, IdType)>
      • 获取飞船的连接信息
      • Get the connection information of the ship

DR rs 0.2.14.0

删除

  • 删除了多个 xml 测试读取函数
    • Remove multiple xml test read functions

改进

  • 改进了 xml writer 的 SR1Ship 写入
    • Improve the xml writer's SR1Ship write

DR game 0.2.1.0

修改

  • sr1_ship 中的 Camera_rs 改为 Difficult_Rocket.utils.camera.Camera
    • Change Camera_rs in sr1_ship to Difficult_Rocket.utils.camera.Camera
  • 添加了部件的连接线(都是彩色哒)
    • Add the connection line of the part (all are colored)

DR rs 0.2.13.0

删除

  • 删除了 render.rs
    • 没必要拿 rust 写这玩意(
    • DR gamecamera 代替
    • Delete render.rs
      • No need to write this thing with rust (
      • Use DR game's camera instead

添加

  • 添加了 基于 quick-xml::writer::Writer 的 xml SR1Ship 写入
    • 折磨啊啊啊啊啊啊啊啊
    • Add xml SR1Ship write based on quick-xml::writer::Writer
      • Torture ah ah ah ah ah ah ah ah

DR rs 0.2.12.0

添加

  • 添加了 xml 的读取测试
    • Add xml read test

DR game 0.1.2.0

修改

  • 现在渲染飞船的时候不会再显示那个白色框了
    • 改为一个彩色的框
  • Now, the ship will not be displayed in the white box
    • Change to a colored box

DR rs 0.2.11.0

添加

  • Python::data::PySR1Ship
    • get_part_box(&self, part_id: i64) -> Option<(f64, f64), (f64, f64)>
      • 用于获取对应 id 的实际碰撞箱

DR game 0.2.0.0

适配

  • 适配了 DR_sdk 0.8.3.0 的修改

DR game 0.1.1.0

添加

  • types.py
    • DR.api.types.SR1 中移动过来

新功能

  • console.py
    • 基于 PyConsole
    • 用于替换 DR sdk 的默认控制台方法

20230630 build 2.1.1.0

修改

  • 现在本地构建会根据系统名称修改输出目录
    • 例如
      • Windows 上构建会输出到 build\nuitka-windows
    • Now the local build will modify the output directory according to the system name
      • For example
        • Build on Windows will output to build\nuitka-windows

Files:

  • DR 0.8.5.0 build for
    • Linux
    • MacOS
    • Windows
  • dr_game 0.3.0.0 package with
    • dr_rs 0.2.15.0 build for
      • cpython 3.8 amd64 windows
      • cpython 3.10 amd64 windows
      • cpython 3.11 amd64 windows
      • cpython 3.8 darwin
      • cpython 3.8 x86_64 linux-gnu
      • cpython 3.10 darwin
      • cpython 3.10 x86_64 linux-gnu
      • cpython 3.11 x86_64 linux-gnu
      • pypy 3.8 7.3 amd64 windows
      • pypy 3.9 7.3 amd64 windows
      • pypy 3.10 7.3 amd64 windows