Skip to content

Releases: Arkueid/live2d-py

v0.3.6

28 Jan 00:35
Compare
Choose a tag to compare

#45

  • 修复 LAppModel.GetParameter(index: int) 中的内存泄漏
  • 添加 LAppModel.GetParameterValue(index: int) -> float 以获取当前参数值

v0.3.5

22 Jan 10:12
Compare
Choose a tag to compare

v0.3.4

15 Jan 11:48
Compare
Choose a tag to compare

v0.3.3

09 Jan 06:39
Compare
Choose a tag to compare
  • 修复3.12.1及以上版本无法通过pip安装 (by @I-love-study)
  • 修复平移、缩放后HitPart错位问题
  • 添加表情复位、Pose复位、Motion强制停止功能 (from #39)

v0.3.2

31 Dec 05:29
Compare
Choose a tag to compare
  • 使用Python SABI构建动态库,理论上Python
    3.2以上版本的构建产物可以互通。

  • 自动化修改Framework,目前可以直接更新Cubism Core、Cubism
    Framework,无需额外配置。

  • 添加setup-universal.py,使用该脚本直接安装适用于win64的live2d-py,无需编译。

v0.3.1

26 Dec 10:51
Compare
Choose a tag to compare
  • 提升 Python 子版本间兼容性, #28
  • 修复示例中的一些问题 #28, #30

v0.3.0

15 Dec 07:49
46f6680
Compare
Choose a tag to compare
  • Rewrite live2d.v2 in pure Python by translating Cubism Web SDK 2.1.
  • Add setter and getter for PartScreenColor and PartMultiplyColor.
  • Remove setGLProfiles in live2d.v3

Now live2d.v2 is available to 64-bit Python Interpreter.

v0.2.5

04 Dec 00:56
Compare
Choose a tag to compare
  • Add clicked-part test (solution provided by @jahtim)
  • Change module import logic to prevent hidden import, which may
    result in missing XXX.py when using pyinstaller

v0.2.4

11 Oct 15:17
Compare
Choose a tag to compare

同步更新 PyPI

添加 Part 透明度控制
class LAppModel:
    ...

    def GetPartCount() -> int:
        pass

    def GetPartId(index: int) -> str:
        pass

    def GetPartIds() -> list[str]:
        pass

    def SetPartOpacity(index: int, opacity: float) -> None:
        pass

用例:

log.Debug(f"Part Count: {model.GetPartCount()}")
partIds = model.GetPartIds()
log.Debug(f"Part Ids: {partIds}")
model.SetPartOpacity(partIds.index("PartHairBack"), 0.5)

v0.2.3

25 Sep 10:59
Compare
Choose a tag to compare

2024/9/24

  • 更正HitTest的参数类型
  • 移除动态库内全局动作回调函数
  • 添加live2d.clearBuffer的可选背景色参数 by @96bearli
  • 修正live2d.utils.log.logEnable与动态库的状态同步
  • 修复简易面捕的抖动问题 by @96bearli