assets/fonts
unifont.otf
unifont v 15.1.02client
load.font
startfileerroruse_timeclient.pyglet_load_fonts_folder
os.walk 遍历文件夹tr 进行日志记录BaseScreen
Optionsname 选项来识别名称Optionsname option to identify namegui.widget.PressTextButton
Difficult_Rocket.utils.camera.GroupCamera
Difficult_Rocket.utils.camera.CenterGroupCamerapyglet.graphics.Group 来实现的 Cameraapi.camera 里添加了导出
Difficult_Rocket.utils.camera.GroupCameraDifficult_Rocket.utils.camera.CenterGroupCameraCamera using pyglet.graphics.Groupapi.camera
xxCamera 添加了
reset 方法reset method for all xxCamera
DR.py 启动之后如果崩溃会在控制台输出完整的 Crash report 了
DR.py starts, if it crashes, the complete Crash report will be output to the console重构了一下项目结构
Refactored the project structure
assets/
libs/fonts -> assets/fontsconfigs/lang -> assets/langconfigs/xxx.xml -> assets/builtin/xxx.xmltextures -> assets/texturesassets/crash 引用了已经重命名的 Difficult_Rocket.game_version (Difficult_Rocket.sdk_version)Difficult_Rocket.api.types
VersionRequirementVersionParsingErrorDR.py
DR-start.py 的改名DR.py
DR-start.pyDR-start.py
DR.pyDR-start.py
DR.pylibs/utils/dsm.py
libs/utils/dsm.pyCamera 和 CenterCamera 添加到 Difficult_Rocket.api.camera
Camera and CenterCamera to Difficult_Rocket.api.cameraDifficult_Rocket.__init__
game_version -> sdk_versionModManager
get_mod_module(mod_name: str) -> Optional[ModInfo]
load_mod(mod_path: Path) -> Optional[ModInfo]
find_mods_in_path(extra_mods_path: Optional[List[Path]]) -> List[Path]
unload_mod(mod_id: str, game: Game) -> Optional[ModInfo]
reload_mod(mod_id: str, game: Game)
DR.client.guis.widget.InputBox
TextEntry 已经好了 可以直接用了TextEntry is ok to usemods
list
reload <mod_id>
utils.camera
Camera
CenterCamera
.otf 格式的字体文件的问题dr_game 相关的键值
dr_game 自己的语言文件中了dr_game
dr_game itselfutils.translate
Tr
lang_pathlogging 的配置转移到 __init__ 中了
logging 的时候可以正常使用logging is moved to __init__
logging can be used normally when calledTrue/False 了
/ 开头的)True/False
/)CommandText
find
str.startswith 检测是否以要求的字符串开头
re.matchstr.startswith to detect whether it starts with the required string
re.matchpyglet_rs
DR_runtime 进行格式化)DR_status
DR_runtimeDR_runtime -> DR_statusclient_running
server_running
Difficult_Rocket.DR_runtime
DR_version -> DR_status.DR_versionAPI_version -> DR_status.API_versionBuild_version -> DR_status.Build_versiondefault_language -> DR_status.default_languageDiffiuclt_Rocket.long_version
Version 有一个完整的版本号比较机制)Version has a complete version comparison mechanism)Difficult_Rocket.DR_rust_available
DR_rs 的耦合了api.types.SR1
dr_game 中api.types
Version (libs.MCDR.version.Version)Difficult_Rocket.api.types.Options
str_option
__str____repr__
Options 可以被 print 打印console 类在 get_command 时 没有检查是否为空