Difficult-Rocket

(WIP)Difficult Rocket by Python

MPL-2.0 License

Stars
33
Committers
11

Bot releases are hidden (Show)

Difficult-Rocket - Render optmise 渲染优化

Published by shenjackyuanjie over 1 year ago

其实也没啥东西
反正就是,现在滚动更顺滑了

20230219 V 0.7.1.1

删除了多余的 print

20230219 V 0.7.1.0

命令

  • get_buf
    • 用于截屏 并将文件保存至根目录下面的 test.png

更新

  • 更改了 ClientWindow 启动参数的设置, 实装 ClientOption 的使用
  • SR1PartData 的字段 type_ 重命名为 p_type
  • 现在鼠标滚动更顺滑了

DR_Rs

  • 移动了 SR1PartData 的位置
    • SR1PartData 添加了 connections: Option<Vec<(usize, usize)>> 的字段

https://github.com/shenjackyuanjie/Difficult-Rocket/actions/runs/4216369511

Difficult-Rocket - SR1 render! 0.7.0.2

Published by shenjackyuanjie over 1 year ago

想不到吧! 我又来发release了

这次大概是要咕很久了
要开学喽

20230207 V 0.7.0.2

淦, 忘记步进版本号了(

20230207 V 0.7.0.1

刷个版本号 (确信)

优化

  • 实装 Translate
    • 现在多语言翻译更方便
  • 优化了 action 的构建方式 (应该能开箱即用了)

202301 V 0.7.0.0

啊哈! 现在真就是 0.7 了

毕竟加了一整个 DR_rs

Add

  • libs.Difficult_Rocket_rs (DR_rs) 0.1.0.0
    • get_version_str
      • 返回 DR_rs 的版本号 可以用于检查我有没有忘记跑 after_build.py
      • 别问为啥不是返回一个 Version 对象 问就是懒得转换
    • better_update_pats
      • 用于优化 SR1ShipRender.update_parts 的性能
        • ( Python 原生的 for 循环真慢 )
    • PartDatas
      • 用于在 PyObj 里 暗 渡 陈 仓 装 HashMap<uszie, SR1PartData>
    • Camera_rs
      • 用于闲的没事在 rust 里写个 camera

命令

  • 有点尴尬,sr1 的命令不大好使,改成 debug
  • render
    • reset
      • 用于重置现在这艘船的渲染 (避免你玩着玩着把船玩道不知道什么地方去了)

优化

  • 继续优化未实装的 Translates
Difficult-Rocket - New Workable release!

Published by shenjackyuanjie over 1 year ago

等了快一年了
终于有新东西啦!

参考 update logs

需要注意的是,这个release的文件是未经处理的原始dev文件夹,文件体积偏大,会在0.6.5.1中分发体积更小的文件

20230120 V 0.6.5.0

抱歉,我撒谎了(

0.6 还得来几个版本号

Add

  • 现在将文件拖拽至屏幕内可以渲染默认船只/渲染拖拽上来的解析成功的第一艘船
  • 可以使用类似 SR1 的方式拖拽界面

命令行

  • stop
    • 关闭游戏
  • fps
    • log
      • 输出 fps 信息
    • min
      • 输出 最近 5s 的最小 fps
    • max
      • 输出 最近 5s 的最大 fps
  • default
    • 将窗口大小恢复成默认
  • render
    • 渲染 默认船只
  • sr1
    • 下面的选项都是 DEBUG 用,不保证以后继续保留
    • delta
      • 渲染 SR1 渲染的偏移量
      • mouse
        • 渲染 SR1 渲染的鼠标偏移量
        • delta
          • 渲染 SR1 渲染的鼠标前进偏移量

优化(代码层面)

  • 改掉了 CommandText 里的离谱代码
  • 优化了 tools.load_file 的逻辑(其实是几个版本之前的改动
  • CommandText.match -> CommandText.re_match
  • 感谢 @caffe 的 pyglet macosx 分支
  • 暂未实装
    • Translates 的优化
      • 以后多语言用起来会更方便
    • Tr 的优化
      • Translates 配套
    • Difficult_Rocket_rs
      • DR 的 Rust 优化
      • 基于 pyo3

感谢 @caffeinepills 的 pyglet MacOS dev

Difficult-Rocket - 0.6.1 ruaaa

Published by shenjackyuanjie over 2 years ago

What's Changed

Difficult-Rocket - just a release(also a pre one) 就是一个发布版嘛

Published by shenjackyuanjie about 3 years ago

没文件!(理直气壮
这个release 会包含所有v0.5的信息和文件
在主界面再次有实际东西之前,他一直会是一个pre release

Difficult-Rocket - second release a pre one

Published by shenjackyuanjie about 3 years ago

20210811 V 0.4.6

DEBUG

  • game window doesn't use input (*args, **kwargs) to setup

Change

  • language type zh-cn -> zh-CN
  • game window config now use configs/main.config to config
  • on_mouse_click function's debug message now use self.lang to debug message (witch is multi-language)
  • server client and main now use logging.getLogger()

Add

  • [window_default] in configs/main.config
  • server and client now will output PID and PPID info as INFO
  • client now change to ClientWindow

Delete

  • all game window render has been deleted
    • will be rewritten in 0.5.0
  • delete some useless code
  • delete some useless file
Difficult-Rocket - first release 不咕的证明,,,,个毛线啊

Published by shenjackyuanjie about 3 years ago

咕咕咕咕!

20210723 V 0.4.5

DEBUG

  • new_thread.py link of stackoverflow have an extra 'find' in the middle REMOVED

Add

  • new_thread.py now can use @new_thread to get a threaded fun

Change

  • README.md and README-cn.md change URL to file path
  • README.md and README-cn.md some label style change
  • Pre-installed pyglet upgrade from 1.5.16 -> 1.5.18
  • Pre-installed json5 upgrade from 0.9.5 -> 0.9.6

20210708 V 0.4.4

PS

  • Nice day everyone!
  • I have finish my final exam on grade 8.
  • Will soon reach grade 9, so update will be late very much.

Change

  • function tools.config() way of raise error change tools.report_file_error()
  • function tools.cb() change name to tools.format_bool()
  • config.py clear some useless import class
  • changing configfile to main.config *doing

Test change

  • test_config_file.py
  • test_for_speed.py
  • test_logging_conf.py
  • test_speed_of_sprite.py

2021/06/26 V 0.4.3

DEBUG

  • some name_format bug

Change

  • doing: change render pip line ('m really doing)
  • default FPS from 120 -> 60

Add

  • add performance_test folder
  • add some performances test

2021/05/24 V 0.4.2

DEBUG

  • using python version 3.8.9 still report best3.8+(lang name)(actually is debugging)

Change

  • change back how configs.py/name_format work(replace str) fix some issue
  • doing remake for config sys (lazy yes!)
  • clear bin/pyglet (already exits in bin/lib)

Need Do

  • debug name_format

2021/04/17 V 0.4.1

PS:

  • Va.b.c

  • a : Big Version (Big rewrite times) (now at DEMO making)

  • b : Middle Rewrite Times (Yes I've rewritten for 4 times)

  • c : normal updates

DEBUG

  • solve pre-installed lib can't use
  • solve pre-installed lib's bug
  • some other bugs

Change

  • plan to change config file format to .config (plan to)
  • reformat all files (including libs)

2021/04/09 V 0.2.3/4

Add

  • support many things(also forget)

Change

  • tools.name_handler() now use str.format to handler str
  • DR/sys_value folder now move to DR/configs/sys_value

DEBUG

  • many tools.name_handler() use bug(cause crashes)
  • {date} can be successful use in tools.name_handler() (if you define the format of date)
  • log file's filename incorrect (should be xxxx-xx-xx xx-xx-xx DR.log but be {date} DR.log)

2021/03/27 V 0.2.2/1

Add

  • add local libs
    • pyglet 1.5.15
    • json5 0.9.5

PS: now I'm not sure witch lib will be import first

the local lib or the pip libs

So I'll add some other code to make sure that DR will first try to import pip libs

not the local libs (todo)

DEBUG

  • some bugs(I forget them)