• 0.5.2 f1d71b4861

    big update Stable

    shenjackyuanjie released this 2023-05-25 00:20:36 +08:00 | 1249 commits to main since this release

    也许能用?

    ————废话分割线————

    这回真的更新了好多东西

    update logs的搬运(

    20210928 V 0.5.2

    Change

    • now bin folder use the name Difficult_Rocket
    • now test files no longer have _test_ prefix
    • now will always use local pyglet
      • may change later
    • fitting pypy3.10 (well······ not success (because OpenGL, blame it))
    • now crash-report have more information
    • now when pressed, the sprite will rotate randomly
    • now pyglet.app.run() use multiprocess
    • now will allways use libs/ lib when using pyglet or json5
    • now tools.config() is tools.load_file()
    • now lang file have server``client and window

    Add

    • mods support will be done in 1.0.0
      • just maybe
    • now you can use DEBUGGING to test or check game run stats
      • when True it will always make a crash report
    • now Difficult_Rocket.api.translate.Lang can be used to auto translate text in configs/lang/xxx.json5
      • you can use translate.tr[xxx] to use translated info
      • and use .format to format info's {}
      • if translate is not found, Lang will try to find translate in default language translate
      • (witch was zh-CN)
    • crash now have more information about multiprocess
    • add some unused read_input in client
    • now when logs/ is not found logger will info logger.mkdir

    DEBUG

    • now version on the window will be 0.5.2

    Delete

    • now client.Client and server.Server only use net_mode option
    • api.new_thread have no more extra line of testing
    • configs/view.json5 now removed

    Translate

    • add mouse.release and language to en-us
    • add language to zh-CN
    • add tr.lang(xx, xx) that can solve error on getting item from lang file
      • tr[xxx] can also use but won't solve error when item not found
      • so best use tr.lang(xx, xx)
    Downloads