├── .gitignore
├── Readme.md
├── assets
├── Scene.meta
├── Scene
│ ├── live2d.fire
│ └── live2d.fire.meta
├── Script.meta
├── Script
│ ├── TheGril.ts
│ └── TheGril.ts.meta
├── components.meta
├── components
│ ├── live2d.meta
│ └── live2d
│ │ ├── CubismSdkForWeb.meta
│ │ ├── CubismSdkForWeb
│ │ ├── Core.meta
│ │ ├── Core
│ │ │ ├── CHANGELOG.md
│ │ │ ├── CHANGELOG.md.meta
│ │ │ ├── LICENSE.md
│ │ │ ├── LICENSE.md.meta
│ │ │ ├── README.md
│ │ │ ├── README.md.meta
│ │ │ ├── RedistributableFiles.txt
│ │ │ ├── RedistributableFiles.txt.meta
│ │ │ ├── live2dcubismcore.d.ts
│ │ │ ├── live2dcubismcore.d.ts.meta
│ │ │ ├── live2dcubismcore.js
│ │ │ ├── live2dcubismcore.js.map
│ │ │ ├── live2dcubismcore.js.map.meta
│ │ │ ├── live2dcubismcore.js.meta
│ │ │ ├── live2dcubismcore.min.js
│ │ │ └── live2dcubismcore.min.js.meta
│ │ ├── Framework.meta
│ │ └── Framework
│ │ │ ├── cubismdefaultparameterid.ts
│ │ │ ├── cubismdefaultparameterid.ts.meta
│ │ │ ├── cubismframeworkconfig.ts
│ │ │ ├── cubismframeworkconfig.ts.meta
│ │ │ ├── cubismmodelsettingjson.ts
│ │ │ ├── cubismmodelsettingjson.ts.meta
│ │ │ ├── effect.meta
│ │ │ ├── effect
│ │ │ ├── cubismbreath.ts
│ │ │ ├── cubismbreath.ts.meta
│ │ │ ├── cubismeyeblink.ts
│ │ │ ├── cubismeyeblink.ts.meta
│ │ │ ├── cubismpose.ts
│ │ │ └── cubismpose.ts.meta
│ │ │ ├── icubismallcator.ts
│ │ │ ├── icubismallcator.ts.meta
│ │ │ ├── icubismmodelsetting.ts
│ │ │ ├── icubismmodelsetting.ts.meta
│ │ │ ├── id.meta
│ │ │ ├── id
│ │ │ ├── cubismid.ts
│ │ │ ├── cubismid.ts.meta
│ │ │ ├── cubismidmanager.ts
│ │ │ └── cubismidmanager.ts.meta
│ │ │ ├── live2dcubismframework.ts
│ │ │ ├── live2dcubismframework.ts.meta
│ │ │ ├── math.meta
│ │ │ ├── math
│ │ │ ├── cubismmath.ts
│ │ │ ├── cubismmath.ts.meta
│ │ │ ├── cubismmatrix44.ts
│ │ │ ├── cubismmatrix44.ts.meta
│ │ │ ├── cubismmodelmatrix.ts
│ │ │ ├── cubismmodelmatrix.ts.meta
│ │ │ ├── cubismtargetpoint.ts
│ │ │ ├── cubismtargetpoint.ts.meta
│ │ │ ├── cubismvector2.ts
│ │ │ ├── cubismvector2.ts.meta
│ │ │ ├── cubismviewmatrix.ts
│ │ │ └── cubismviewmatrix.ts.meta
│ │ │ ├── model.meta
│ │ │ ├── model
│ │ │ ├── cubismmoc.ts
│ │ │ ├── cubismmoc.ts.meta
│ │ │ ├── cubismmodel.ts
│ │ │ ├── cubismmodel.ts.meta
│ │ │ ├── cubismmodeluserdata.ts
│ │ │ ├── cubismmodeluserdata.ts.meta
│ │ │ ├── cubismmodeluserdatajson.ts
│ │ │ ├── cubismmodeluserdatajson.ts.meta
│ │ │ ├── cubismusermodel.ts
│ │ │ └── cubismusermodel.ts.meta
│ │ │ ├── motion.meta
│ │ │ ├── motion
│ │ │ ├── acubismmotion.ts
│ │ │ ├── acubismmotion.ts.meta
│ │ │ ├── cubismexpressionmotion.ts
│ │ │ ├── cubismexpressionmotion.ts.meta
│ │ │ ├── cubismmotion.ts
│ │ │ ├── cubismmotion.ts.meta
│ │ │ ├── cubismmotioninternal.ts
│ │ │ ├── cubismmotioninternal.ts.meta
│ │ │ ├── cubismmotionjson.ts
│ │ │ ├── cubismmotionjson.ts.meta
│ │ │ ├── cubismmotionmanager.ts
│ │ │ ├── cubismmotionmanager.ts.meta
│ │ │ ├── cubismmotionqueueentry.ts
│ │ │ ├── cubismmotionqueueentry.ts.meta
│ │ │ ├── cubismmotionqueuemanager.ts
│ │ │ └── cubismmotionqueuemanager.ts.meta
│ │ │ ├── physics.meta
│ │ │ ├── physics
│ │ │ ├── cubismphysics.ts
│ │ │ ├── cubismphysics.ts.meta
│ │ │ ├── cubismphysicsinternal.ts
│ │ │ ├── cubismphysicsinternal.ts.meta
│ │ │ ├── cubismphysicsjson.ts
│ │ │ └── cubismphysicsjson.ts.meta
│ │ │ ├── rendering.meta
│ │ │ ├── rendering
│ │ │ ├── cubismrenderer.ts
│ │ │ ├── cubismrenderer.ts.meta
│ │ │ ├── cubismrenderer_webgl.ts
│ │ │ └── cubismrenderer_webgl.ts.meta
│ │ │ ├── type.meta
│ │ │ ├── type
│ │ │ ├── csmmap.ts
│ │ │ ├── csmmap.ts.meta
│ │ │ ├── csmrectf.ts
│ │ │ ├── csmrectf.ts.meta
│ │ │ ├── csmstring.ts
│ │ │ ├── csmstring.ts.meta
│ │ │ ├── csmvector.ts
│ │ │ └── csmvector.ts.meta
│ │ │ ├── utils.meta
│ │ │ └── utils
│ │ │ ├── cubismdebug.ts
│ │ │ ├── cubismdebug.ts.meta
│ │ │ ├── cubismjson.ts
│ │ │ ├── cubismjson.ts.meta
│ │ │ ├── cubismstring.ts
│ │ │ └── cubismstring.ts.meta
│ │ ├── Live2dComponent.ts
│ │ ├── Live2dComponent.ts.meta
│ │ ├── src.meta
│ │ └── src
│ │ ├── LAppDefine.ts
│ │ ├── LAppDefine.ts.meta
│ │ ├── LAppDelegate.ts
│ │ ├── LAppDelegate.ts.meta
│ │ ├── LAppModel.ts
│ │ ├── LAppModel.ts.meta
│ │ ├── LAppModelManager.ts
│ │ ├── LAppModelManager.ts.meta
│ │ ├── LAppPlatform.ts
│ │ ├── LAppPlatform.ts.meta
│ │ ├── LAppSprite.ts
│ │ ├── LAppSprite.ts.meta
│ │ ├── LAppTextureManager.ts
│ │ ├── LAppTextureManager.ts.meta
│ │ ├── LAppView.ts
│ │ └── LAppView.ts.meta
├── migration.meta
├── migration
│ ├── use_v2.1-2.2.1_cc.Toggle_event.js
│ └── use_v2.1-2.2.1_cc.Toggle_event.js.meta
├── resources.meta
└── resources
│ ├── frame.png
│ ├── frame.png.meta
│ ├── live2d.meta
│ ├── live2d
│ ├── Haru.meta
│ ├── Haru
│ │ ├── Haru.2048.meta
│ │ ├── Haru.2048
│ │ │ ├── texture_00.png
│ │ │ ├── texture_00.png.meta
│ │ │ ├── texture_01.png
│ │ │ └── texture_01.png.meta
│ │ ├── Haru_moc3.bin
│ │ ├── Haru_moc3.bin.meta
│ │ ├── Haru_model3.bin
│ │ ├── Haru_model3.bin.meta
│ │ ├── Haru_pose3.bin
│ │ ├── Haru_pose3.bin.meta
│ │ ├── Haru_userdata3.bin
│ │ ├── Haru_userdata3.bin.meta
│ │ ├── expressions.meta
│ │ ├── expressions
│ │ │ ├── F01_exp3.bin
│ │ │ ├── F01_exp3.bin.meta
│ │ │ ├── F02_exp3.bin
│ │ │ ├── F02_exp3.bin.meta
│ │ │ ├── F03_exp3.bin
│ │ │ ├── F03_exp3.bin.meta
│ │ │ ├── F04_exp3.bin
│ │ │ ├── F04_exp3.bin.meta
│ │ │ ├── F05_exp3.bin
│ │ │ ├── F05_exp3.bin.meta
│ │ │ ├── F06_exp3.bin
│ │ │ ├── F06_exp3.bin.meta
│ │ │ ├── F07_exp3.bin
│ │ │ ├── F07_exp3.bin.meta
│ │ │ ├── F08_exp3.bin
│ │ │ └── F08_exp3.bin.meta
│ │ ├── motions.meta
│ │ └── motions
│ │ │ ├── haru_g_idle_motion3.bin
│ │ │ ├── haru_g_idle_motion3.bin.meta
│ │ │ ├── haru_g_m01_motion3.bin
│ │ │ ├── haru_g_m01_motion3.bin.meta
│ │ │ ├── haru_g_m02_motion3.bin
│ │ │ ├── haru_g_m02_motion3.bin.meta
│ │ │ ├── haru_g_m03_motion3.bin
│ │ │ ├── haru_g_m03_motion3.bin.meta
│ │ │ ├── haru_g_m04_motion3.bin
│ │ │ ├── haru_g_m04_motion3.bin.meta
│ │ │ ├── haru_g_m05_motion3.bin
│ │ │ ├── haru_g_m05_motion3.bin.meta
│ │ │ ├── haru_g_m06_motion3.bin
│ │ │ ├── haru_g_m06_motion3.bin.meta
│ │ │ ├── haru_g_m07_motion3.bin
│ │ │ ├── haru_g_m07_motion3.bin.meta
│ │ │ ├── haru_g_m08_motion3.bin
│ │ │ ├── haru_g_m08_motion3.bin.meta
│ │ │ ├── haru_g_m09_motion3.bin
│ │ │ ├── haru_g_m09_motion3.bin.meta
│ │ │ ├── haru_g_m10_motion3.bin
│ │ │ ├── haru_g_m10_motion3.bin.meta
│ │ │ ├── haru_g_m11_motion3.bin
│ │ │ ├── haru_g_m11_motion3.bin.meta
│ │ │ ├── haru_g_m12_motion3.bin
│ │ │ ├── haru_g_m12_motion3.bin.meta
│ │ │ ├── haru_g_m13_motion3.bin
│ │ │ ├── haru_g_m13_motion3.bin.meta
│ │ │ ├── haru_g_m14_motion3.bin
│ │ │ ├── haru_g_m14_motion3.bin.meta
│ │ │ ├── haru_g_m15_motion3.bin
│ │ │ ├── haru_g_m15_motion3.bin.meta
│ │ │ ├── haru_g_m16_motion3.bin
│ │ │ ├── haru_g_m16_motion3.bin.meta
│ │ │ ├── haru_g_m17_motion3.bin
│ │ │ ├── haru_g_m17_motion3.bin.meta
│ │ │ ├── haru_g_m18_motion3.bin
│ │ │ ├── haru_g_m18_motion3.bin.meta
│ │ │ ├── haru_g_m19_motion3.bin
│ │ │ ├── haru_g_m19_motion3.bin.meta
│ │ │ ├── haru_g_m20_motion3.bin
│ │ │ ├── haru_g_m20_motion3.bin.meta
│ │ │ ├── haru_g_m21_motion3.bin
│ │ │ ├── haru_g_m21_motion3.bin.meta
│ │ │ ├── haru_g_m22_motion3.bin
│ │ │ ├── haru_g_m22_motion3.bin.meta
│ │ │ ├── haru_g_m23_motion3.bin
│ │ │ ├── haru_g_m23_motion3.bin.meta
│ │ │ ├── haru_g_m24_motion3.bin
│ │ │ ├── haru_g_m24_motion3.bin.meta
│ │ │ ├── haru_g_m25_motion3.bin
│ │ │ ├── haru_g_m25_motion3.bin.meta
│ │ │ ├── haru_g_m26_motion3.bin
│ │ │ └── haru_g_m26_motion3.bin.meta
│ ├── Hiyori.meta
│ ├── Hiyori
│ │ ├── Hiyori.2048.meta
│ │ ├── Hiyori.2048
│ │ │ ├── texture_00.png
│ │ │ ├── texture_00.png.meta
│ │ │ ├── texture_01.png
│ │ │ └── texture_01.png.meta
│ │ ├── Hiyori_moc3.bin
│ │ ├── Hiyori_moc3.bin.meta
│ │ ├── Hiyori_model3.bin
│ │ ├── Hiyori_model3.bin.meta
│ │ ├── Hiyori_physics3.bin
│ │ ├── Hiyori_physics3.bin.meta
│ │ ├── Hiyori_pose3.bin
│ │ ├── Hiyori_pose3.bin.meta
│ │ ├── Hiyori_userdata3.bin
│ │ ├── Hiyori_userdata3.bin.meta
│ │ ├── motions.meta
│ │ └── motions
│ │ │ ├── Hiyori_m01_motion3.bin
│ │ │ ├── Hiyori_m01_motion3.bin.meta
│ │ │ ├── Hiyori_m02_motion3.bin
│ │ │ ├── Hiyori_m02_motion3.bin.meta
│ │ │ ├── Hiyori_m03_motion3.bin
│ │ │ ├── Hiyori_m03_motion3.bin.meta
│ │ │ ├── Hiyori_m04_motion3.bin
│ │ │ ├── Hiyori_m04_motion3.bin.meta
│ │ │ ├── Hiyori_m05_motion3.bin
│ │ │ ├── Hiyori_m05_motion3.bin.meta
│ │ │ ├── Hiyori_m06_motion3.bin
│ │ │ ├── Hiyori_m06_motion3.bin.meta
│ │ │ ├── Hiyori_m07_motion3.bin
│ │ │ ├── Hiyori_m07_motion3.bin.meta
│ │ │ ├── Hiyori_m08_motion3.bin
│ │ │ ├── Hiyori_m08_motion3.bin.meta
│ │ │ ├── Hiyori_m09_motion3.bin
│ │ │ ├── Hiyori_m09_motion3.bin.meta
│ │ │ ├── Hiyori_m10_motion3.bin
│ │ │ └── Hiyori_m10_motion3.bin.meta
│ ├── Mark.meta
│ ├── Mark
│ │ ├── Mark.2048.meta
│ │ ├── Mark.2048
│ │ │ ├── texture_00.png
│ │ │ └── texture_00.png.meta
│ │ ├── Mark_moc3.bin
│ │ ├── Mark_moc3.bin.meta
│ │ ├── Mark_model3.bin
│ │ ├── Mark_model3.bin.meta
│ │ ├── Mark_physics3.bin
│ │ ├── Mark_physics3.bin.meta
│ │ ├── Mark_userdata3.bin
│ │ ├── Mark_userdata3.bin.meta
│ │ ├── motions.meta
│ │ └── motions
│ │ │ ├── mark_m01_motion3.bin
│ │ │ ├── mark_m01_motion3.bin.meta
│ │ │ ├── mark_m02_motion3.bin
│ │ │ ├── mark_m02_motion3.bin.meta
│ │ │ ├── mark_m03_motion3.bin
│ │ │ ├── mark_m03_motion3.bin.meta
│ │ │ ├── mark_m04_motion3.bin
│ │ │ ├── mark_m04_motion3.bin.meta
│ │ │ ├── mark_m05_motion3.bin
│ │ │ ├── mark_m05_motion3.bin.meta
│ │ │ ├── mark_m06_motion3.bin
│ │ │ └── mark_m06_motion3.bin.meta
│ ├── Natori.meta
│ ├── Natori
│ │ ├── Natori.2048.meta
│ │ ├── Natori.2048
│ │ │ ├── texture_00.png
│ │ │ └── texture_00.png.meta
│ │ ├── Natori_moc3.bin
│ │ ├── Natori_moc3.bin.meta
│ │ ├── Natori_model3.bin
│ │ ├── Natori_model3.bin.meta
│ │ ├── Natori_physics3.bin
│ │ ├── Natori_physics3.bin.meta
│ │ ├── Natori_pose3.bin
│ │ ├── Natori_pose3.bin.meta
│ │ ├── exp.meta
│ │ ├── exp
│ │ │ ├── exp_00_exp3.bin
│ │ │ ├── exp_00_exp3.bin.meta
│ │ │ ├── exp_01_exp3.bin
│ │ │ ├── exp_01_exp3.bin.meta
│ │ │ ├── exp_02_exp3.bin
│ │ │ ├── exp_02_exp3.bin.meta
│ │ │ ├── exp_03_exp3.bin
│ │ │ ├── exp_03_exp3.bin.meta
│ │ │ ├── exp_04_exp3.bin
│ │ │ ├── exp_04_exp3.bin.meta
│ │ │ ├── exp_05_exp3.bin
│ │ │ ├── exp_05_exp3.bin.meta
│ │ │ ├── exp_06_exp3.bin
│ │ │ ├── exp_06_exp3.bin.meta
│ │ │ ├── exp_07_exp3.bin
│ │ │ ├── exp_07_exp3.bin.meta
│ │ │ ├── exp_08_exp3.bin
│ │ │ ├── exp_08_exp3.bin.meta
│ │ │ ├── exp_09_exp3.bin
│ │ │ ├── exp_09_exp3.bin.meta
│ │ │ ├── exp_10_exp3.bin
│ │ │ └── exp_10_exp3.bin.meta
│ │ ├── motions.meta
│ │ └── motions
│ │ │ ├── mtn_00_motion3.bin
│ │ │ ├── mtn_00_motion3.bin.meta
│ │ │ ├── mtn_01_motion3.bin
│ │ │ ├── mtn_01_motion3.bin.meta
│ │ │ ├── mtn_02_motion3.bin
│ │ │ ├── mtn_02_motion3.bin.meta
│ │ │ ├── mtn_03_motion3.bin
│ │ │ ├── mtn_03_motion3.bin.meta
│ │ │ ├── mtn_04_motion3.bin
│ │ │ ├── mtn_04_motion3.bin.meta
│ │ │ ├── mtn_05_motion3.bin
│ │ │ ├── mtn_05_motion3.bin.meta
│ │ │ ├── mtn_06_motion3.bin
│ │ │ ├── mtn_06_motion3.bin.meta
│ │ │ ├── mtn_07_motion3.bin
│ │ │ ├── mtn_07_motion3.bin.meta
│ │ │ ├── mtn_08_motion3.bin
│ │ │ └── mtn_08_motion3.bin.meta
│ ├── Rice.meta
│ ├── Rice
│ │ ├── Rice.2048.meta
│ │ ├── Rice.2048
│ │ │ ├── texture_00.png
│ │ │ ├── texture_00.png.meta
│ │ │ ├── texture_01.png
│ │ │ └── texture_01.png.meta
│ │ ├── Rice_cdi3.bin
│ │ ├── Rice_cdi3.bin.meta
│ │ ├── Rice_moc3.bin
│ │ ├── Rice_moc3.bin.meta
│ │ ├── Rice_model3.bin
│ │ ├── Rice_model3.bin.meta
│ │ ├── Rice_physics3.bin
│ │ ├── Rice_physics3.bin.meta
│ │ ├── motions.meta
│ │ └── motions
│ │ │ ├── mtn_00_motion3.bin
│ │ │ ├── mtn_00_motion3.bin.meta
│ │ │ ├── mtn_01_motion3.bin
│ │ │ ├── mtn_01_motion3.bin.meta
│ │ │ ├── mtn_02_motion3.bin
│ │ │ ├── mtn_02_motion3.bin.meta
│ │ │ ├── mtn_03_motion3.bin
│ │ │ └── mtn_03_motion3.bin.meta
│ ├── back_class_normal.png
│ ├── back_class_normal.png.meta
│ ├── icon_gear.png
│ └── icon_gear.png.meta
│ ├── rename_live2d.py
│ └── rename_live2d.py.meta
├── creator.d.ts
├── creator.ext.d.ts
├── jsconfig.json
├── project.json
├── res
├── copy_live2d.png
├── setcomponent.png
└── show.gif
└── settings
├── builder.json
├── project.json
└── services.json
/.gitignore:
--------------------------------------------------------------------------------
1 | #/////////////////////////////////////////////////////////////////////////////
2 | # Fireball Projects
3 | #/////////////////////////////////////////////////////////////////////////////
4 |
5 | /library/
6 | /temp/
7 | /local/
8 | /build/
9 |
10 | #/////////////////////////////////////////////////////////////////////////////
11 | # npm files
12 | #/////////////////////////////////////////////////////////////////////////////
13 |
14 | npm-debug.log
15 | node_modules/
16 |
17 | #/////////////////////////////////////////////////////////////////////////////
18 | # Logs and databases
19 | #/////////////////////////////////////////////////////////////////////////////
20 |
21 | *.log
22 | *.sql
23 | *.sqlite
24 |
25 | #/////////////////////////////////////////////////////////////////////////////
26 | # files for debugger
27 | #/////////////////////////////////////////////////////////////////////////////
28 |
29 | *.sln
30 | *.csproj
31 | *.pidb
32 | *.unityproj
33 | *.suo
34 |
35 | #/////////////////////////////////////////////////////////////////////////////
36 | # OS generated files
37 | #/////////////////////////////////////////////////////////////////////////////
38 |
39 | .DS_Store
40 | ehthumbs.db
41 | Thumbs.db
42 |
43 | #/////////////////////////////////////////////////////////////////////////////
44 | # WebStorm files
45 | #/////////////////////////////////////////////////////////////////////////////
46 |
47 | .idea/
48 |
49 | #//////////////////////////
50 | # VS Code files
51 | #//////////////////////////
52 |
53 | .vscode/
54 |
--------------------------------------------------------------------------------
/Readme.md:
--------------------------------------------------------------------------------
1 | # Live2d for CocosCreator
2 |
3 | ### 根据[Lived2d的官方WebGL示例](https://github.com/Live2D/CubismWebSamples)修改,适配 CocosCreator
4 |
5 | #### [在线示例(手机模式打开)](http://ltp.gitee.io/gym/cocos-creator/ShaderSample/live2d/web-mobile/index.html)
6 | 
7 |
8 | ---
9 |
10 | # 使用方法
11 |
12 | - 将 assest/components 目录中的"live2d"文件夹拷贝到项目中
13 |
14 | 
15 |
16 | - 场景中新建节点并附加组件"Live2dComponent"
17 |
18 | 
19 |
20 | - 设置节点 Size 作为显示 Live2d 模型的画布尺寸,设置 ScaleY 为-1(不知道为什么我设置了 RenderTexture 的 setFlipY(true)也没有用,只能用 Scale 把节点倒置过来)
21 | - Render Texture: 可以不填,组件会自动创建 cc.RenderTexture 和 cc.Sprite 组件
22 | - Scale: 显示 Live2d 模型大小(暂时没有找到 live2d 设置缩放的地方,这里直接修改 Viewport 尺寸达到缩放的目的,感觉 3 左右挺好的)
23 | - Fps: Live2d 的刷新率(游戏 Live2d 在 update 的时候有相当的计算量,所以这里的 fps 可以比游戏的低一些,感觉 30fps 足够了,即使 20fps 也不觉得卡)
24 | - Loop Idel Motion: 是否自动循环Idel动作
25 | - Model Name: 加载live2d模型的名字
26 |
27 | - 常用函数
28 | - this.getComponent(Live2dComponent.live2d //获取Live2d代理对象
29 | - this.getComponent(Live2dComponent).live2d.getModel(0) //获取Live2d模型
30 | - this.getComponent(Live2dComponent).live2d.getModel(0).startMotion(动作组名, 动作编号, 切换优先级(大数值打断小数值)) //执行动作
31 | - 动作结束会在Live2dComponent的节点emit事件Live2dComponent.EvtMotionFinish
32 | - this.getComponent(Live2dComponent).live2d.getModel(0).setExpression(表情名) //做表情
33 | - this.getComponent(Live2dComponent).live2d.loadModel(模型名) //加载模型,现在一次只有一个模型
34 |
35 | # 注意事项
36 | - 资源默认放置在 resources\live2d 文件夹中
37 | - 由于CocosCreator的资源加载策略,自动识别资源类型与扩展名所以需要将live2d导出的资源重命名
38 | - XXX.moc3 => XXX_moc3.bin
39 | - XXX.model3.json => XXX_model3.bin
40 | - XXX.physics3.json => XXX_physics3.bin
41 | - XXX.pose3.json => XXX_pose3.bin
42 | - XXX.userdata3.json => XXX_userdata3.bin
43 | - XXX.motion3.json => XXX_motion3.bin
44 | - 使用脚本resource/rename_live2d.py可自动转换resource/live2d目录下的文件名
45 |
46 |
47 |
--------------------------------------------------------------------------------
/assets/Scene.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "ab376fa8-49b3-4dbb-b2ea-c58f2a0583f3",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/Scene/live2d.fire.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.2.6",
3 | "uuid": "c20f3efb-65dc-4bc9-be99-fd014ee95132",
4 | "asyncLoadAssets": false,
5 | "autoReleaseAssets": false,
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/Script.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "d8d0dc7b-8c2f-4bf4-9433-01a75eb118fb",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/Script/TheGril.ts:
--------------------------------------------------------------------------------
1 | import Live2dComponent from "../components/live2d/Live2dComponent";
2 | import Live2dDefine from "../components/live2d/src/LAppDefine";
3 | import Live2dModel from "../components/live2d/src/LAppModel";
4 |
5 | const { ccclass, property } = cc._decorator;
6 |
7 | @ccclass
8 | export default class TheGirl extends cc.Component {
9 |
10 | // onLoad () {}
11 |
12 | start() {
13 | let self = this
14 | self.getComponentInChildren(Live2dComponent).node.on(Live2dComponent.EvtMotionFinish, (model: Live2dModel) => {
15 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).string = "动作结束"
16 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).node.color = cc.Color.YELLOW
17 | })
18 | self.getComponentInChildren(Live2dComponent).loopIdelMotion = false
19 | }
20 |
21 | update(dt: number) {
22 | }
23 |
24 | changeMotion1() {
25 | this.getComponentInChildren(Live2dComponent).live2d.getModel(0).startRandomMotion(Live2dDefine.MotionGroupIdle, Live2dDefine.PriorityIdle)
26 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).string = "切换动作"
27 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).node.color = cc.Color.GREEN
28 | }
29 | changeMotion2() {
30 | this.getComponentInChildren(Live2dComponent).live2d.getModel(0).startRandomMotion(Live2dDefine.MotionGroupTapBody, Live2dDefine.PriorityForce)
31 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).string = "切换动作"
32 | cc.find("Canvas/UI/New Label").getComponent(cc.Label).node.color = cc.Color.GREEN
33 | }
34 |
35 | randomExpression() {
36 | this.getComponentInChildren(Live2dComponent).live2d.getModel(0).setRandomExpression()
37 | }
38 |
39 | changeModel(toggle: cc.Toggle, name: string) {
40 | this.getComponentInChildren(Live2dComponent).live2d.loadModel(name)
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/assets/Script/TheGril.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "369d510b-d223-44d2-a6cc-7e582d9b4c3f",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "1bad448a-6273-43d2-ab3f-6c93adb3ec37",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "d4fb8053-75da-49de-bda0-5fcb4acafd9c",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "f900bd09-0031-48a4-be9d-adb8b9ce1118",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "773e50af-da9d-4f9b-b008-8d099f543717",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file.
4 |
5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6 |
7 |
8 | ## 2019-11-14
9 |
10 | ### Added
11 |
12 | * Support Visual Studio 2019.
13 | * Support macOS dynamic library (dylib).
14 |
15 | ### Changed
16 |
17 | * Update Windows dynamic library: Use Visual Studio 2019 for building.
18 |
19 | ### Security
20 |
21 | * Bundle certificate and notary ticket to macOS shared library.
22 |
23 |
24 | ## 2019-09-04
25 |
26 | ### Added
27 |
28 | * Support new Inverted Masking features.
29 | * Support ARM64 architecture for Universal Windows Platform.
30 |
31 | ### Changed
32 |
33 | * Upgrade Core version to 04.00.0000 (67108864). This upgrade is following Cubism Editor 4.0 features.
34 | * Add calling convention for *Windows/x86 DLL* only.
35 |
36 | ### Removed
37 |
38 | * Remove bitcode binary due to suspension of *Cubism Bindings.*
39 |
40 |
41 | ## 2019-04-09
42 |
43 | ### Added
44 |
45 | * Support Universal Windows Platform for Windows Store Application.
46 |
47 |
48 | ## 2019-01-31
49 |
50 | ### Added
51 |
52 | * Add API to get the parent part of the specified part.
53 | * Add API to get moc3 version.
54 |
55 |
56 | ## 2018-12-20
57 |
58 | ### Added
59 |
60 | * [Native] Add new function: `csmGetPartParentPartIndices`.
61 | * [Native, 3.3 Support] Support new Warp Deformer features.
62 |
63 | ### Changed
64 |
65 | * Upgrade Core version to 03.03.0000 (50528256). This upgrade is following Cubism Editor 3.3 features.
66 |
67 |
68 | ## 2018-08-22
69 |
70 | ### Added
71 |
72 | * [Native] Add support for Neon.
73 |
74 |
75 | ## 2018-05-14
76 |
77 | ### Added
78 |
79 | * [Native] Add Windows **Visual C++ 2013** library.
80 | * [Windows] Add runtime library choice `MT`, `MD`, `MTd`, `MDd`.
81 | * [iOS] Add support for iPhone Simulator SDK.
82 |
83 | ### Fixed
84 |
85 | * Fix an error occurred when linking libraries for Android `arm64-v8a`.
86 |
87 |
88 | ## 2017-11-17
89 |
90 | ### Fixed
91 |
92 | * Fix processing of vertex index.
93 |
94 |
95 | ## 2017-10-05
96 |
97 | ### Added
98 |
99 | * Provide bitcode for iOS.
100 |
101 |
102 | ## 2017-08-09
103 |
104 | ### Added
105 |
106 | * [Native] Add Android *arm64-v8a* ABI library.
107 |
108 | ### Fixed
109 |
110 | * Fix drawing order in certain scenarios.
111 |
112 |
113 | ## 2017-07-12
114 |
115 | ### Added
116 |
117 | * Add experimental support for Emscripten.
118 | * Add `CHANGELOG.md`.
119 |
120 | ### Fixed
121 |
122 | * Fix access violation in certain scenarios.
123 | * Fix update result in certain scenarios.
124 |
125 |
126 | ## 2017-05-02
127 |
128 | ### Added
129 |
130 | * [Native] Add experimental support for Raspberry PI.
131 | * Add `README.md`.
132 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.0.0",
3 | "uuid": "7ca938a7-8385-4ad9-8a7a-ddd9571f51ab",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/LICENSE.md:
--------------------------------------------------------------------------------
1 | # Live2D Proprietary Software License
2 |
3 | ## English
4 |
5 | https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html
6 |
7 | ## 日本語
8 |
9 | https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html
10 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/LICENSE.md.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.0.0",
3 | "uuid": "5e6bfe9f-e71c-4c34-a3ce-1675740d31f8",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/README.md:
--------------------------------------------------------------------------------
1 | # Live2D Cubism Core
2 |
3 | This folder contains core library files for developing JavaScript or TypeScript applications.
4 |
5 |
6 | ## File List
7 |
8 | ### live2dcubismcore.d.ts
9 |
10 | This file contains typescript type information about `live2dcubismcore.js`.
11 | Use this file with `live2dcubismcore.js` when developing with TypeScript.
12 |
13 | ### live2dcubismcore.js
14 |
15 | This file contains Cubism Core features and some wrapper features.
16 | Use this file when developing with JavaScript.
17 |
18 | ### live2dcubismcore.js.map
19 |
20 | This file is the source map between `live2dcubismcore.d.ts` and `live2dcubismcore.js`.
21 | Use this file when debugging.
22 |
23 | ### live2dcubismcore.min.js
24 |
25 | This file is minified of `live2dcubismcore.js`.
26 | Use this file in production.
27 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/README.md.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.0.0",
3 | "uuid": "0d1b8d58-8c57-462d-91c1-66ca5b453757",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/RedistributableFiles.txt:
--------------------------------------------------------------------------------
1 | The following is a list of files available for redistribution
2 | under the terms of the Live2D Proprietary Software License Agreement:
3 |
4 | - live2dcubismcore.d.ts
5 | - live2dcubismcore.js
6 | - live2dcubismcore.min.js
7 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/RedistributableFiles.txt.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.0.0",
3 | "uuid": "16ef0c6e-7f5f-42ec-9baf-ca73709a6f83",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/live2dcubismcore.d.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.0.0",
3 | "uuid": "a6883748-ae8e-462c-93ce-a45517ca5bfc",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/live2dcubismcore.js.map.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "9a807d2a-5b09-4691-95fd-67bc35752410",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/live2dcubismcore.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "498ffbeb-d24d-4d6b-9e49-6918f76e1d44",
4 | "isPlugin": true,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Core/live2dcubismcore.min.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "16f70518-48b5-45f6-93de-9a888fff1b9b",
4 | "isPlugin": true,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "751ba496-f500-457d-9889-9c93a065583b",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/cubismdefaultparameterid.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | /**
9 | * @brief パラメータIDのデフォルト値を保持する定数
10 | * デフォルト値の仕様は以下のマニュアルに基づく
11 | * https://docs.live2d.com/cubism-editor-manual/standard-parametor-list/
12 | */
13 | export namespace Live2DCubismFramework
14 | {
15 | // パーツID
16 | export const HitAreaPrefix: string = "HitArea";
17 | export const HitAreaHead: string = "Head";
18 | export const HitAreaBody: string = "Body";
19 | export const PartsIdCore: string = "Parts01Core";
20 | export const PartsArmPrefix: string = "Parts01Arm_";
21 | export const PartsArmLPrefix: string = "Parts01ArmL_";
22 | export const PartsArmRPrefix: string = "Parts01ArmR_";
23 |
24 | // パラメータID
25 | export const ParamAngleX: string = "ParamAngleX";
26 | export const ParamAngleY: string = "ParamAngleY";
27 | export const ParamAngleZ: string = "ParamAngleZ";
28 | export const ParamEyeLOpen: string = "ParamEyeLOpen";
29 | export const ParamEyeLSmile: string = "ParamEyeLSmile";
30 | export const ParamEyeROpen: string = "ParamEyeROpen";
31 | export const ParamEyeRSmile: string = "ParamEyeRSmile";
32 | export const ParamEyeBallX: string = "ParamEyeBallX";
33 | export const ParamEyeBallY: string = "ParamEyeBallY";
34 | export const ParamEyeBallForm: string = "ParamEyeBallForm";
35 | export const ParamBrowLY: string = "ParamBrowLY";
36 | export const ParamBrowRY: string = "ParamBrowRY";
37 | export const ParamBrowLX: string = "ParamBrowLX";
38 | export const ParamBrowRX: string = "ParamBrowRX";
39 | export const ParamBrowLAngle: string = "ParamBrowLAngle";
40 | export const ParamBrowRAngle: string = "ParamBrowRAngle";
41 | export const ParamBrowLForm: string = "ParamBrowLForm";
42 | export const ParamBrowRForm: string = "ParamBrowRForm";
43 | export const ParamMouthForm: string = "ParamMouthForm";
44 | export const ParamMouthOpenY: string = "ParamMouthOpenY";
45 | export const ParamCheek: string = "ParamCheek";
46 | export const ParamBodyAngleX: string = "ParamBodyAngleX";
47 | export const ParamBodyAngleY: string = "ParamBodyAngleY";
48 | export const ParamBodyAngleZ: string = "ParamBodyAngleZ";
49 | export const ParamBreath: string = "ParamBreath";
50 | export const ParamArmLA: string = "ParamArmLA";
51 | export const ParamArmRA: string = "ParamArmRA";
52 | export const ParamArmLB: string = "ParamArmLB";
53 | export const ParamArmRB: string = "ParamArmRB";
54 | export const ParamHandL: string = "ParamHandL";
55 | export const ParamHandR: string = "ParamHandR";
56 | export const ParamHairFront: string = "ParamHairFront";
57 | export const ParamHairSide: string = "ParamHairSide";
58 | export const ParamHairBack: string = "ParamHairBack";
59 | export const ParamHairFluffy: string = "ParamHairFluffy";
60 | export const ParamShoulderY: string = "ParamShoulderY";
61 | export const ParamBustX: string = "ParamBustX";
62 | export const ParamBustY: string = "ParamBustY";
63 | export const ParamBaseX: string = "ParamBaseX";
64 | export const ParamBaseY: string = "ParamBaseY";
65 | export const ParamNONE: string = "NONE:";
66 | }
67 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/cubismdefaultparameterid.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "253426e9-6d91-4327-a353-910598d0cab6",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/cubismframeworkconfig.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | //========================================================
9 | // ログ出力関数の設定
10 | //========================================================
11 |
12 | //---------- ログ出力レベル 選択項目 定義 ----------
13 | /// 詳細ログ出力設定
14 | export const CSM_LOG_LEVEL_VERBOSE: number = 0;
15 | /// デバッグログ出力設定
16 | export const CSM_LOG_LEVEL_DEBUG: number = 1;
17 | /// Infoログ出力設定
18 | export const CSM_LOG_LEVEL_INFO: number = 2;
19 | /// 警告ログ出力設定
20 | export const CSM_LOG_LEVEL_WARNING: number = 3;
21 | /// エラーログ出力設定
22 | export const CSM_LOG_LEVEL_ERROR: number = 4;
23 | /// ログ出力オフ設定
24 | export const CSM_LOG_LEVEL_OFF: number = 5;
25 |
26 | /**
27 | * ログ出力レベル設定。
28 | *
29 | * 強制的にログ出力レベルを変える時に定義を有効にする。
30 | * CSM_LOG_LEVEL_VERBOSE ~ CSM_LOG_LEVEL_OFF を選択する。
31 | */
32 | export const CSM_LOG_LEVEL: number = CSM_LOG_LEVEL_VERBOSE;
33 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/cubismframeworkconfig.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "6b38b1a3-55a0-41e0-9635-3a2bd64fb073",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/cubismmodelsettingjson.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "a6bc91ec-4e02-4d9e-b5af-5c0bc2fa6081",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/effect.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "ffc10181-3ca0-47fe-ad90-6b93f20fb688",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/effect/cubismbreath.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as csmvector} from "../type/csmvector";
9 | import {Live2DCubismFramework as cubismmodel} from "../model/cubismmodel";
10 | import {Live2DCubismFramework as cubismid} from "../id/cubismid";
11 | import CubismIdHandle = cubismid.CubismIdHandle;
12 | import CubismModel = cubismmodel.CubismModel;
13 | import csmVector = csmvector.csmVector;
14 |
15 |
16 | export namespace Live2DCubismFramework
17 | {
18 | /**
19 | * 呼吸機能
20 | *
21 | * 呼吸機能を提供する。
22 | */
23 | export class CubismBreath
24 | {
25 |
26 | /**
27 | * インスタンスの作成
28 | */
29 | public static create(): CubismBreath
30 | {
31 | return new CubismBreath();
32 | }
33 |
34 | /**
35 | * インスタンスの破棄
36 | * @param instance 対象のCubismBreath
37 | */
38 | public static delete(instance: CubismBreath): void
39 | {
40 | if(instance != null)
41 | {
42 | instance = null;
43 | }
44 | }
45 |
46 | /**
47 | * 呼吸のパラメータの紐づけ
48 | * @param breathParameters 呼吸を紐づけたいパラメータのリスト
49 | */
50 | public setParameters(breathParameters: csmVector): void
51 | {
52 | this._breathParameters = breathParameters;
53 | }
54 |
55 | /**
56 | * 呼吸に紐づいているパラメータの取得
57 | * @return 呼吸に紐づいているパラメータのリスト
58 | */
59 | public getParameters(): csmVector
60 | {
61 | return this._breathParameters;
62 | }
63 |
64 | /**
65 | * モデルのパラメータの更新
66 | * @param model 対象のモデル
67 | * @param deltaTimeSeconds デルタ時間[秒]
68 | */
69 | public updateParameters(model: CubismModel, deltaTimeSeconds: number): void
70 | {
71 | this._currentTime += deltaTimeSeconds;
72 |
73 | const t: number = this._currentTime * 2.0 * 3.14159;
74 |
75 | for(let i: number = 0; i < this._breathParameters.getSize(); ++i)
76 | {
77 | let data: BreathParameterData = this._breathParameters.at(i);
78 |
79 | model.addParameterValueById(
80 | data.parameterId,
81 | data.offset + (data.peak * Math.sin(t / data.cycle)),
82 | data.weight
83 | );
84 | }
85 | }
86 |
87 |
88 | /**
89 | * コンストラクタ
90 | */
91 | public constructor()
92 | {
93 | this._currentTime = 0.0;
94 | }
95 |
96 | _breathParameters: csmVector; // 呼吸にひもづいているパラメータのリスト
97 | _currentTime: number; // 積算時間[秒]
98 | }
99 |
100 | /**
101 | * 呼吸のパラメータ情報
102 | */
103 | export class BreathParameterData
104 | {
105 | /**
106 | * コンストラクタ
107 | * @param parameterId 呼吸をひもづけるパラメータID
108 | * @param offset 呼吸を正弦波としたときの、波のオフセット
109 | * @param peak 呼吸を正弦波としたときの、波の高さ
110 | * @param cycle 呼吸を正弦波としたときの、波の周期
111 | * @param weight パラメータへの重み
112 | */
113 | constructor(parameterId?: CubismIdHandle, offset?: number, peak?: number, cycle?: number, weight?: number)
114 | {
115 | this.parameterId = (parameterId == undefined)
116 | ? null
117 | : parameterId;
118 | this.offset = (offset == undefined)
119 | ? 0.0
120 | : offset;
121 | this.peak = (peak == undefined)
122 | ? 0.0
123 | : peak;
124 | this.cycle = (cycle == undefined)
125 | ? 0.0
126 | : cycle;
127 | this.weight = (weight == undefined)
128 | ? 0.0
129 | : weight;
130 | }
131 |
132 | parameterId: CubismIdHandle; // 呼吸をひもづけるパラメータID\
133 | offset: number; // 呼吸を正弦波としたときの、波のオフセット
134 | peak: number; // 呼吸を正弦波としたときの、波の高さ
135 | cycle: number; // 呼吸を正弦波としたときの、波の周期
136 | weight: number; // パラメータへの重み
137 | }
138 | }
139 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/effect/cubismbreath.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "f2024109-9edc-4907-819c-3d63e7c077c8",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/effect/cubismeyeblink.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "1ce30979-541f-4f8f-95e8-537262794a3d",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/effect/cubismpose.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "192dfeb6-c44d-4b97-be22-412faaca108e",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/icubismallcator.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | export namespace Live2DCubismFramework
9 | {
10 | /**
11 | * メモリアロケーションを抽象化したクラス
12 | *
13 | * メモリ確保・解放処理をプラットフォーム側で実装して
14 | * フレームワークから呼び出すためのインターフェース
15 | */
16 | export abstract class ICubismAllocator
17 | {
18 | /**
19 | * アラインメント制約なしのヒープ・メモリーを確保します
20 | *
21 | * @param size 確保するバイト数
22 | * @return 成功すると割り当てられたメモリのアドレス。そうでなければ'0'を返す
23 | */
24 | public abstract allocate(size: number): any;
25 |
26 | /**
27 | * アラインメント制約なしのヒープ・メモリーを解放します。
28 | *
29 | * @param memory 解放するメモリのアドレス
30 | */
31 | public abstract deallocate(memory: any): void;
32 |
33 | /**
34 | * アラインメント制約有のヒープ・メモリーを確保します。
35 | * @param size 確保するバイト数
36 | * @param alignment メモリーブロックのアラインメント幅
37 | * @return 成功すると割り当てられたメモリのアドレス。そうでなければ'0'を返す
38 | */
39 | public abstract allocateAligned(size: number, alignment: number): any;
40 |
41 | /**
42 | * アラインメント制約ありのヒープ・メモリーを解放します。
43 | * @param alignedMemory 解放するメモリのアドレス
44 | */
45 | public abstract deallocateAligned(alignedMemory: any): void;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/icubismallcator.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "4e0b6c36-aeec-4183-be68-9e8a4b5b367e",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/icubismmodelsetting.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "3b7da0c2-3816-44ab-a9e3-4f98455c6125",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/id.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "c2bedf86-a274-4837-9184-f0590f7efb82",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/id/cubismid.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as csmstring} from "../type/csmstring";
9 | import csmString = csmstring.csmString;
10 |
11 | export namespace Live2DCubismFramework
12 | {
13 | /**
14 | * パラメータ名・パーツ名・Drawable名を保持
15 | *
16 | * パラメータ名・パーツ名・Drawable名を保持するクラス。
17 | */
18 | export class CubismId
19 | {
20 | /**
21 | * ID名を取得する
22 | */
23 | public getString(): csmString
24 | {
25 | return this._id;
26 | }
27 |
28 | /**
29 | * コンストラクタ
30 | */
31 | public constructor(id: string | csmString)
32 | {
33 | if(typeof(id) === 'string')
34 | {
35 | this._id = new csmString(id);
36 | return;
37 | }
38 |
39 | this._id = id;
40 | }
41 |
42 | /**
43 | * idを比較
44 | * @param c 比較するid
45 | * @return 同じならばtrue,異なっていればfalseを返す
46 | */
47 | public isEqual(c: string | csmString | CubismId): boolean
48 | {
49 | if (typeof(c) === 'string')
50 | {
51 | return this._id.isEqual(c);
52 | }
53 | else if (c instanceof csmString)
54 | {
55 | return this._id.isEqual(c.s);
56 | }
57 | else if (c instanceof CubismId)
58 | {
59 | return this._id.isEqual(c._id.s);
60 | }
61 | return false;
62 | }
63 |
64 | /**
65 | * idを比較
66 | * @param c 比較するid
67 | * @return 同じならばtrue,異なっていればfalseを返す
68 | */
69 | public isNotEqual(c: string | csmString | CubismId): boolean
70 | {
71 | if (typeof(c) == 'string')
72 | {
73 | return !this._id.isEqual(c);
74 | }
75 | else if (c instanceof csmString)
76 | {
77 | return !this._id.isEqual(c.s);
78 | }
79 | else if (c instanceof CubismId)
80 | {
81 | return !this._id.isEqual(c._id.s);
82 | }
83 | return false;
84 | }
85 |
86 | private _id: csmString; // ID名
87 | }
88 |
89 | export declare type CubismIdHandle = CubismId;
90 | }
91 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/id/cubismid.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "2c7df0eb-e081-4acb-91bc-e90d8fc8184d",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/id/cubismidmanager.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as csmvector} from "../type/csmvector";
9 | import {Live2DCubismFramework as cubismid} from "./cubismid";
10 | import {Live2DCubismFramework as csmstring} from "../type/csmstring";
11 | import csmString = csmstring.csmString;
12 | import CubismId = cubismid.CubismId;
13 | import csmVector = csmvector.csmVector;
14 |
15 | export namespace Live2DCubismFramework
16 | {
17 | /**
18 | * ID名の管理
19 | *
20 | * ID名を管理する。
21 | */
22 | export class CubismIdManager
23 | {
24 | /**
25 | * コンストラクタ
26 | */
27 | public constructor()
28 | {
29 | this._ids = new csmVector();
30 | }
31 |
32 | /**
33 | * デストラクタ相当の処理
34 | */
35 | public release(): void
36 | {
37 | for(let i: number = 0; i < this._ids.getSize(); ++i)
38 | {
39 | this._ids.set(i, void 0);
40 | }
41 | this._ids = null;
42 | }
43 |
44 | /**
45 | * ID名をリストから登録
46 | *
47 | * @param ids ID名リスト
48 | * @param count IDの個数
49 | */
50 | public registerIds(ids: string[] | csmString[]): void
51 | {
52 | for(let i: number = 0; i < ids.length; i++)
53 | {
54 | this.registerId(ids[i]);
55 | }
56 | }
57 |
58 | /**
59 | * ID名を登録
60 | *
61 | * @param id ID名
62 | */
63 | public registerId(id: string | csmString): CubismId
64 | {
65 | let result: CubismId = null;
66 |
67 | if ('string' == typeof(id))
68 | {
69 | if ((result = this.findId(id)) != null)
70 | {
71 | return result;
72 | }
73 |
74 | result = new CubismId(id);
75 | this._ids.pushBack(result);
76 | }
77 | else
78 | {
79 | return this.registerId(id.s);
80 | }
81 |
82 | return result;
83 | }
84 |
85 | /**
86 | * ID名からIDを取得する
87 | *
88 | * @param id ID名
89 | */
90 | public getId(id: csmString | string): CubismId
91 | {
92 | return this.registerId(id);
93 | }
94 |
95 | /**
96 | * ID名からIDの確認
97 | *
98 | * @return true 存在する
99 | * @return false 存在しない
100 | */
101 | public isExist(id: csmString | string): boolean
102 | {
103 | if ('string' == typeof(id))
104 | {
105 | return (this.findId(id) != null);
106 | }
107 | return this.isExist(id.s);
108 | }
109 |
110 | /**
111 | * ID名からIDを検索する。
112 | *
113 | * @param id ID名
114 | * @return 登録されているID。なければNULL。
115 | */
116 | private findId(id: string): CubismId
117 | {
118 | for(let i: number = 0; i < this._ids.getSize(); ++i)
119 | {
120 | if(this._ids.at(i).getString().isEqual(id))
121 | {
122 | return this._ids.at(i);
123 | }
124 | }
125 |
126 | return null;
127 | }
128 |
129 | private _ids: csmVector; // 登録されているIDのリスト
130 | }
131 | }
132 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/id/cubismidmanager.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "1142af62-62c3-4fb1-8ffd-551be81d3e88",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/live2dcubismframework.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "8b5433b3-da39-478a-ba48-cbc22662c5fe",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "1b653dce-8cbd-42b6-a9c6-aef94771ed32",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismmath.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "2ff25840-7f87-4914-8998-8c2d6143d008",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismmatrix44.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "889e6e9d-abd5-4544-b9bf-0a3a3a75c03e",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismmodelmatrix.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "4e8bcb74-d83a-4dea-bafd-7a424e5396cd",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismtargetpoint.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "34842110-fa8f-4ff7-9112-62d16b891a60",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismvector2.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | export namespace Live2DCubismFramework
9 | {
10 | /**
11 | * 2次元ベクトル型
12 | *
13 | * 2次元ベクトル型の機能を提供する。
14 | */
15 | export class CubismVector2
16 | {
17 | /**
18 | * コンストラクタ
19 | */
20 | public constructor(public x?: number, public y?: number)
21 | {
22 | this.x = (x == undefined)
23 | ? 0.0
24 | : x;
25 |
26 | this.y = (y == undefined)
27 | ? 0.0
28 | : y;
29 | }
30 |
31 | /**
32 | * ベクトルの加算
33 | *
34 | * @param vector2 加算するベクトル値
35 | * @return 加算結果 ベクトル値
36 | */
37 | public add(vector2: CubismVector2): CubismVector2
38 | {
39 | let ret: CubismVector2 = new CubismVector2(0.0, 0.0);
40 | ret.x = this.x + vector2.x;
41 | ret.y = this.y + vector2.y;
42 | return ret;
43 | }
44 |
45 | /**
46 | * ベクトルの減算
47 | *
48 | * @param vector2 減算するベクトル値
49 | * @return 減算結果 ベクトル値
50 | */
51 | public substract(vector2: CubismVector2): CubismVector2
52 | {
53 | let ret: CubismVector2 = new CubismVector2(0.0, 0.0);
54 | ret.x = this.x - vector2.x;
55 | ret.y = this.y - vector2.y;
56 | return ret;
57 | }
58 |
59 | /**
60 | * ベクトルの乗算
61 | *
62 | * @param vector2 乗算するベクトル値
63 | * @return 乗算結果 ベクトル値
64 | */
65 | public multiply(vector2: CubismVector2): CubismVector2
66 | {
67 | let ret: CubismVector2 = new CubismVector2(0.0, 0.0);
68 | ret.x = this.x * vector2.x;
69 | ret.y = this.y * vector2.y;
70 | return ret;
71 | }
72 |
73 | /**
74 | * ベクトルの乗算(スカラー)
75 | *
76 | * @param scalar 乗算するスカラー値
77 | * @return 乗算結果 ベクトル値
78 | */
79 | public multiplyByScaler(scalar: number): CubismVector2
80 | {
81 | return this.multiply(new CubismVector2(scalar, scalar));
82 | }
83 |
84 | /**
85 | * ベクトルの除算
86 | *
87 | * @param vector2 除算するベクトル値
88 | * @return 除算結果 ベクトル値
89 | */
90 | public division(vector2: CubismVector2): CubismVector2
91 | {
92 | let ret: CubismVector2 = new CubismVector2(0.0, 0.0);
93 | ret.x = this.x / vector2.x;
94 | ret.y = this.y / vector2.y;
95 | return ret;
96 | }
97 |
98 | /**
99 | * ベクトルの除算(スカラー)
100 | *
101 | * @param scalar 除算するスカラー値
102 | * @return 除算結果 ベクトル値
103 | */
104 | public divisionByScalar(scalar: number): CubismVector2
105 | {
106 | return this.division(new CubismVector2(scalar, scalar));
107 | }
108 |
109 | /**
110 | * ベクトルの長さを取得する
111 | *
112 | * @return ベクトルの長さ
113 | */
114 | public getLength(): number
115 | {
116 | return Math.sqrt(this.x * this.x + this.y * this.y);
117 | }
118 |
119 | /**
120 | * ベクトルの距離の取得
121 | *
122 | * @param a 点
123 | * @return ベクトルの距離
124 | */
125 | public getDistanceWith(a: CubismVector2): number
126 | {
127 | return Math.sqrt(((this.x - a.x) * (this.x - a.x)) + ((this.y - a.y) * (this.y - a.y)));
128 | }
129 |
130 | /**
131 | * ドット積の計算
132 | *
133 | * @param a 値
134 | * @return 結果
135 | */
136 | public dot(a: CubismVector2): number
137 | {
138 | return (this.x * a.x) + (this.y * a.y);
139 | }
140 |
141 | /**
142 | * 正規化の適用
143 | */
144 | public normalize(): void
145 | {
146 | const length: number = Math.pow((this.x * this.x) + (this.y * this.y), 0.5);
147 |
148 | this.x = this.x / length;
149 | this.y = this.y / length;
150 | }
151 |
152 | /**
153 | * 等しさの確認(等しいか?)
154 | *
155 | * 値が等しいか?
156 | *
157 | * @param rhs 確認する値
158 | * @return true 値は等しい
159 | * @return false 値は等しくない
160 | */
161 | public isEqual(rhs: CubismVector2): boolean
162 | {
163 | return (this.x == rhs.x) && (this.y == rhs.y);
164 | }
165 |
166 | /**
167 | * 等しさの確認(等しくないか?)
168 | *
169 | * 値が等しくないか?
170 | *
171 | * @param rhs 確認する値
172 | * @return true 値は等しくない
173 | * @return false 値は等しい
174 | */
175 | public isNotEqual(rhs: CubismVector2): boolean
176 | {
177 | return !(this.isEqual(rhs));
178 | }
179 | }
180 | }
181 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismvector2.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "f88df32b-9d37-4d54-87c3-f230c0b0b927",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/math/cubismviewmatrix.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "bc2da258-5adb-4b69-8ad0-654b7b1500d0",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "f8296060-cff2-48e4-acaf-603a77003c90",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmoc.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | ///
9 | import {Live2DCubismFramework as cubismmodel} from "./cubismmodel";
10 | import CubismModel = cubismmodel.CubismModel;
11 | import { CSM_ASSERT } from "../utils/cubismdebug";
12 |
13 | export namespace Live2DCubismFramework
14 | {
15 | /**
16 | * Mocデータの管理
17 | *
18 | * Mocデータの管理を行うクラス。
19 | */
20 | export class CubismMoc
21 | {
22 | /**
23 | * Mocデータの作成
24 | */
25 | public static create(mocBytes: ArrayBuffer): CubismMoc
26 | {
27 | let cubismMoc: CubismMoc = null;
28 | let moc: Live2DCubismCore.Moc = Live2DCubismCore.Moc.fromArrayBuffer(mocBytes);
29 |
30 | if (moc)
31 | {
32 | cubismMoc = new CubismMoc(moc);
33 | }
34 |
35 | return cubismMoc;
36 | }
37 |
38 | /**
39 | * Mocデータを削除
40 | *
41 | * Mocデータを削除する
42 | */
43 | public static delete(moc: CubismMoc): void
44 | {
45 | moc._moc._release();
46 | moc._moc = null;
47 | moc = null;
48 | }
49 |
50 | /**
51 | * モデルを作成する
52 | *
53 | * @return Mocデータから作成されたモデル
54 | */
55 | createModel(): CubismModel
56 | {
57 | let cubismModel: CubismModel = null;
58 |
59 | let model: Live2DCubismCore.Model = Live2DCubismCore.Model.fromMoc(this._moc);
60 |
61 | if (model)
62 | {
63 | cubismModel = new CubismModel(model);
64 | cubismModel.initialize();
65 |
66 | ++this._modelCount;
67 | }
68 |
69 | return cubismModel;
70 | }
71 |
72 | /**
73 | * モデルを削除する
74 | */
75 | deleteModel(model: CubismModel): void
76 | {
77 | if(model != null)
78 | {
79 | model.release();
80 | model = null;
81 | --this._modelCount;
82 | }
83 | }
84 |
85 |
86 | /**
87 | * コンストラクタ
88 | */
89 | private constructor(moc: Live2DCubismCore.Moc)
90 | {
91 | this._moc = moc;
92 | this._modelCount = 0;
93 | }
94 |
95 | /**
96 | * デストラクタ相当の処理
97 | */
98 | public release(): void
99 | {
100 | CSM_ASSERT(this._modelCount == 0);
101 |
102 | this._moc._release();
103 | this._moc = null;
104 | }
105 |
106 | _moc: Live2DCubismCore.Moc; ///< Mocデータ
107 | _modelCount: number; ///< Mocデータから作られたモデルの個数
108 | }
109 | }
110 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmoc.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "36877803-0e93-4091-862b-ba46308e1597",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmodel.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "c98ea4f8-c381-44b7-8a9e-4492d35cdcec",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmodeluserdata.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as cubismmodeluserdatajson} from "./cubismmodeluserdatajson";
9 | import {Live2DCubismFramework as cubismid} from "../id/cubismid";
10 | import {Live2DCubismFramework as csmstring} from "../type/csmstring";
11 | import {Live2DCubismFramework as csmvector} from "../type/csmvector";
12 | import {Live2DCubismFramework as cubismframework} from "../live2dcubismframework";
13 | import CubismFramework = cubismframework.CubismFramework;
14 | import csmVector = csmvector.csmVector;
15 | import csmString = csmstring.csmString;
16 | import CubismIdHandle = cubismid.CubismIdHandle;
17 | import CubismModelUserDataJson = cubismmodeluserdatajson.CubismModelUserDataJson;
18 |
19 | export namespace Live2DCubismFramework
20 | {
21 | const ArtMesh: string = "ArtMesh";
22 |
23 | /**
24 | * ユーザーデータインターフェース
25 | *
26 | * Jsonから読み込んだユーザーデータを記録しておくための構造体
27 | */
28 | export class CubismModelUserDataNode
29 | {
30 | targetType: CubismIdHandle; // ユーザーデータターゲットタイプ
31 | targetId: CubismIdHandle; // ユーザーデータターゲットのID
32 | value: csmString; // ユーザーデータ
33 | }
34 |
35 | /**
36 | * ユーザデータの管理クラス
37 | *
38 | * ユーザデータをロード、管理、検索インターフェイス、解放までを行う。
39 | */
40 | export class CubismModelUserData
41 | {
42 | /**
43 | * インスタンスの作成
44 | *
45 | * @param buffer userdata3.jsonが読み込まれているバッファ
46 | * @param size バッファのサイズ
47 | * @return 作成されたインスタンス
48 | */
49 | public static create(buffer: ArrayBuffer, size: number): CubismModelUserData
50 | {
51 | let ret: CubismModelUserData = new CubismModelUserData();
52 |
53 | ret.parseUserData(buffer, size);
54 |
55 | return ret;
56 | }
57 |
58 | /**
59 | * インスタンスを破棄する
60 | *
61 | * @param modelUserData 破棄するインスタンス
62 | */
63 | public static delete(modelUserData: CubismModelUserData): void
64 | {
65 | if(modelUserData != null)
66 | {
67 | modelUserData.release();
68 | modelUserData = null;
69 | }
70 | }
71 |
72 | /**
73 | * ArtMeshのユーザーデータのリストの取得
74 | *
75 | * @return ユーザーデータリスト
76 | */
77 | public getArtMeshUserDatas(): csmVector
78 | {
79 | return this._artMeshUserDataNode;
80 | }
81 |
82 | /**
83 | * userdata3.jsonのパース
84 | *
85 | * @param buffer userdata3.jsonが読み込まれているバッファ
86 | * @param size バッファのサイズ
87 | */
88 | public parseUserData(buffer: ArrayBuffer, size: number): void
89 | {
90 | let json: CubismModelUserDataJson = new CubismModelUserDataJson(buffer, size);
91 |
92 | const typeOfArtMesh = CubismFramework.getIdManager().getId(ArtMesh);
93 | const nodeCount: number = json.getUserDataCount();
94 |
95 | for(let i: number = 0; i < nodeCount; i++)
96 | {
97 | let addNode: CubismModelUserDataNode = new CubismModelUserDataNode();
98 |
99 | addNode.targetId = json.getUserDataId(i);
100 | addNode.targetType = CubismFramework.getIdManager().getId(json.getUserDataTargetType(i));
101 | addNode.value = new csmString(json.getUserDataValue(i));
102 | this._userDataNodes.pushBack(addNode);
103 |
104 | if(addNode.targetType == typeOfArtMesh)
105 | {
106 | this._artMeshUserDataNode.pushBack(addNode);
107 | }
108 | }
109 |
110 | json.release();
111 | json = void 0;
112 | }
113 |
114 | /**
115 | * コンストラクタ
116 | */
117 | public constructor()
118 | {
119 | this._userDataNodes = new csmVector();
120 | this._artMeshUserDataNode = new csmVector();
121 | }
122 |
123 | /**
124 | * デストラクタ相当の処理
125 | *
126 | * ユーザーデータ構造体配列を解放する
127 | */
128 | public release(): void
129 | {
130 | for(let i: number = 0; i < this._userDataNodes.getSize(); ++i)
131 | {
132 | this._userDataNodes.set(i, null);
133 | }
134 |
135 | this._userDataNodes = null;
136 | }
137 |
138 | private _userDataNodes: csmVector; // ユーザーデータ構造体配列
139 | private _artMeshUserDataNode: csmVector; // 閲覧リストの保持
140 | }
141 | }
142 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmodeluserdata.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "58e5432e-5611-4c79-905f-90f62be4b4fb",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmodeluserdatajson.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as cubismjson} from "../utils/cubismjson";
9 | import {Live2DCubismFramework as cubismid} from "../id/cubismid";
10 | import {Live2DCubismFramework as cubismframework} from "../live2dcubismframework";
11 | import CubismFramework = cubismframework.CubismFramework;
12 | import CubismIdHandle = cubismid.CubismIdHandle;
13 | import CubismJson = cubismjson.CubismJson;
14 |
15 |
16 | export namespace Live2DCubismFramework
17 | {
18 | const Meta: string = "Meta";
19 | const UserDataCount: string = "UserDataCount";
20 | const TotalUserDataSize: string = "TotalUserDataSize";
21 | const UserData: string = "UserData";
22 | const Target: string = "Target";
23 | const Id: string = "Id";
24 | const Value: string = "Value";
25 |
26 | export class CubismModelUserDataJson
27 | {
28 | /**
29 | * コンストラクタ
30 | * @param buffer userdata3.jsonが読み込まれているバッファ
31 | * @param size バッファのサイズ
32 | */
33 | public constructor(buffer: ArrayBuffer, size: number)
34 | {
35 | this._json = CubismJson.create(buffer, size);
36 | }
37 |
38 | /**
39 | * デストラクタ相当の処理
40 | */
41 | public release(): void
42 | {
43 | CubismJson.delete(this._json);
44 | }
45 |
46 | /**
47 | * ユーザーデータ個数の取得
48 | * @return ユーザーデータの個数
49 | */
50 | public getUserDataCount(): number
51 | {
52 | return this._json.getRoot().getValueByString(Meta).getValueByString(UserDataCount).toInt();
53 | }
54 |
55 | /**
56 | * ユーザーデータ総文字列数の取得
57 | *
58 | * @return ユーザーデータ総文字列数
59 | */
60 | public getTotalUserDataSize(): number
61 | {
62 | return this._json.getRoot().getValueByString(Meta).getValueByString(TotalUserDataSize).toInt();
63 | }
64 |
65 | /**
66 | * ユーザーデータのタイプの取得
67 | *
68 | * @return ユーザーデータのタイプ
69 | */
70 | public getUserDataTargetType(i: number): string
71 | {
72 | return this._json.getRoot().getValueByString(UserData).getValueByIndex(i).getValueByString(Target).getRawString();
73 | }
74 |
75 | /**
76 | * ユーザーデータのターゲットIDの取得
77 | *
78 | * @param i インデックス
79 | * @return ユーザーデータターゲットID
80 | */
81 | public getUserDataId(i: number): CubismIdHandle
82 | {
83 | return CubismFramework.getIdManager().getId(this._json.getRoot().getValueByString(UserData).getValueByIndex(i).getValueByString(Id).getRawString());
84 | }
85 |
86 | /**
87 | * ユーザーデータの文字列の取得
88 | *
89 | * @param i インデックス
90 | * @return ユーザーデータ
91 | */
92 | public getUserDataValue(i: number): string
93 | {
94 | return this._json.getRoot().getValueByString(UserData).getValueByIndex(i).getValueByString(Value).getRawString();
95 | }
96 |
97 | private _json: CubismJson;
98 | }
99 | }
100 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismmodeluserdatajson.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "947f647f-b5e2-4989-af27-6aefe4c74100",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/model/cubismusermodel.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "1496a350-ac9e-4793-a349-e8edd5a3e1ac",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "1633f8c8-c1c6-4081-922d-b2c10209e082",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/acubismmotion.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "b2b327d0-5d02-4d3f-8f09-79efc7b4b446",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismexpressionmotion.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "3892bbd0-fc54-4ed0-b59f-0ac2e99b0c1b",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotion.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "a5bac6d1-0799-4d20-999e-d1b7736b65f5",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotioninternal.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as cubismid} from '../id/cubismid';
9 | import {Live2DCubismFramework as csmstring} from '../type/csmstring';
10 | import {Live2DCubismFramework as csmvector} from '../type/csmvector';
11 | import csmVector = csmvector.csmVector;
12 | import csmString = csmstring.csmString;
13 | import CubismIdHandle = cubismid.CubismIdHandle;
14 |
15 | export namespace Live2DCubismFramework
16 | {
17 | /**
18 | * @brief モーションカーブの種類
19 | *
20 | * モーションカーブの種類。
21 | */
22 | export enum CubismMotionCurveTarget
23 | {
24 | CubismMotionCurveTarget_Model, // モデルに対して
25 | CubismMotionCurveTarget_Parameter, // パラメータに対して
26 | CubismMotionCurveTarget_PartOpacity // パーツの不透明度に対して
27 | };
28 |
29 |
30 | /**
31 | * @brief モーションカーブのセグメントの種類
32 | *
33 | * モーションカーブのセグメントの種類。
34 | */
35 | export enum CubismMotionSegmentType
36 | {
37 | CubismMotionSegmentType_Linear = 0, // リニア
38 | CubismMotionSegmentType_Bezier = 1, // ベジェ曲線
39 | CubismMotionSegmentType_Stepped = 2, // ステップ
40 | CubismMotionSegmentType_InverseStepped = 3 // インバースステップ
41 | };
42 |
43 | /**
44 | * @brief モーションカーブの制御点
45 | *
46 | * モーションカーブの制御点。
47 | */
48 | export class CubismMotionPoint
49 | {
50 | time: number = 0.0; // 時間[秒]
51 | value: number = 0.0; // 値
52 | };
53 |
54 |
55 | /**
56 | * モーションカーブのセグメントの評価関数
57 | *
58 | * @param points モーションカーブの制御点リスト
59 | * @param time 評価する時間[秒]
60 | */
61 | export interface csmMotionSegmentEvaluationFunction
62 | {
63 | (
64 | points: CubismMotionPoint[],
65 | time: number
66 | ): number;
67 | }
68 |
69 | /**
70 | * @brief モーションカーブのセグメント
71 | *
72 | * モーションカーブのセグメント。
73 | */
74 | export class CubismMotionSegment
75 | {
76 | /**
77 | * @brief コンストラクタ
78 | *
79 | * コンストラクタ。
80 | */
81 | public constructor()
82 | {
83 | this.evaluate = null;
84 | this.basePointIndex = 0;
85 | this.segmentType = 0;
86 | }
87 |
88 | evaluate: csmMotionSegmentEvaluationFunction; // 使用する評価関数
89 | basePointIndex: number; // 最初のセグメントへのインデックス
90 | segmentType: number; // セグメントの種類
91 | };
92 |
93 | /**
94 | * @brief モーションカーブ
95 | *
96 | * モーションカーブ。
97 | */
98 | export class CubismMotionCurve
99 | {
100 | public constructor()
101 | {
102 | this.type = CubismMotionCurveTarget.CubismMotionCurveTarget_Model;
103 | this.segmentCount = 0;
104 | this.baseSegmentIndex = 0;
105 | this.fadeInTime = 0.0;
106 | this.fadeOutTime = 0.0;
107 | }
108 |
109 | type: CubismMotionCurveTarget; // カーブの種類
110 | id: CubismIdHandle; // カーブのID
111 | segmentCount: number; // セグメントの個数
112 | baseSegmentIndex: number; // 最初のセグメントのインデックス
113 | fadeInTime: number; // フェードインにかかる時間[秒]
114 | fadeOutTime: number; // フェードアウトにかかる時間[秒]
115 | };
116 |
117 | /**
118 | * イベント。
119 | */
120 | export class CubismMotionEvent
121 | {
122 | fireTime: number = 0.0;
123 | value: csmString;
124 | };
125 |
126 | /**
127 | * @brief モーションデータ
128 | *
129 | * モーションデータ。
130 | */
131 | export class CubismMotionData
132 | {
133 | public constructor()
134 | {
135 | this.duration = 0.0;
136 | this.loop = false;
137 | this.curveCount = 0;
138 | this.eventCount = 0;
139 | this.fps = 0.0;
140 |
141 | this.curves = new csmVector();
142 | this.segments = new csmVector();
143 | this.points = new csmVector();
144 | this.events = new csmVector();
145 | }
146 |
147 | duration: number; // モーションの長さ[秒]
148 | loop: boolean; // ループするかどうか
149 | curveCount: number; // カーブの個数
150 | eventCount: number; // UserDataの個数
151 | fps: number; // フレームレート
152 | curves: csmVector; // カーブのリスト
153 | segments: csmVector; // セグメントのリスト
154 | points: csmVector; // ポイントのリスト
155 | events: csmVector; // イベントのリスト
156 | };
157 | }
158 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotioninternal.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "5c5029df-4f20-4af5-b9bb-a07fbae0b4c2",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotionjson.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "ff9c7eca-8b24-459c-9138-8ce9cb04e10d",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotionmanager.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | import {Live2DCubismFramework as cubismmotionqueuemanager} from "./cubismmotionqueuemanager";
9 | import {Live2DCubismFramework as acubismmotion} from './acubismmotion';
10 | import {Live2DCubismFramework as cubismmodel} from '../model/cubismmodel';
11 | import CubismMotionQueueEntryHandle = cubismmotionqueuemanager.CubismMotionQueueEntryHandle;
12 | import CubismModel = cubismmodel.CubismModel;
13 | import ACubismMotion = acubismmotion.ACubismMotion;
14 | import CubismMotionQueueManager = cubismmotionqueuemanager.CubismMotionQueueManager;
15 |
16 | export namespace Live2DCubismFramework
17 | {
18 | /**
19 | * モーションの管理
20 | *
21 | * モーションの管理を行うクラス
22 | */
23 | export class CubismMotionManager extends CubismMotionQueueManager
24 | {
25 | /**
26 | * コンストラクタ
27 | */
28 | public constructor()
29 | {
30 | super();
31 | this._currentPriority = 0;
32 | this._reservePriority = 0;
33 | }
34 |
35 | /**
36 | * 再生中のモーションの優先度の取得
37 | * @return モーションの優先度
38 | */
39 | public getCurrentPriority(): number
40 | {
41 | return this._currentPriority;
42 | }
43 |
44 | /**
45 | * 予約中のモーションの優先度を取得する。
46 | * @return モーションの優先度
47 | */
48 | public getReservePriority(): number
49 | {
50 | return this._reservePriority;
51 | }
52 |
53 | /**
54 | * 予約中のモーションの優先度を設定する。
55 | * @param val 優先度
56 | */
57 | public setReservePriority(val: number): void
58 | {
59 | this._reservePriority = val;
60 | }
61 |
62 | /**
63 | * 優先度を設定してモーションを開始する。
64 | *
65 | * @param motion モーション
66 | * @param autoDelete 再生が狩猟したモーションのインスタンスを削除するならtrue
67 | * @param priority 優先度
68 | * @return 開始したモーションの識別番号を返す。個別のモーションが終了したか否かを判定するIsFinished()の引数で使用する。開始できない時は「-1」
69 | */
70 | public startMotionPriority(motion: ACubismMotion, autoDelete: boolean, priority: number): CubismMotionQueueEntryHandle
71 | {
72 | if(priority == this._reservePriority)
73 | {
74 | this._reservePriority = 0; // 予約を解除
75 | }
76 |
77 | this._currentPriority = priority; // 再生中モーションの優先度を設定
78 |
79 | return super.startMotion(motion, autoDelete, this._userTimeSeconds);
80 | }
81 |
82 | /**
83 | * モーションを更新して、モデルにパラメータ値を反映する。
84 | *
85 | * @param model 対象のモデル
86 | * @param deltaTimeSeconds デルタ時間[秒]
87 | * @return true 更新されている
88 | * @return false 更新されていない
89 | */
90 | public updateMotion(model: CubismModel, deltaTimeSeconds: number): boolean
91 | {
92 | this._userTimeSeconds += deltaTimeSeconds;
93 |
94 | const updated: boolean = super.doUpdateMotion(model, this._userTimeSeconds);
95 |
96 | if(this.isFinished())
97 | {
98 | this._currentPriority = 0; // 再生中のモーションの優先度を解除
99 | }
100 |
101 | return updated;
102 | }
103 |
104 | /**
105 | * モーションを予約する。
106 | *
107 | * @param priority 優先度
108 | * @return true 予約できた
109 | * @return false 予約できなかった
110 | */
111 | public reserveMotion(priority: number): boolean
112 | {
113 | if((priority <= this._reservePriority) || (priority <= this._currentPriority))
114 | {
115 | return false;
116 | }
117 |
118 | this._reservePriority = priority;
119 |
120 | return true;
121 | }
122 |
123 | _currentPriority: number; // 現在再生中のモーションの優先度
124 | _reservePriority: number; // 再生予定のモーションの優先度。再生中は0になる。モーションファイルを別スレッドで読み込むときの機能。
125 | }
126 |
127 | }
128 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotionmanager.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "cf928b96-4618-4786-923c-875a49a180f7",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotionqueueentry.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "4668ee84-b5ba-4414-a3f1-2078d1a47229",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/motion/cubismmotionqueuemanager.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "3d51e179-397e-4fd5-9443-3917e8aae694",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/physics.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "f8f323e7-052d-47f2-a458-2094044fafe1",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/physics/cubismphysics.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "7fc66418-b726-443a-91c9-b054d0a44c27",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/physics/cubismphysicsinternal.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "525e015b-72d9-488d-b7ac-1883a2558dc1",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/physics/cubismphysicsjson.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "94aff684-af41-4b64-849f-0e1687da6b7f",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/rendering.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "068aca59-84c6-432c-ab65-46567c0a5208",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/rendering/cubismrenderer.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "f21ec17c-a143-4596-b9de-b571666c1d1a",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/rendering/cubismrenderer_webgl.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "f72866d1-3f17-4be4-8c3b-3e48297244ed",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "c7111fad-c2a0-453f-b331-fd1a916be95b",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmmap.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "5c58de38-8627-4ead-956f-22e7d957eee6",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmrectf.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | export namespace Live2DCubismFramework
9 | {
10 | /**
11 | * 矩形形状(座標・長さはfloat値)を定義するクラス
12 | */
13 | export class csmRect
14 | {
15 | /**
16 | * コンストラクタ
17 | * @param x 左端X座標
18 | * @param y 上端Y座標
19 | * @param w 幅
20 | * @param h 高さ
21 | */
22 | public constructor(x?: number, y?: number, w?: number, h?: number)
23 | {
24 | this.x = x;
25 | this.y = y;
26 | this.width = w;
27 | this.height = h;
28 | }
29 |
30 | /**
31 | * 矩形中央のX座標を取得する
32 | */
33 | public getCenterX(): number
34 | {
35 | return this.x + 0.5 * this.width;
36 | }
37 |
38 | /**
39 | * 矩形中央のY座標を取得する
40 | */
41 | public getCenterY(): number
42 | {
43 | return this.y + 0.5 * this.height;
44 | }
45 |
46 | /**
47 | * 右側のX座標を取得する
48 | */
49 | public getRight(): number
50 | {
51 | return this.x + this.width;
52 | }
53 |
54 | /**
55 | * 下端のY座標を取得する
56 | */
57 | public getBottom(): number
58 | {
59 | return this.y + this.height;
60 | }
61 |
62 | /**
63 | * 矩形に値をセットする
64 | * @param r 矩形のインスタンス
65 | */
66 | public setRect(r: csmRect): void
67 | {
68 | this.x = r.x;
69 | this.y = r.y;
70 | this.width = r.width;
71 | this.height = r.height;
72 | }
73 |
74 | /**
75 | * 矩形中央を軸にして縦横を拡縮する
76 | * @param w 幅方向に拡縮する量
77 | * @param h 高さ方向に拡縮する量
78 | */
79 | public expand(w: number, h: number)
80 | {
81 | this.x -= w;
82 | this.y -= h;
83 | this.width += w * 2.0;
84 | this.height += h * 2.0;
85 | }
86 |
87 | public x: number; // 左端X座標
88 | public y: number; // 上端Y座標
89 | public width: number; // 幅
90 | public height: number; // 高さ
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmrectf.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "7c2f9906-420f-4732-af69-a9948ccefc9d",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmstring.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | export namespace Live2DCubismFramework
9 | {
10 | /**
11 | * 文字列クラス。
12 | */
13 | export class csmString
14 | {
15 | /**
16 | * 文字列を後方に追加する
17 | *
18 | * @param c 追加する文字列
19 | * @return 更新された文字列
20 | */
21 | public append(c: string, length?: number): csmString
22 | {
23 | this.s += (length !== undefined)
24 | ? c.substr(0, length)
25 | : c;
26 |
27 | return this;
28 | }
29 |
30 | /**
31 | * 文字サイズを拡張して文字を埋める
32 | * @param length 拡張する文字数
33 | * @param v 埋める文字
34 | * @return 更新された文字列
35 | */
36 | public expansion(length: number, v: string): csmString
37 | {
38 | let ret: csmString = this;
39 |
40 | for(let i = 0; i < length; i++)
41 | {
42 | ret.append(v);
43 | }
44 |
45 | return ret;
46 | }
47 |
48 | /**
49 | * 文字列の長さをバイト数で取得する
50 | */
51 | public getBytes(): number
52 | {
53 | return encodeURIComponent(this.s) .replace(/%../g, "x").length;
54 | }
55 |
56 | /**
57 | * 文字列の長さを返す
58 | */
59 | public getLength(): number
60 | {
61 | return this.s.length;
62 | }
63 |
64 | /**
65 | * 文字列比較 <
66 | * @param s 比較する文字列
67 | * @return true: 比較する文字列より小さい
68 | * @return false: 比較する文字列より大きい
69 | */
70 | public isLess(s: csmString): boolean
71 | {
72 | return this.s < s.s;
73 | }
74 |
75 | /**
76 | * 文字列比較 >
77 | * @param s 比較する文字列
78 | * @return true: 比較する文字列より大きい
79 | * @return false: 比較する文字列より小さい
80 | */
81 | public isGreat(s: csmString): boolean
82 | {
83 | return this.s > s.s;
84 | }
85 |
86 | /**
87 | * 文字列比較 ==
88 | * @param s 比較する文字列
89 | * @return true: 比較する文字列と等しい
90 | * @return false: 比較する文字列と異なる
91 | */
92 | public isEqual(s: string): boolean
93 | {
94 | return this.s == s;
95 | }
96 |
97 | /**
98 | * 文字列が空かどうか
99 | * @return true: 空の文字列
100 | * @return false: 値が設定されている
101 | */
102 | public isEmpty(): boolean
103 | {
104 | return this.s.length == 0;
105 | }
106 |
107 | /**
108 | * 引数付きコンストラクタ
109 | */
110 | public constructor(s: string)
111 | {
112 | this.s = s;
113 | }
114 |
115 | s: string;
116 | }
117 | }
118 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmstring.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "060347fe-496e-4919-9b03-5f7b7fcb25ba",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/type/csmvector.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "c06510ee-8ab2-49df-a775-31a1a4101b21",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/utils.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "240b3ab0-ff16-4ba8-884e-305e6f8e8196",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/utils/cubismdebug.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "9c291e8c-a12d-4a4c-886a-6e383dcba6ea",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/utils/cubismjson.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "4722d04d-b1b0-4cc8-a634-a28260a1947b",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/utils/cubismstring.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright(c) Live2D Inc. All rights reserved.
3 | *
4 | * Use of this source code is governed by the Live2D Open Software license
5 | * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
6 | */
7 |
8 | export namespace Live2DCubismFramework
9 | {
10 | export class CubismString
11 | {
12 | /**
13 | * 標準出力の書式を適用した文字列を取得する。
14 | * @param format 標準出力の書式指定文字列
15 | * @param ...args 書式指定文字列に渡す文字列
16 | * @return 書式を適用した文字列
17 | */
18 | public static getFormatedString(format: string, ... args: any[]): string
19 | {
20 | let ret: string = format;
21 | return ret.replace(
22 | /\{(\d+)\}/g,
23 | (m, k) => // m="{0}", k="0"
24 | {
25 | return args[k];
26 | }
27 | );
28 | }
29 |
30 | /**
31 | * textがstartWordで始まっているかどうかを返す
32 | * @param test 検査対象の文字列
33 | * @param startWord 比較対象の文字列
34 | * @return true textがstartWordで始まっている
35 | * @return false textがstartWordで始まっていない
36 | */
37 | public static isStartWith(text: string, startWord: string): boolean
38 | {
39 | let textIndex = 0;
40 | let startWordIndex = 0;
41 | while(startWord[startWordIndex] != '\0')
42 | {
43 | if(text[textIndex] == '\0' || text[textIndex++] != startWord[startWordIndex++])
44 | {
45 | return false;
46 | }
47 | }
48 | return false;
49 | }
50 |
51 | /**
52 | * position位置の文字から数字を解析する。
53 | *
54 | * @param string 文字列
55 | * @param length 文字列の長さ
56 | * @param position 解析したい文字の位置
57 | * @param outEndPos 一文字も読み込まなかった場合はエラー値(-1)が入る
58 | * @return 解析結果の数値
59 | */
60 | public static stringToFloat(string: string, length: number, position: number, outEndPos: number[]): number
61 | {
62 | let i: number = position;
63 | let minus: boolean = false; // マイナスフラグ
64 | let period: boolean = false;
65 | let v1: number = 0;
66 |
67 | //負号の確認
68 | let c: number = parseInt(string[i]);
69 | if (c < 0)
70 | {
71 | minus = true;
72 | i++;
73 | }
74 |
75 | //整数部の確認
76 | for (; i < length; i++)
77 | {
78 | let c = string[i];
79 | if (0 <= parseInt(c) && parseInt(c) <= 9)
80 | {
81 | v1 = v1 * 10 + (parseInt(c) - 0);
82 | }
83 | else if (c == '.')
84 | {
85 | period = true;
86 | i++;
87 | break;
88 | }
89 | else
90 | {
91 | break;
92 | }
93 | }
94 |
95 | //小数部の確認
96 | if (period)
97 | {
98 | let mul: number = 0.1;
99 | for (; i < length; i++)
100 | {
101 | c = parseFloat(string[i]) & 0xFF;
102 | if (0 <= c && c <= 9)
103 | {
104 | v1 += mul * (c - 0);
105 | }
106 | else
107 | {
108 | break;
109 | }
110 | mul *= 0.1; //一桁下げる
111 | if (!c) break;
112 | }
113 | }
114 |
115 | if (i == position)
116 | {
117 | //一文字も読み込まなかった場合
118 | outEndPos[0] = -1; //エラー値が入るので呼び出し元で適切な処理を行う
119 | return 0;
120 | }
121 |
122 | if (minus) v1 = -v1;
123 |
124 | outEndPos[0] = i;
125 | return v1;
126 | }
127 |
128 | /**
129 | * コンストラクタ呼び出し不可な静的クラスにする。
130 | */
131 | private constructor()
132 | {
133 |
134 | }
135 | }
136 | }
137 |
--------------------------------------------------------------------------------
/assets/components/live2d/CubismSdkForWeb/Framework/utils/cubismstring.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "a7c3d087-fec0-47fd-a4eb-45a42809bd71",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/Live2dComponent.ts:
--------------------------------------------------------------------------------
1 | import Live2dDelegate from "./src/LAppDelegate";
2 | import Live2dDefine from "./src/LAppDefine";
3 | import Live2dModel from "./src/LAppModel";
4 |
5 | const { ccclass, property } = cc._decorator;
6 |
7 | @ccclass
8 | export default class Live2dComponent extends cc.Component {
9 |
10 | public static get EvtMotionFinish(): string { return "Live2d动作结束" }
11 |
12 | @property({ type: cc.RenderTexture })
13 | renderTexture: cc.RenderTexture = null
14 |
15 | @property()
16 | _scale: number = 3.3
17 | @property()
18 | get scale(): number { return this._scale }
19 | set scale(s: number) { this._scale = s; if (this._live2d != null) { this._live2d.scale = this.scale } }
20 |
21 | @property()
22 | fps: number = 30
23 |
24 | @property()
25 | clearColor: cc.Color = cc.Color.TRANSPARENT
26 |
27 | @property({ tooltip: "是否循环Idel动作" })
28 | loopIdelMotion: boolean = true
29 |
30 | @property()
31 | modelName: string = "Hiyori"
32 |
33 | private _sprite: cc.Sprite = null
34 | private _live2d: Live2dDelegate = null
35 | private _frameBuffer: WebGLFramebuffer = null
36 |
37 | public get width(): number { return this.node.width }
38 | public get height(): number { return this.node.height }
39 | public get gl(): WebGLRenderingContext { return this.renderTexture["_texture"]._device._gl }
40 | public get frameBuffer(): WebGLFramebuffer { return this._frameBuffer }
41 | public get live2d(): Live2dDelegate { return this._live2d }
42 | public get stepTime(): number { return 1 / this.fps }
43 |
44 | onLoad() {
45 | if (this.renderTexture == null) {
46 | this.renderTexture = new cc.RenderTexture()
47 | this.renderTexture.initWithSize(this.node.width, this.node.height)
48 | this.renderTexture.setFlipY(true)
49 |
50 | this._sprite = this.node.addComponent(cc.Sprite)
51 | this._sprite.spriteFrame = new cc.SpriteFrame(this.renderTexture);
52 | }
53 |
54 | let gl = this.gl
55 | let self = this
56 |
57 | this._frameBuffer = gl.createFramebuffer()
58 | gl.bindFramebuffer(gl.FRAMEBUFFER, this._frameBuffer)
59 | const attachmentPoint = gl.COLOR_ATTACHMENT0;
60 | gl.framebufferTexture2D(gl.FRAMEBUFFER, attachmentPoint, gl.TEXTURE_2D, this.renderTexture["_texture"]._glID, 0)
61 | gl.bindFramebuffer(gl.FRAMEBUFFER, null)
62 | //this._frameBuffer = this.renderTexture["_framebuffer"]._glID
63 |
64 | this._live2d = new Live2dDelegate(this.gl, this.width, this.height, this.frameBuffer)
65 | this.live2d.loadModel(this.modelName)
66 | this.live2d.scale = this.scale
67 |
68 | this.live2d.onFinishMotion = (model: Live2dModel): boolean => {
69 | self.node.emit(Live2dComponent.EvtMotionFinish, model)
70 | return self.loopIdelMotion
71 | }
72 | }
73 |
74 | start() {
75 | }
76 |
77 | private _deltaTime: number = 0
78 | update(dt: number) {
79 | this._deltaTime += dt
80 | let draw = false
81 | while (this._deltaTime > this.stepTime) {
82 | draw = true
83 | this._deltaTime -= this.stepTime
84 | this.live2d.loop()
85 | }
86 | //if (this._deltaTime < 0) { this._deltaTime = 0 }
87 | if (draw) {
88 | //TODO: 这里需要重置渲染状态,不知道怎么避免(估计要参考相机的render)
89 | let device = this.renderTexture["_texture"]._device
90 | device._current.reset()
91 | device._gl.viewport(device._vx, device._vy, device._vw, device._vh)
92 | }
93 | }
94 |
95 | onDestroy() {
96 | if (this._live2d) {
97 | this._live2d.release()
98 | }
99 | }
100 | }
--------------------------------------------------------------------------------
/assets/components/live2d/Live2dComponent.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "7c80caa3-f5b9-47d7-956b-39da68cc9605",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "e6764dba-6efa-4794-9738-80b8f30874f2",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppDefine.ts:
--------------------------------------------------------------------------------
1 |
2 | import { LogLevel } from "../CubismSdkForWeb/Framework/live2dcubismframework";
3 |
4 | export default class Live2dDefine {
5 |
6 | static get ModelDir(): string[] { return ["Haru", "Hiyori", "Mark", "Natori", "Rice"] }
7 | static get ModelDirSize(): number { return Live2dDefine.ModelDir.length }
8 | static get ViewLogicalLeft(): number { return -1.0 }
9 | static get ViewLogicalRight(): number { return 1.0 }
10 |
11 | static get ViewMaxScale(): number { return 2.0 }
12 | static get ViewMinScale(): number { return 0.8 }
13 |
14 | static get ResourcesPath(): string { return "./live2d/" }
15 | static get BackImageName(): string { return "back_class_normal.png" }
16 |
17 | static get DebugLogEnable(): boolean { return true }
18 |
19 | static get HitAreaNameHead(): string { return "Head" }
20 | static get HitAreaNameBody(): string { return "Body" }
21 |
22 | static get MotionGroupIdle(): string { return "Idle"; }
23 | static get MotionGroupTapBody(): string { return "TapBody"; }
24 |
25 | static get PriorityNone(): number { return 0 }
26 | static get PriorityIdle(): number { return 1 }
27 | static get PriorityNormal(): number { return 2 }
28 | static get PriorityForce(): number { return 3 }
29 |
30 | static get CubismLoggingLevel(): LogLevel { return LogLevel.LogLevel_Verbose }
31 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppDefine.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "99e474c7-7225-453e-8613-2fc7f60e8da7",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppDelegate.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "1d7d509e-c10e-4b8d-8461-2a29a366dd60",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppModel.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "777427ab-ac2f-429b-aae0-3f80aa49b3db",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppModelManager.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "d434e32a-1b8c-419a-a587-c388b9fb21f2",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppPlatform.ts:
--------------------------------------------------------------------------------
1 |
2 | function string2buffer(str) {
3 | // 首先将字符串转为16进制
4 | let val = ""
5 | for (let i = 0; i < str.length; i++) {
6 | if (val === '') {
7 | val = str.charCodeAt(i).toString(16)
8 | } else {
9 | val += ',' + str.charCodeAt(i).toString(16)
10 | }
11 | }
12 | // 将16进制转化为ArrayBuffer
13 | return new Uint8Array(val.match(/[\da-f]{2}/gi).map(function (h) {
14 | return parseInt(h, 16)
15 | })).buffer
16 | }
17 |
18 | function stringToUint8Array(str: string): Uint8Array {
19 | var arr = [];
20 | for (var i = 0, j = str.length; i < j; ++i) {
21 | arr.push(str.charCodeAt(i));
22 | }
23 |
24 | var tmpUint8Array = new Uint8Array(arr);
25 | return tmpUint8Array
26 | }
27 |
28 | export default class Live2dPlatform {
29 | static lastUpdate = Date.now();
30 |
31 | static s_currentFrame = 0.0;
32 | static s_lastFrame = 0.0;
33 | static s_deltaTime = 0.0;
34 |
35 | public static loadJson(filePath: string, callback: any): void {
36 | let path: string = ""
37 | let jsonIndex = filePath.lastIndexOf(".json")
38 | if (jsonIndex > 0) {
39 | path = filePath.substr(0, jsonIndex)
40 | cc.loader.loadRes(path, cc.JsonAsset, (err: Error, res: cc.JsonAsset) => {
41 | cc.log(res.toString())
42 | let arrayBuffer = string2buffer(JSON.stringify(res.json))
43 | callback(arrayBuffer)
44 | })
45 | } else {
46 | cc.error("Not Json Path", filePath)
47 | }
48 | cc.log("--------------->LOAD:", path)
49 | }
50 |
51 |
52 | public static async loadArrayBuffer(filePath: string): Promise {
53 | return new Promise(function (resolve, reject) {
54 | /*
55 | let jsonIndex = filePath.lastIndexOf(".json")
56 | let url = "http://127.0.0.1:8080/Sample/TypeScript/Demo/"
57 | cc.loader.load(url + filePath, function (err, data) {
58 | if (jsonIndex > 0) {
59 | let arrayBuffer = string2buffer(JSON.stringify(data))
60 | resolve(arrayBuffer)
61 | } else {
62 | //let arrayBuffer = string2buffer(data)
63 | let buf = stringToUint8Array(data)
64 | resolve(buf.buffer)
65 | }
66 | })*/
67 |
68 | let path = filePath.replace(".exp3.json", "_exp3")
69 | path = path.replace(".model3.json", "_model3")
70 | path = path.replace(".pose3.json", "_pose3")
71 | path = path.replace(".userdata3.json", "_userdata3")
72 | path = path.replace(".motion3.json", "_motion3")
73 | path = path.replace(".cdi3.json", "_cdi3")
74 | path = path.replace(".physics3.json", "_physics3")
75 |
76 | path = path.replace(".moc3", "_moc3")
77 | path = path.replace(".mtn", "_mtn")
78 |
79 | cc.loader.loadRes(path, cc.BufferAsset, (err: Error, res: cc.BufferAsset) => {
80 | resolve(res._buffer)
81 | })
82 | })
83 | }
84 |
85 | public static async loadFileAsBytes(filePath: string, callback: any) {
86 | cc.error("loadFileAsBytes 这个函数废弃了")
87 | //filePath;//
88 | let path = filePath
89 | let size = 0;
90 | fetch(path).then(
91 | (response) => {
92 | return response.arrayBuffer();
93 | }
94 | ).then(
95 | (arrayBuffer) => {
96 | size = arrayBuffer.byteLength;
97 | callback(arrayBuffer, size);
98 | }
99 | );
100 | }
101 |
102 | public static releaseBytes(byteData: ArrayBuffer): void {
103 | byteData = void 0;
104 | }
105 | public static getDeltaTime(): number {
106 | return this.s_deltaTime;
107 | }
108 |
109 | public static updateTime(): void {
110 | this.s_currentFrame = Date.now();
111 | this.s_deltaTime = (this.s_currentFrame - this.s_lastFrame) / 1000;
112 | this.s_lastFrame = this.s_currentFrame;
113 | }
114 |
115 | public static printMessage(message: string): void {
116 | console.log(message);
117 | }
118 | public static printLog(format: string, ...args: any[]): void {
119 | console.log(
120 | format.replace(
121 | /\{(\d+)\}/g,
122 | (m, k) => {
123 | return args[k];
124 | }
125 | )
126 | );
127 | }
128 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppPlatform.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "709b2d74-4107-4935-a6e4-356202b91b73",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppSprite.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "98c3b4b3-732f-495b-a893-2f64687e0865",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppTextureManager.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "0969f407-2775-486d-b925-bda5f25b47ba",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppView.ts:
--------------------------------------------------------------------------------
1 |
2 | import { Live2DCubismFramework as cubismMatrix44 } from "../CubismSdkForWeb/Framework/math/cubismmatrix44";
3 | import { Live2DCubismFramework as cubismViewMatrix } from "../CubismSdkForWeb/Framework/math/cubismviewmatrix";
4 | import Live2dDelegate from "./LAppDelegate";
5 | import Live2dDefine from "./LAppDefine";
6 | import { TextureInfo } from "./LAppTextureManager";
7 | import Live2dSprite from "./LAppSprite";
8 | import Live2dModelManager from "./LAppModelManager";
9 |
10 | export default class Live2dView {
11 |
12 | private _deviceToScreen: cubismMatrix44.CubismMatrix44 = new cubismMatrix44.CubismMatrix44()
13 | private _viewMatrix: cubismViewMatrix.CubismViewMatrix = new cubismViewMatrix.CubismViewMatrix()
14 | private _app: Live2dDelegate = null
15 | private _back: Live2dSprite = null
16 | private _programId: WebGLProgram = null
17 |
18 | constructor(app: Live2dDelegate) {
19 | this._app = app
20 | }
21 |
22 | public initialize() {
23 | let width = this._app.width;
24 | let height = this._app.height;
25 | let ratio: number = height / width;
26 | let left: number = Live2dDefine.ViewLogicalLeft;
27 | let right: number = Live2dDefine.ViewLogicalRight;
28 | let bottom: number = -ratio;
29 | let top: number = ratio;
30 |
31 | this._viewMatrix.setScreenRect(left, right, bottom, top);
32 |
33 | let screenW: number = Math.abs(left - right);
34 | this._deviceToScreen.scaleRelative(screenW / width, -screenW / width);
35 | this._deviceToScreen.translateRelative(-width * 0.5, -height * 0.5);
36 |
37 | this._viewMatrix.setMaxScale(Live2dDefine.ViewMaxScale); // 限界拡張率
38 | this._viewMatrix.setMinScale(Live2dDefine.ViewMinScale); // 限界縮小率
39 | }
40 |
41 | public release(): void {
42 | this._viewMatrix = null;
43 | //this._touchManager = null;
44 | this._deviceToScreen = null;
45 |
46 | if (this._back) {
47 | this._back.release();
48 | this._back = null;
49 | }
50 |
51 | if (this._programId) {
52 | this._app.gl.deleteProgram(this._programId);
53 | this._programId = null;
54 | }
55 | }
56 |
57 | public render(): void {
58 | let gl = this._app.gl
59 |
60 | gl.useProgram(this._programId);
61 |
62 | if (this._back) {
63 | this._back.render(this._programId);
64 | }
65 |
66 | gl.flush();
67 |
68 | Live2dModelManager.getInstance().onUpdate()
69 | }
70 |
71 | public initializeSprite(): void {
72 | //背景图就不初始化了
73 | /*
74 | let width = this._app.width;
75 | let height = this._app.height;
76 | let textureManager = this._app.textureManager;
77 | const resourcesPath = Live2dDefine.ResourcesPath;
78 | let imageName: string = "";
79 | imageName = Live2dDefine.BackImageName;
80 | let initBackGroundTexture = (textureInfo: TextureInfo): void => {
81 | let x: number = width * 0.5;
82 | let y: number = height * 0.5;
83 |
84 | let fwidth = textureInfo.width * 2.0;
85 | let fheight = height * 0.95;
86 | this._back = new Live2dSprite(this._app, x, y, fwidth, fheight, textureInfo.id);
87 | };
88 | textureManager.createTextureFromPngFile(resourcesPath + imageName, false, initBackGroundTexture);
89 | if (this._programId == null) {
90 | this._programId = this._app.createShader();
91 | }
92 | */
93 | }
94 | }
--------------------------------------------------------------------------------
/assets/components/live2d/src/LAppView.ts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "aefcdd29-be83-47ba-9d9d-23afe6cc9575",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/migration.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "3e93d05c-d6ab-4812-899f-2ed7ddcf0e70",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js:
--------------------------------------------------------------------------------
1 | /*
2 | * This script is automatically generated by Cocos Creator and is only used for projects compatible with the v2.1.0 ~ 2.2.1 version.
3 | * You do not need to manually add this script in any other project.
4 | * If you don't use cc.Toggle in your project, you can delete this script directly.
5 | * If your project is hosted in VCS such as git, submit this script together.
6 | *
7 | * 此脚本由 Cocos Creator 自动生成,仅用于兼容 v2.1.0 ~ 2.2.1 版本的工程,
8 | * 你无需在任何其它项目中手动添加此脚本。
9 | * 如果你的项目中没用到 Toggle,可直接删除该脚本。
10 | * 如果你的项目有托管于 git 等版本库,请将此脚本一并上传。
11 | */
12 |
13 | if (cc.Toggle) {
14 | // Whether to trigger 'toggle' and 'checkEvents' events when modifying 'toggle.isChecked' in the code
15 | // 在代码中修改 'toggle.isChecked' 时是否触发 'toggle' 与 'checkEvents' 事件
16 | cc.Toggle._triggerEventInScript_isChecked = true;
17 | }
18 |
--------------------------------------------------------------------------------
/assets/migration/use_v2.1-2.2.1_cc.Toggle_event.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.8",
3 | "uuid": "e518f850-c15c-4e6f-8d1e-0b4d38cff77d",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "loadPluginInEditor": false,
8 | "subMetas": {}
9 | }
--------------------------------------------------------------------------------
/assets/resources.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "002349d7-d300-46ea-957c-90108d037246",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/frame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/frame.png
--------------------------------------------------------------------------------
/assets/resources/frame.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "9bcea5da-c2f3-40bc-9998-adb4e3e4871a",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 500,
11 | "height": 281,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "frame": {
15 | "ver": "1.0.4",
16 | "uuid": "42bc46d3-1169-4608-afba-fa09ed13a61f",
17 | "rawTextureUuid": "9bcea5da-c2f3-40bc-9998-adb4e3e4871a",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -0.5,
22 | "offsetY": 0,
23 | "trimX": 24,
24 | "trimY": 13,
25 | "width": 451,
26 | "height": 255,
27 | "rawWidth": 500,
28 | "rawHeight": 281,
29 | "borderTop": 110,
30 | "borderBottom": 111,
31 | "borderLeft": 129.5,
32 | "borderRight": 125.5,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "3635b51d-3e1d-4df3-8b1c-85f7f112b4c0",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "a1056b09-8bb0-4b7f-8ab0-3fee677113ce",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru.2048.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "cb41314d-2ea7-4520-94ed-86c1cc718b44",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru.2048/texture_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Haru/Haru.2048/texture_00.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru.2048/texture_00.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "ce453703-e2f8-458e-839a-70fac2e4c6d6",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_00": {
15 | "ver": "1.0.4",
16 | "uuid": "7b4309e1-d82d-4de0-8004-2903dec07b59",
17 | "rawTextureUuid": "ce453703-e2f8-458e-839a-70fac2e4c6d6",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": 6,
22 | "offsetY": 5,
23 | "trimX": 28,
24 | "trimY": 25,
25 | "width": 2004,
26 | "height": 1988,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru.2048/texture_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Haru/Haru.2048/texture_01.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru.2048/texture_01.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "c61c5247-06b3-4296-8b75-19943b9f7659",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_01": {
15 | "ver": "1.0.4",
16 | "uuid": "bc1adf52-3f00-4e3b-871c-5d26cfd9afad",
17 | "rawTextureUuid": "c61c5247-06b3-4296-8b75-19943b9f7659",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": 2,
22 | "offsetY": -0.5,
23 | "trimX": 27,
24 | "trimY": 19,
25 | "width": 1998,
26 | "height": 2011,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_moc3.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Haru/Haru_moc3.bin
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_moc3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "6b623f85-71fb-4a1d-9d5c-dba32b238bf3",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_model3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "FileReferences": {
4 | "Moc": "Haru.moc3",
5 | "Textures": [
6 | "Haru.2048/texture_00.png",
7 | "Haru.2048/texture_01.png"
8 | ],
9 | "Pose": "Haru.pose3.json",
10 | "Expressions": [
11 | {"Name":"f00","File":"expressions/F01.exp3.json"},
12 | {"Name":"f01","File":"expressions/F02.exp3.json"},
13 | {"Name":"f02","File":"expressions/F03.exp3.json"},
14 | {"Name":"f03","File":"expressions/F04.exp3.json"},
15 | {"Name":"f04","File":"expressions/F05.exp3.json"},
16 | {"Name":"f05","File":"expressions/F06.exp3.json"},
17 | {"Name":"f06","File":"expressions/F07.exp3.json"},
18 | {"Name":"f07","File":"expressions/F08.exp3.json"}
19 | ],
20 | "Motions": {
21 | "Idle": [
22 | {"File":"motions/haru_g_idle.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5},
23 | {"File":"motions/haru_g_m15.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5}
24 | ],
25 | "TapBody": [
26 | {"File":"motions/haru_g_m06.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5},
27 | {"File":"motions/haru_g_m09.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5},
28 | {"File":"motions/haru_g_m20.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5},
29 | {"File":"motions/haru_g_m26.motion3.json" ,"FadeInTime":0.5, "FadeOutTime":0.5}
30 | ]
31 | },
32 | "UserData": "Haru.userdata3.json"
33 | },
34 | "Groups": [
35 | {
36 | "Target": "Parameter",
37 | "Name": "LipSync",
38 | "Ids": [
39 | "ParamMouthOpenY"
40 | ]
41 | },
42 | {
43 | "Target": "Parameter",
44 | "Name": "EyeBlink",
45 | "Ids": [
46 | "ParamEyeLOpen",
47 | "ParamEyeROpen"
48 | ]
49 | }
50 | ],
51 | "HitAreas": [
52 | {"Name":"Head", "Id":"HitArea"},
53 | {"Name":"Body", "Id":"HitArea2"}
54 | ]
55 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_model3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e202926c-4ac3-45b6-8c3f-ab6caf2205bc",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_pose3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Pose",
3 | "Groups": [
4 | [
5 | {
6 | "Id": "Part01ArmLB001",
7 | "Link": []
8 | },
9 | {
10 | "Id": "Part01ArmRA001",
11 | "Link": []
12 | }
13 | ],
14 | [
15 | {
16 | "Id": "Part01ArmRB001",
17 | "Link": []
18 | },
19 | {
20 | "Id": "Part01ArmLA001",
21 | "Link": []
22 | }
23 | ]
24 | ]
25 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_pose3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e7f21aee-7825-4f7b-92dd-fd54f244f917",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_userdata3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "Meta": {
4 | "UserDataCount": 3,
5 | "TotalUserDataSize": 9
6 | },
7 | "UserData": [
8 | {
9 | "Target": "ArtMesh",
10 | "Id": "D_PSD_27",
11 | "Value": "tai"
12 | },
13 | {
14 | "Target": "ArtMesh",
15 | "Id": "D_PSD_25",
16 | "Value": "tai"
17 | },
18 | {
19 | "Target": "ArtMesh",
20 | "Id": "D_PSD_24",
21 | "Value": "tai"
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/Haru_userdata3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d6df9cb2-b12c-4368-a88a-5f9a6f76c483",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "94cd62f7-e62a-4aa5-a507-5520da696d16",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F01_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamMouthForm",
6 | "Value": 0.27,
7 | "Blend": "Add"
8 | }
9 | ]
10 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F01_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "75dcc703-7b5f-4367-9d4d-c85d2cc97f5e",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F02_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamBrowLY",
6 | "Value": -1,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamBrowRY",
11 | "Value": -1,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamBrowLForm",
16 | "Value": 1,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRForm",
21 | "Value": 1,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamMouthOpenY",
26 | "Value": 1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeForm",
31 | "Value": 0.54,
32 | "Blend": "Add"
33 | }
34 | ]
35 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F02_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "3375b925-2feb-46ef-b9f1-aa46cc0acc46",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F03_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamBrowLY",
6 | "Value": -1,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamBrowRY",
11 | "Value": -1,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamBrowLX",
16 | "Value": -1,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRX",
21 | "Value": -1,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamBrowRAngle",
26 | "Value": -1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamBrowLForm",
31 | "Value": -1,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowRForm",
36 | "Value": -1,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamMouthForm",
41 | "Value": -2,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamMouthOpenY",
46 | "Value": 1,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamEyeForm",
51 | "Value": -1,
52 | "Blend": "Add"
53 | }
54 | ]
55 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F03_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c4768ca1-25f9-4fc0-89b9-69172c867b7e",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F04_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0.8,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeROpen",
11 | "Value": 0.8,
12 | "Blend": "Multiply"
13 | },
14 | {
15 | "Id": "ParamBrowLY",
16 | "Value": -0.56,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRY",
21 | "Value": -0.56,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamBrowRX",
26 | "Value": -1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamBrowLAngle",
31 | "Value": 0.35,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowRAngle",
36 | "Value": 0.35,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowLForm",
41 | "Value": -0.74,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowRForm",
46 | "Value": -0.74,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamMouthForm",
51 | "Value": -1.76,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamEyeForm",
56 | "Value": 1,
57 | "Blend": "Add"
58 | }
59 | ]
60 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F04_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d44edc33-7ad3-49cf-8a7b-ece4027157b6",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F05_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 1,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeROpen",
16 | "Value": 0,
17 | "Blend": "Multiply"
18 | },
19 | {
20 | "Id": "ParamEyeRSmile",
21 | "Value": 1,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamBrowLY",
26 | "Value": 0.32,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamBrowRY",
31 | "Value": 0.32,
32 | "Blend": "Add"
33 | }
34 | ]
35 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F05_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "3a3f9a63-dd07-4fc2-aca8-b3322133a1a6",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F06_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 2,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeROpen",
11 | "Value": 2,
12 | "Blend": "Multiply"
13 | },
14 | {
15 | "Id": "ParamBrowLY",
16 | "Value": 1,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRY",
21 | "Value": 1,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamMouthForm",
26 | "Value": -1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeBallForm",
31 | "Value": -0.65,
32 | "Blend": "Add"
33 | }
34 | ]
35 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F06_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "52a0c493-6f96-460e-bbbb-9c07a634a9f7",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F07_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0.89,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeROpen",
11 | "Value": 0.89,
12 | "Blend": "Multiply"
13 | },
14 | {
15 | "Id": "ParamBrowLY",
16 | "Value": -0.56,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRY",
21 | "Value": -0.56,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamBrowLX",
26 | "Value": -1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamBrowRX",
31 | "Value": -1,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLAngle",
36 | "Value": 0.35,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRAngle",
41 | "Value": 0.35,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLForm",
46 | "Value": -0.74,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRForm",
51 | "Value": -0.74,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamMouthForm",
56 | "Value": -0.46,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamTere",
61 | "Value": 1,
62 | "Blend": "Add"
63 | }
64 | ]
65 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F07_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "397eb062-4889-4478-a460-6e1c98e0c42a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F08_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0.8,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeROpen",
11 | "Value": 0.8,
12 | "Blend": "Multiply"
13 | },
14 | {
15 | "Id": "ParamBrowLForm",
16 | "Value": -0.33,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamBrowRForm",
21 | "Value": -0.33,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamMouthForm",
26 | "Value": -1.76,
27 | "Blend": "Add"
28 | }
29 | ]
30 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/expressions/F08_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ee03ffc7-d2c4-4a0c-b746-c561285619c5",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "99899f28-c074-4b5d-b378-f5431bea78eb",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_idle_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "9cd40bfa-6328-4c03-8d78-8cc9e5ce1f39",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m01_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "83dc0014-450b-47a4-8b2b-c6935f778e68",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m02_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5d4a634b-7e64-45ca-a067-4cf0964141d7",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m03_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1e983bb8-9057-42ee-875d-9cfecf14d6ec",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m04_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b806d327-b33a-4e56-919c-f51ac7dec79d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m05_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "7a9372d9-9d90-4308-ac98-2c3d120f08a3",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m06_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0aa6544e-ea40-4e77-a76d-59a9d1bd6a2b",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m07_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "31a0b7cc-8cf8-46ff-a56b-d6737b5c4a82",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m08_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "bc0f0d2a-e336-4b34-9a39-bd40ce26f1bd",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m09_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1023ad30-3e98-4489-bf33-2e1f9673222c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m10_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "70b85f4d-f0e2-46c0-b4db-7b539a46c31a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m11_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0e77e1d7-d491-48bf-9fb8-b13d7e2dfd21",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m12_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "26fc7a87-f366-4c67-8e52-d9553aad7b29",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m13_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "874635bb-f266-401f-a346-436ffa0326fd",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m14_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ec9f1788-89a1-41fe-9a1d-205ad1944116",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m15_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "bbdb0860-cfa2-474c-8939-8f8a64a25704",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m16_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "fed404e2-1beb-4b28-8e37-883f04be8d8e",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m17_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "3d428ef2-c7dd-4a69-9096-71711381db42",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m18_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a33f7591-cce9-4efa-8753-7c2be6a747ab",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m19_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "52d7daad-4256-4a4d-b709-bd9f58056a51",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m20_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c4537c33-912a-4fe3-b43d-a653d6343ae1",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m21_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c7f59ca9-67b6-47e0-8b3f-8f0ed7b15180",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m22_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "cd5dd09e-0f1d-4b73-bda5-b1c895af9743",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m23_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "4cc54452-1161-44c4-a364-6d771c213f2a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m24_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "2c62a9d2-c596-40d3-b5f0-8bc7aa05b71c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m25_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "33f8358f-70c3-4cec-9585-ceff800fc5cb",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Haru/motions/haru_g_m26_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "8aef23d5-cae6-4dbb-ab8b-7783e185440f",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "2c4e6dc3-cffe-40e8-8d06-e654b277eb6f",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori.2048.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "141feab5-3358-431f-b35f-cf82ca7dddb0",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori.2048/texture_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Hiyori/Hiyori.2048/texture_00.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori.2048/texture_00.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "83dcc37f-c220-4689-9cac-4c5a3c4ce8a0",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_00": {
15 | "ver": "1.0.4",
16 | "uuid": "a06a88da-8ab0-47be-b94b-c3629f5473d0",
17 | "rawTextureUuid": "83dcc37f-c220-4689-9cac-4c5a3c4ce8a0",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -11.5,
22 | "offsetY": 11.5,
23 | "trimX": 13,
24 | "trimY": 20,
25 | "width": 1999,
26 | "height": 1985,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori.2048/texture_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Hiyori/Hiyori.2048/texture_01.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori.2048/texture_01.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "863e02a4-f0df-4018-9867-5a409e77d203",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_01": {
15 | "ver": "1.0.4",
16 | "uuid": "ea90e869-7208-42ac-9586-cc2ba353ccb6",
17 | "rawTextureUuid": "863e02a4-f0df-4018-9867-5a409e77d203",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -6.5,
22 | "offsetY": -2,
23 | "trimX": 11,
24 | "trimY": 19,
25 | "width": 2013,
26 | "height": 2014,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_moc3.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Hiyori/Hiyori_moc3.bin
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_moc3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b1e3b5d2-12df-4290-b090-5756b92fcac4",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_model3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "FileReferences": {
4 | "Moc": "Hiyori.moc3",
5 | "Textures": [
6 | "Hiyori.2048/texture_00.png",
7 | "Hiyori.2048/texture_01.png"
8 | ],
9 | "Physics": "Hiyori.physics3.json",
10 | "Pose": "Hiyori.pose3.json",
11 | "UserData": "Hiyori.userdata3.json",
12 | "Motions": {
13 | "Idle": [
14 | {
15 | "File": "motions/Hiyori_m01.motion3.json",
16 | "FadeInTime": 0.5,
17 | "FadeOutTime": 0.5
18 | },
19 | {
20 | "File": "motions/Hiyori_m02.motion3.json",
21 | "FadeInTime": 0.5,
22 | "FadeOutTime": 0.5
23 | },
24 | {
25 | "File": "motions/Hiyori_m03.motion3.json",
26 | "FadeInTime": 0.5,
27 | "FadeOutTime": 0.5
28 | },
29 | {
30 | "File": "motions/Hiyori_m05.motion3.json",
31 | "FadeInTime": 0.5,
32 | "FadeOutTime": 0.5
33 | },
34 | {
35 | "File": "motions/Hiyori_m06.motion3.json",
36 | "FadeInTime": 0.5,
37 | "FadeOutTime": 0.5
38 | },
39 | {
40 | "File": "motions/Hiyori_m07.motion3.json",
41 | "FadeInTime": 0.5,
42 | "FadeOutTime": 0.5
43 | },
44 | {
45 | "File": "motions/Hiyori_m08.motion3.json",
46 | "FadeInTime": 0.5,
47 | "FadeOutTime": 0.5
48 | },
49 | {
50 | "File": "motions/Hiyori_m09.motion3.json",
51 | "FadeInTime": 0.5,
52 | "FadeOutTime": 0.5
53 | },
54 | {
55 | "File": "motions/Hiyori_m10.motion3.json",
56 | "FadeInTime": 0.5,
57 | "FadeOutTime": 0.5
58 | }
59 | ],
60 | "TapBody": [
61 | {
62 | "File": "motions/Hiyori_m04.motion3.json",
63 | "FadeInTime": 0.5,
64 | "FadeOutTime": 0.5
65 | }
66 | ]
67 | }
68 | },
69 | "Groups": [
70 | {
71 | "Target": "Parameter",
72 | "Name": "LipSync",
73 | "Ids": [
74 | "ParamMouthOpenY"
75 | ]
76 | },
77 | {
78 | "Target": "Parameter",
79 | "Name": "EyeBlink",
80 | "Ids": [
81 | "ParamEyeLOpen",
82 | "ParamEyeROpen"
83 | ]
84 | }
85 | ],
86 | "HitAreas": [
87 | {
88 | "Id": "HitArea",
89 | "Name": "Body"
90 | }
91 | ]
92 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_model3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0e82f052-fbbe-42cd-a815-29cb5a92621c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_physics3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "9df60224-6949-4677-9184-d05d3ddfcd83",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_pose3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Pose",
3 | "FadeInTime": 0.5,
4 | "Groups": [
5 | [
6 | {
7 | "Id": "PartArmA",
8 | "Link": []
9 | },
10 | {
11 | "Id": "PartArmB",
12 | "Link": []
13 | }
14 | ]
15 | ]
16 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_pose3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a59586b0-df51-4935-929a-e36ee792770b",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_userdata3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "Meta": {
4 | "UserDataCount": 7,
5 | "TotalUserDataSize": 35
6 | },
7 | "UserData": [
8 | {
9 | "Target": "ArtMesh",
10 | "Id": "ArtMesh93",
11 | "Value": "ribon"
12 | },
13 | {
14 | "Target": "ArtMesh",
15 | "Id": "ArtMesh94",
16 | "Value": "ribon"
17 | },
18 | {
19 | "Target": "ArtMesh",
20 | "Id": "ArtMesh95",
21 | "Value": "ribon"
22 | },
23 | {
24 | "Target": "ArtMesh",
25 | "Id": "ArtMesh57",
26 | "Value": "ribon"
27 | },
28 | {
29 | "Target": "ArtMesh",
30 | "Id": "ArtMesh58",
31 | "Value": "ribon"
32 | },
33 | {
34 | "Target": "ArtMesh",
35 | "Id": "ArtMesh59",
36 | "Value": "ribon"
37 | },
38 | {
39 | "Target": "ArtMesh",
40 | "Id": "ArtMesh60",
41 | "Value": "ribon"
42 | }
43 | ]
44 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/Hiyori_userdata3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "26d7dfde-6949-41a0-b6fd-f4295c2a320a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "02c1caf4-92ee-4f68-af07-9047adc4f00c",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m01_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "923c8d14-ab96-4940-8e79-887835cde4e9",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m02_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "bb46d6a8-8843-4b0b-a7e9-3b54bd57135c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m03_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c2b1eedd-dbd3-4758-9c42-5d329517a8c9",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m04_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5bcfe75b-f017-484b-aa42-e32d172941b3",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m05_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "51901b0a-f873-43d8-a6ae-bfc0c53a081f",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m06_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "30e9ff14-dd74-44ed-84a8-fbd4b24cd3de",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m07_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "8023b3c0-c9e7-4557-8921-58a65fe86585",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m08_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "591df3dc-3787-4058-9b75-608068704720",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m09_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b84dd7d1-cf6e-4540-9824-8c2ff2781e01",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Hiyori/motions/Hiyori_m10_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "055095d8-a529-4c34-90cc-31053bb4da2d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "83ea0344-af17-48ef-9196-537809d7a392",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark.2048.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "8e88c0fe-6623-46aa-8b8a-35af3e8d20d4",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark.2048/texture_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Mark/Mark.2048/texture_00.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark.2048/texture_00.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "05090d84-8a96-4368-ad53-53c81ef3a274",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_00": {
15 | "ver": "1.0.4",
16 | "uuid": "d714b041-d506-444c-a6ca-4cd5431de1dd",
17 | "rawTextureUuid": "05090d84-8a96-4368-ad53-53c81ef3a274",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": 7.5,
22 | "offsetY": 9.5,
23 | "trimX": 44,
24 | "trimY": 29,
25 | "width": 1975,
26 | "height": 1971,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_moc3.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Mark/Mark_moc3.bin
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_moc3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "802677ae-47d6-4acc-ad55-7056d2f94683",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_model3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "FileReferences": {
4 | "Moc": "Mark.moc3",
5 | "Textures": [
6 | "Mark.2048/texture_00.png"
7 | ],
8 | "Physics": "Mark.physics3.json",
9 | "UserData": "Mark.userdata3.json",
10 | "Motions": {
11 | "Idle": [
12 | {
13 | "File": "motions/mark_m01.motion3.json",
14 | "FadeInTime": 0.5,
15 | "FadeOutTime": 0.5
16 | },
17 | {
18 | "File": "motions/mark_m02.motion3.json",
19 | "FadeInTime": 0.5,
20 | "FadeOutTime": 0.5
21 | },
22 | {
23 | "File": "motions/mark_m03.motion3.json",
24 | "FadeInTime": 0.5,
25 | "FadeOutTime": 0.5
26 | },
27 | {
28 | "File": "motions/mark_m04.motion3.json",
29 | "FadeInTime": 0.5,
30 | "FadeOutTime": 0.5
31 | },
32 | {
33 | "File": "motions/mark_m05.motion3.json",
34 | "FadeInTime": 0.5,
35 | "FadeOutTime": 0.5
36 | },
37 | {
38 | "File": "motions/mark_m06.motion3.json",
39 | "FadeInTime": 0.5,
40 | "FadeOutTime": 0.5
41 | }
42 | ]
43 | }
44 | },
45 | "Groups": [
46 | {
47 | "Target": "Parameter",
48 | "Name": "LipSync",
49 | "Ids": []
50 | },
51 | {
52 | "Target": "Parameter",
53 | "Name": "EyeBlink",
54 | "Ids": [
55 | "ParamEyeLOpen",
56 | "ParamEyeROpen"
57 | ]
58 | }
59 | ],
60 | "HitAreas": []
61 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_model3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "94e0ae12-99da-4ba6-93db-be3386c9406d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_physics3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "Meta": {
4 | "PhysicsSettingCount": 1,
5 | "TotalInputCount": 4,
6 | "TotalOutputCount": 3,
7 | "VertexCount": 2,
8 | "EffectiveForces": {
9 | "Gravity": {
10 | "X": 0,
11 | "Y": -1
12 | },
13 | "Wind": {
14 | "X": 0,
15 | "Y": 0
16 | }
17 | },
18 | "PhysicsDictionary": [
19 | {
20 | "Id": "PhysicsSetting1",
21 | "Name": "Hair"
22 | }
23 | ]
24 | },
25 | "PhysicsSettings": [
26 | {
27 | "Id": "PhysicsSetting1",
28 | "Input": [
29 | {
30 | "Source": {
31 | "Target": "Parameter",
32 | "Id": "ParamAngleX"
33 | },
34 | "Weight": 60,
35 | "Type": "X",
36 | "Reflect": false
37 | },
38 | {
39 | "Source": {
40 | "Target": "Parameter",
41 | "Id": "ParamAngleZ"
42 | },
43 | "Weight": 60,
44 | "Type": "Angle",
45 | "Reflect": false
46 | },
47 | {
48 | "Source": {
49 | "Target": "Parameter",
50 | "Id": "ParamBodyAngleX"
51 | },
52 | "Weight": 40,
53 | "Type": "X",
54 | "Reflect": false
55 | },
56 | {
57 | "Source": {
58 | "Target": "Parameter",
59 | "Id": "ParamBodyAngleZ"
60 | },
61 | "Weight": 40,
62 | "Type": "Angle",
63 | "Reflect": false
64 | }
65 | ],
66 | "Output": [
67 | {
68 | "Destination": {
69 | "Target": "Parameter",
70 | "Id": "ParamHairFront"
71 | },
72 | "VertexIndex": 1,
73 | "Scale": 1.397,
74 | "Weight": 100,
75 | "Type": "Angle",
76 | "Reflect": false
77 | },
78 | {
79 | "Destination": {
80 | "Target": "Parameter",
81 | "Id": "ParamHairSide"
82 | },
83 | "VertexIndex": 1,
84 | "Scale": 1.397,
85 | "Weight": 100,
86 | "Type": "Angle",
87 | "Reflect": false
88 | },
89 | {
90 | "Destination": {
91 | "Target": "Parameter",
92 | "Id": "ParamHairBack"
93 | },
94 | "VertexIndex": 1,
95 | "Scale": 1.397,
96 | "Weight": 100,
97 | "Type": "Angle",
98 | "Reflect": false
99 | }
100 | ],
101 | "Vertices": [
102 | {
103 | "Position": {
104 | "X": 0,
105 | "Y": 0
106 | },
107 | "Mobility": 1,
108 | "Delay": 1,
109 | "Acceleration": 1,
110 | "Radius": 0
111 | },
112 | {
113 | "Position": {
114 | "X": 0,
115 | "Y": 15
116 | },
117 | "Mobility": 0.95,
118 | "Delay": 0.8,
119 | "Acceleration": 1.5,
120 | "Radius": 15
121 | }
122 | ],
123 | "Normalization": {
124 | "Position": {
125 | "Minimum": -10,
126 | "Default": 0,
127 | "Maximum": 10
128 | },
129 | "Angle": {
130 | "Minimum": -10,
131 | "Default": 0,
132 | "Maximum": 10
133 | }
134 | }
135 | }
136 | ]
137 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_physics3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "cd1601e8-9710-4740-ae66-4f3490e25a7a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_userdata3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "Meta": {
4 | "UserDataCount": 5,
5 | "TotalUserDataSize": 20
6 | },
7 | "UserData": [
8 | {
9 | "Target": "ArtMesh",
10 | "Id": "Hair2",
11 | "Value": "hair"
12 | },
13 | {
14 | "Target": "ArtMesh",
15 | "Id": "Hair4",
16 | "Value": "hair"
17 | },
18 | {
19 | "Target": "ArtMesh",
20 | "Id": "Hair5",
21 | "Value": "hair"
22 | },
23 | {
24 | "Target": "ArtMesh",
25 | "Id": "Hair3",
26 | "Value": "hair"
27 | },
28 | {
29 | "Target": "ArtMesh",
30 | "Id": "Hair1",
31 | "Value": "hair"
32 | }
33 | ]
34 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/Mark_userdata3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "f1941914-e8d7-4451-b68e-cc73da61bf23",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "222c59bc-ba3e-4d3c-b764-a912242d1402",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m01_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "fd0adccb-c825-496b-b9ee-fccdab7858f0",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m02_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e61aa785-6745-4a82-8ed4-96e0c38d77ff",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m03_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "af5fae74-a7c2-45f0-b649-7e28923f03d8",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m04_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0695a9bf-e08d-4f39-86ca-ad8f461d8856",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m05_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "8debde1a-1cad-4f71-be18-c35e9c243291",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Mark/motions/mark_m06_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d8cbfe26-a73f-41c0-833d-9d66b3350697",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "ab018b30-5c12-47a8-90bf-62a15286fe71",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori.2048.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "7647c734-c652-4d16-a555-30c7acb28168",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori.2048/texture_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Natori/Natori.2048/texture_00.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori.2048/texture_00.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "997c6618-0306-49d4-82ee-6b5ed60dfa78",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_00": {
15 | "ver": "1.0.4",
16 | "uuid": "3958bbd4-fdde-4a15-b4e4-58b3caeab5ff",
17 | "rawTextureUuid": "997c6618-0306-49d4-82ee-6b5ed60dfa78",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -4.5,
22 | "offsetY": 19,
23 | "trimX": 9,
24 | "trimY": 10,
25 | "width": 2021,
26 | "height": 1990,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_moc3.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Natori/Natori_moc3.bin
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_moc3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "bc333564-0dea-4cd9-b1ba-626bc8521e87",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_model3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "FileReferences": {
4 | "Moc": "Natori.moc3",
5 | "Textures": [
6 | "Natori.2048/texture_00.png"
7 | ],
8 | "Physics": "Natori.physics3.json",
9 | "Pose": "Natori.pose3.json",
10 | "Expressions": [
11 | {
12 | "Name": "exp_00.exp3.json",
13 | "File": "exp/exp_00.exp3.json"
14 | },
15 | {
16 | "Name": "exp_01.exp3.json",
17 | "File": "exp/exp_01.exp3.json"
18 | },
19 | {
20 | "Name": "exp_02.exp3.json",
21 | "File": "exp/exp_02.exp3.json"
22 | },
23 | {
24 | "Name": "exp_03.exp3.json",
25 | "File": "exp/exp_03.exp3.json"
26 | },
27 | {
28 | "Name": "exp_04.exp3.json",
29 | "File": "exp/exp_04.exp3.json"
30 | },
31 | {
32 | "Name": "exp_05.exp3.json",
33 | "File": "exp/exp_05.exp3.json"
34 | },
35 | {
36 | "Name": "exp_06.exp3.json",
37 | "File": "exp/exp_06.exp3.json"
38 | },
39 | {
40 | "Name": "exp_07.exp3.json",
41 | "File": "exp/exp_07.exp3.json"
42 | },
43 | {
44 | "Name": "exp_08.exp3.json",
45 | "File": "exp/exp_08.exp3.json"
46 | },
47 | {
48 | "Name": "exp_09.exp3.json",
49 | "File": "exp/exp_09.exp3.json"
50 | },
51 | {
52 | "Name": "exp_10.exp3.json",
53 | "File": "exp/exp_10.exp3.json"
54 | }
55 | ],
56 | "Motions": {
57 | "TapBody": [
58 | {
59 | "File": "motions/mtn_01.motion3.json"
60 | },
61 | {
62 | "File": "motions/mtn_02.motion3.json"
63 | },
64 | {
65 | "File": "motions/mtn_03.motion3.json"
66 | },
67 | {
68 | "File": "motions/mtn_04.motion3.json"
69 | },
70 | {
71 | "File": "motions/mtn_05.motion3.json"
72 | },
73 | {
74 | "File": "motions/mtn_06.motion3.json"
75 | },
76 | {
77 | "File": "motions/mtn_07.motion3.json"
78 | },
79 | {
80 | "File": "motions/mtn_08.motion3.json"
81 | }
82 | ],
83 | "Idle": [
84 | {
85 | "File": "motions/mtn_00.motion3.json"
86 | }
87 | ]
88 | }
89 | },
90 | "Groups": [
91 | {
92 | "Target": "Parameter",
93 | "Name": "EyeBlink",
94 | "Ids": [
95 | "ParamEyeLOpen",
96 | "ParamEyeROpen"
97 | ]
98 | },
99 | {
100 | "Target": "Parameter",
101 | "Name": "LipSync",
102 | "Ids": [
103 | "ParamMouthOpenY"
104 | ]
105 | }
106 | ],
107 | "HitAreas": [
108 | {
109 | "Id": "HitAreaHead",
110 | "Name": "Head"
111 | },
112 | {
113 | "Id": "HitAreaBody",
114 | "Name": "Body"
115 | }
116 | ]
117 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_model3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "144f8439-bc57-4ef3-a369-8ffca18a513a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_physics3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0c32cd63-82a8-4bfa-8a7b-8349399f254d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_pose3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Pose",
3 | "FadeInTime": 0.2,
4 | "Groups": [
5 | [
6 | {
7 | "Id": "PartArmAL",
8 | "Link": []
9 | },
10 | {
11 | "Id": "PartArmCL",
12 | "Link": []
13 | },
14 | {
15 | "Id": "PartArmDL",
16 | "Link": []
17 | }
18 | ],
19 | [
20 | {
21 | "Id": "PartArmAR",
22 | "Link": []
23 | },
24 | {
25 | "Id": "PartArmBR",
26 | "Link": []
27 | },
28 | {
29 | "Id": "PartArmER",
30 | "Link": []
31 | }
32 | ],
33 | [
34 | {
35 | "Id": "PartWatchA",
36 | "Link": []
37 | },
38 | {
39 | "Id": "PartWatchB",
40 | "Link": []
41 | }
42 | ]
43 | ]
44 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/Natori_pose3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a8f5c2dd-5a85-4b6f-8253-d97bab43cdaa",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "8b39a2fa-826f-4cc4-a58c-9ea2df8be759",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_00_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 0,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": 0,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_00_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ea6cc566-09ed-4623-8e46-1ec44fe61baf",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_01_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 1,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Multiply"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 1,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 1,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": 0,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_01_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "f4f80a00-c78f-463f-bed9-97e5fa09197c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_02_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 3,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 3,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": -0.1,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": -0.1,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 0,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 1,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 1,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": 1,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 1,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_02_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c5be967f-9ed7-418f-8b76-187271d429a2",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_03_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 1,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 1,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0.1,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0.1,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0.1,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0.1,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 0,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 1,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 1,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": 1,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 1,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_03_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5c358ef2-3e1d-4d9a-8acf-2820eb006ac7",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_04_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": -2,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": -2,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0.3,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0.3,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": -0.4,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": -0.4,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": -1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": -1,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -2,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_04_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d9ad72ef-1aff-404c-9485-8f2a3e68ed3d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_05_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": -1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": -1,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -2,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 1,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_05_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1056da9c-2f70-4565-bef6-09f24b92a1c7",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_06_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": -2,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": -2,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": -1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": -1,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -1,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_06_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c64a101f-4b0f-4591-980b-2be7bc7e2281",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_07_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Add"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Add"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": -1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": -1,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -2,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 1,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 1,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_07_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a767c80a-3091-48a1-a29b-3fc76971a0aa",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_08_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 1.3,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 1.3,
22 | "Blend": "Multiply"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0.2,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0.2,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": -0.1,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": -0.1,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0.1,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0.1,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 0,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -3,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 1,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": -1,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_08_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e52b4741-3d9c-4775-a9aa-81c770c64083",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_09_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 1.2,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 1.2,
22 | "Blend": "Multiply"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0.2,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0.2,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": -0.1,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": -0.1,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0.1,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0.1,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 0,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 0,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -3,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 0,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_09_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "94c61ca5-dd74-4d1f-b934-66e24bcd1c1f",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_10_exp3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Type": "Live2D Expression",
3 | "Parameters": [
4 | {
5 | "Id": "ParamEyeLOpen",
6 | "Value": 0,
7 | "Blend": "Multiply"
8 | },
9 | {
10 | "Id": "ParamEyeLSmile",
11 | "Value": 0,
12 | "Blend": "Add"
13 | },
14 | {
15 | "Id": "ParamEyeLForm",
16 | "Value": 0,
17 | "Blend": "Add"
18 | },
19 | {
20 | "Id": "ParamEyeROpen",
21 | "Value": 0,
22 | "Blend": "Multiply"
23 | },
24 | {
25 | "Id": "ParamEyeRSmile",
26 | "Value": 0,
27 | "Blend": "Add"
28 | },
29 | {
30 | "Id": "ParamEyeRForm",
31 | "Value": 0,
32 | "Blend": "Add"
33 | },
34 | {
35 | "Id": "ParamBrowLY",
36 | "Value": 0,
37 | "Blend": "Add"
38 | },
39 | {
40 | "Id": "ParamBrowRY",
41 | "Value": 0,
42 | "Blend": "Add"
43 | },
44 | {
45 | "Id": "ParamBrowLX",
46 | "Value": 0,
47 | "Blend": "Add"
48 | },
49 | {
50 | "Id": "ParamBrowRX",
51 | "Value": 0,
52 | "Blend": "Add"
53 | },
54 | {
55 | "Id": "ParamBrowLAngle",
56 | "Value": 0,
57 | "Blend": "Add"
58 | },
59 | {
60 | "Id": "ParamBrowRAngle",
61 | "Value": 0,
62 | "Blend": "Add"
63 | },
64 | {
65 | "Id": "ParamBrowLForm",
66 | "Value": 1,
67 | "Blend": "Add"
68 | },
69 | {
70 | "Id": "ParamBrowLForm2",
71 | "Value": 0,
72 | "Blend": "Add"
73 | },
74 | {
75 | "Id": "ParamBrowRForm",
76 | "Value": 1,
77 | "Blend": "Add"
78 | },
79 | {
80 | "Id": "ParamBrowRForm2",
81 | "Value": 0,
82 | "Blend": "Add"
83 | },
84 | {
85 | "Id": "ParamMouthForm",
86 | "Value": -3,
87 | "Blend": "Add"
88 | },
89 | {
90 | "Id": "ParamMouthOpenY",
91 | "Value": 0,
92 | "Blend": "Add"
93 | },
94 | {
95 | "Id": "ParamMouthForm2",
96 | "Value": 1,
97 | "Blend": "Add"
98 | },
99 | {
100 | "Id": "ParamTeethOn",
101 | "Value": 0,
102 | "Blend": "Add"
103 | },
104 | {
105 | "Id": "ParamCheek",
106 | "Value": 0,
107 | "Blend": "Add"
108 | },
109 | {
110 | "Id": "ParamGlassUD",
111 | "Value": 0,
112 | "Blend": "Add"
113 | },
114 | {
115 | "Id": "ParamGrassWhite",
116 | "Value": 0,
117 | "Blend": "Add"
118 | },
119 | {
120 | "Id": "ParamGrassHighlight",
121 | "Value": 0,
122 | "Blend": "Add"
123 | },
124 | {
125 | "Id": "ParamGrassHighlightMove",
126 | "Value": 0,
127 | "Blend": "Add"
128 | },
129 | {
130 | "Id": "ParamEyeBallForm",
131 | "Value": 0,
132 | "Blend": "Add"
133 | }
134 | ]
135 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/exp/exp_10_exp3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ef848706-cfd6-4121-8cd7-09ab08edcead",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "2cfeaef4-3e72-46f7-b7e1-5c09141b6074",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_00_motion3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "Meta": {
4 | "Duration": 3.967,
5 | "Fps": 30.0,
6 | "Loop": true,
7 | "AreBeziersRestricted": true,
8 | "CurveCount": 1,
9 | "TotalSegmentCount": 4,
10 | "TotalPointCount": 13,
11 | "UserDataCount": 0,
12 | "TotalUserDataSize": 0
13 | },
14 | "Curves": [
15 | {
16 | "Target": "Parameter",
17 | "Id": "ParamBreath",
18 | "Segments": [
19 | 0,
20 | 0,
21 | 1,
22 | 0.089,
23 | 0,
24 | 0.178,
25 | 0,
26 | 0.267,
27 | 0,
28 | 1,
29 | 0.756,
30 | 0,
31 | 1.244,
32 | 1,
33 | 1.733,
34 | 1,
35 | 1,
36 | 1.844,
37 | 1,
38 | 1.956,
39 | 1,
40 | 2.067,
41 | 1,
42 | 1,
43 | 2.7,
44 | 1,
45 | 3.333,
46 | 0.034,
47 | 3.967,
48 | 0.001
49 | ]
50 | }
51 | ]
52 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_00_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "09dd898d-5df8-45c5-bd65-2abc5f378baf",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_01_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d85d02dd-dd0e-420e-9162-583b4e8ebf85",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_02_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ff72f412-ff10-445c-b9ed-9a5aef7bd67c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_03_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "4a71f3c7-ca73-4292-b68f-fed189bf5596",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_04_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "ca328f69-59d5-433e-a605-c00d359657e5",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_05_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "3b2cc42c-77e3-4392-97f9-c8106cd01729",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_06_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "2094e7a0-635e-48e6-a2d0-8788e2040385",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_07_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "11eb5b19-c779-4ceb-acc2-465cb37734a5",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Natori/motions/mtn_08_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c92160aa-7f5a-447c-a38b-aa2812ce6f94",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "f12dc5cd-25f1-48b6-9fba-9b89c67a69bd",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice.2048.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "a4403807-56f8-4ad8-8826-fffb48183d31",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice.2048/texture_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Rice/Rice.2048/texture_00.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice.2048/texture_00.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "c7667129-1549-4638-a030-f48820f84ac7",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_00": {
15 | "ver": "1.0.4",
16 | "uuid": "01595ade-72d4-4fed-9992-b5aa9edce6ea",
17 | "rawTextureUuid": "c7667129-1549-4638-a030-f48820f84ac7",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -1.5,
22 | "offsetY": -2.5,
23 | "trimX": 16,
24 | "trimY": 14,
25 | "width": 2013,
26 | "height": 2025,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice.2048/texture_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Rice/Rice.2048/texture_01.png
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice.2048/texture_01.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "36df1a51-4058-486e-9248-cc79dd67e752",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 2048,
11 | "height": 2048,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "texture_01": {
15 | "ver": "1.0.4",
16 | "uuid": "66b9317d-0124-4cbe-a8da-55031a5171ab",
17 | "rawTextureUuid": "36df1a51-4058-486e-9248-cc79dd67e752",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": 3,
22 | "offsetY": 1,
23 | "trimX": 29,
24 | "trimY": 27,
25 | "width": 1996,
26 | "height": 1992,
27 | "rawWidth": 2048,
28 | "rawHeight": 2048,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_cdi3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "526eb458-e16d-42b1-aa1d-075723c847d0",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_moc3.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/Rice/Rice_moc3.bin
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_moc3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b97eee5e-de8c-4dbb-8375-b571810c9ccb",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_model3.bin:
--------------------------------------------------------------------------------
1 | {
2 | "Version": 3,
3 | "FileReferences": {
4 | "Moc": "Rice.moc3",
5 | "Textures": [
6 | "Rice.2048/texture_00.png",
7 | "Rice.2048/texture_01.png"
8 | ],
9 | "Physics": "Rice.physics3.json",
10 | "DisplayInfo": "Rice.cdi3.json",
11 | "Motions": {
12 | "Idle": [
13 | {
14 | "File": "motions/mtn_00.motion3.json"
15 | }
16 | ],
17 | "TapBody": [
18 | {
19 | "File": "motions/mtn_01.motion3.json"
20 | },
21 | {
22 | "File": "motions/mtn_02.motion3.json"
23 | },
24 | {
25 | "File": "motions/mtn_03.motion3.json"
26 | }
27 | ]
28 | }
29 | },
30 | "Groups": [
31 | {
32 | "Target": "Parameter",
33 | "Name": "EyeBlink",
34 | "Ids": [
35 | "ParamEyeLOpen",
36 | "ParamEyeROpen"
37 | ]
38 | },
39 | {
40 | "Target": "Parameter",
41 | "Name": "LipSync",
42 | "Ids": []
43 | }
44 | ],
45 | "HitAreas": [
46 | {
47 | "Id": "HitAreaBody",
48 | "Name": "Body"
49 | }
50 | ]
51 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_model3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "15bc9622-3c7a-4269-a433-a82390708c15",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/Rice_physics3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e47b4629-4026-495c-b9d0-a65d31943d3a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/motions.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "5c4bd980-8610-48c3-b7e9-07f2d2a632e6",
4 | "isSubpackage": false,
5 | "subpackageName": "",
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/motions/mtn_00_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "eea290a3-3aa1-4bab-8db7-0b298dd82c8c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/motions/mtn_01_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "15142009-9428-4439-80bf-1a966fcd58d4",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/motions/mtn_02_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "40b6283e-08b2-4149-800d-827153a82d62",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/Rice/motions/mtn_03_motion3.bin.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "4790679d-47b2-4077-877c-bbdbd760c964",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/back_class_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/back_class_normal.png
--------------------------------------------------------------------------------
/assets/resources/live2d/back_class_normal.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "a08d446d-28d8-4576-84eb-f41d06fe9aad",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 512,
11 | "height": 512,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "back_class_normal": {
15 | "ver": "1.0.4",
16 | "uuid": "e17bd60b-9da1-427b-b4e9-d70e29ea3176",
17 | "rawTextureUuid": "a08d446d-28d8-4576-84eb-f41d06fe9aad",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": 255.5,
22 | "offsetY": -255.5,
23 | "trimX": 511,
24 | "trimY": 511,
25 | "width": 1,
26 | "height": 1,
27 | "rawWidth": 512,
28 | "rawHeight": 512,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/live2d/icon_gear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/assets/resources/live2d/icon_gear.png
--------------------------------------------------------------------------------
/assets/resources/live2d/icon_gear.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "2.3.4",
3 | "uuid": "72a1d260-cfa3-4e65-8d17-5d26eda069e3",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "premultiplyAlpha": false,
8 | "genMipmaps": false,
9 | "packable": true,
10 | "width": 64,
11 | "height": 64,
12 | "platformSettings": {},
13 | "subMetas": {
14 | "icon_gear": {
15 | "ver": "1.0.4",
16 | "uuid": "1bc32c8b-f271-4178-84a8-51c9b5e50258",
17 | "rawTextureUuid": "72a1d260-cfa3-4e65-8d17-5d26eda069e3",
18 | "trimType": "auto",
19 | "trimThreshold": 1,
20 | "rotated": false,
21 | "offsetX": -3.5,
22 | "offsetY": 0.5,
23 | "trimX": 0,
24 | "trimY": 8,
25 | "width": 57,
26 | "height": 47,
27 | "rawWidth": 64,
28 | "rawHeight": 64,
29 | "borderTop": 0,
30 | "borderBottom": 0,
31 | "borderLeft": 0,
32 | "borderRight": 0,
33 | "subMetas": {}
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/assets/resources/rename_live2d.py:
--------------------------------------------------------------------------------
1 | #coding = utf-8
2 |
3 | import os
4 | import re
5 |
6 |
7 | def walkFile(file, func):
8 | for root, dirs, files in os.walk(file):
9 | for f in files:
10 | func(os.path.join(root, f))
11 | for d in dirs:
12 | walkFile(os.path.join(root, d), func)
13 |
14 |
15 | def renameJson(fileName, ext):
16 | return re.sub("."+ext+".json$", "_"+ext+".bin", fileName, 0)
17 |
18 |
19 | def renameBin(fileName, ext):
20 | return re.sub("."+ext+"$", "_"+ext+".bin", fileName, 0)
21 |
22 |
23 | def rename(fileName):
24 | newName = fileName
25 | newName = renameJson(newName, "exp3")
26 | newName = renameJson(newName, "model3")
27 | newName = renameJson(newName, "pose3")
28 | newName = renameJson(newName, "userdata3")
29 | newName = renameJson(newName, "motion3")
30 | newName = renameJson(newName, "physics3")
31 | newName = renameJson(newName, "cdi3")
32 | newName = renameBin(newName, "moc3")
33 | newName = renameBin(newName, "mtn")
34 | os.rename(fileName, newName)
35 |
36 |
37 | def main():
38 | walkFile("./live2d", rename)
39 |
40 |
41 | if __name__ == '__main__':
42 | main()
43 | os.system("pause")
44 |
--------------------------------------------------------------------------------
/assets/resources/rename_live2d.py.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "8e620272-fc60-4e5d-9d61-a67d5569c55c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/creator.ext.d.ts:
--------------------------------------------------------------------------------
1 | declare namespace cc {
2 | declare let gfx: any;
3 | export class RenderData {
4 | vDatas: Float32Array[]
5 | uintVDatas: Uint32Array[]
6 | iDatas: Uint16Array[]
7 |
8 | init(assembler: Assembler)
9 | createQuadData(index: number, verticesFloats: number, indicesCount: number)
10 | }
11 | export class Assembler {
12 | init(comp: RenderComponent): void;
13 | updateRenderData(comp: RenderComponent): void;
14 | }
15 |
16 | export class Assembler2D extends Assembler {
17 | _local: Array;
18 | _renderData: RenderData;
19 | uvOffset: number;
20 | floatsPerVert: number;
21 | updateWorldVerts(comp: RenderComponent): void
22 | }
23 |
24 | export class Effect {
25 | getProperty(name: string): any
26 | _properties: any
27 | }
28 |
29 | export class BufferAsset extends Asset {
30 | _buffer: ArrayBuffer
31 | }
32 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////
33 | // 材质资源类
34 | export class Material extends Asset {
35 | static getInstantiatedMaterial(mat: Material, renderComponent: RenderComponent): Material;
36 | setProperty(name: string, property: any, force: boolean);
37 | getProperty(name: string): any
38 | get effect(): Effect
39 |
40 | }
41 | // 所有支持渲染的组件的基类
42 | export class RenderComponent extends Component {
43 | /** !#en The materials used by this render component.
44 | !#zh 渲染组件使用的材质。 */
45 | sharedMaterials: Material[];
46 | /**
47 | !#en Get the material by index.
48 | !#zh 根据指定索引获取材质
49 | @param index index
50 | */
51 | getMaterial(index: number): Material;
52 | /**
53 | !#en Set the material by index.
54 | !#zh 根据指定索引设置材质
55 | @param index index
56 | @param material material
57 | */
58 | setMaterial(index: number, material: Material): void;
59 |
60 | _assembler: Assembler;
61 | setVertsDirty();
62 | disableRender();
63 | markForRender(enable: boolean);
64 | }
65 | // 提供基础渲染接口的渲染器对象,渲染层的基础接口将逐步开放给用户
66 | export class renderer {
67 | /** !#en The render engine is available only after cc.game.EVENT_ENGINE_INITED event.
68 | Normally it will be inited as the webgl render engine, but in wechat open context domain,
69 | it will be inited as the canvas render engine. Canvas render engine is no longer available for other use case since v2.0.
70 | !#zh 基础渲染引擎对象只在 cc.game.EVENT_ENGINE_INITED 事件触发后才可获取。
71 | 大多数情况下,它都会是 WebGL 渲染引擎实例,但是在微信开放数据域当中,它会是 Canvas 渲染引擎实例。请注意,从 2.0 开始,我们在其他平台和环境下都废弃了 Canvas 渲染器。 */
72 | static renderEngine: any;
73 | /** !#en The total draw call count in last rendered frame.
74 | !#zh 上一次渲染帧所提交的渲染批次总数。 */
75 | static drawCalls: number;
76 |
77 | static _handle: any;
78 | }
79 | }
--------------------------------------------------------------------------------
/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es6",
4 | "module": "commonjs",
5 | "experimentalDecorators": true
6 | },
7 | "exclude": [
8 | "node_modules",
9 | ".vscode",
10 | "library",
11 | "local",
12 | "settings",
13 | "temp"
14 | ]
15 | }
--------------------------------------------------------------------------------
/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "engine": "cocos-creator-js",
3 | "packages": "packages",
4 | "version": "2.3.2",
5 | "id": "8e4f3c43-5b21-4995-8c74-c1395b6f7b91"
6 | }
--------------------------------------------------------------------------------
/res/copy_live2d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/res/copy_live2d.png
--------------------------------------------------------------------------------
/res/setcomponent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/res/setcomponent.png
--------------------------------------------------------------------------------
/res/show.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fylz1125/Live2dForCocosCreator/ee5daaec74258dcc8d588c18b4065359dcf7ea85/res/show.gif
--------------------------------------------------------------------------------
/settings/builder.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "Live2dForCocosCreator",
3 | "packageName": "",
4 | "startScene": "c20f3efb-65dc-4bc9-be99-fd014ee95132",
5 | "excludeScenes": [],
6 | "includeSDKBox": false,
7 | "orientation": {
8 | "landscapeLeft": true,
9 | "landscapeRight": true,
10 | "portrait": false,
11 | "upsideDown": false
12 | },
13 | "webOrientation": "portrait",
14 | "inlineSpriteFrames": true,
15 | "inlineSpriteFrames_native": true,
16 | "mergeStartScene": false,
17 | "optimizeHotUpdate": false,
18 | "md5Cache": false,
19 | "encryptJs": true,
20 | "xxteaKey": "2267a43e-e6cd-41",
21 | "zipCompressJs": true,
22 | "fb-instant-games": {},
23 | "android": {
24 | "packageName": ""
25 | },
26 | "ios": {
27 | "packageName": ""
28 | },
29 | "mac": {
30 | "packageName": ""
31 | },
32 | "win32": {},
33 | "android-instant": {
34 | "REMOTE_SERVER_ROOT": "",
35 | "host": "",
36 | "packageName": "",
37 | "pathPattern": "",
38 | "recordPath": "",
39 | "scheme": "https",
40 | "skipRecord": false
41 | },
42 | "appBundle": false
43 | }
44 |
--------------------------------------------------------------------------------
/settings/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "group-list": [
3 | "default",
4 | "RT"
5 | ],
6 | "collision-matrix": [
7 | [
8 | true
9 | ],
10 | [
11 | false,
12 | false
13 | ]
14 | ],
15 | "excluded-modules": [
16 | "3D Physics/cannon.js",
17 | "3D Physics/Builtin",
18 | "3D Particle"
19 | ],
20 | "last-module-event-record-time": 1575460744069,
21 | "design-resolution-width": 750,
22 | "design-resolution-height": 1334,
23 | "fit-width": false,
24 | "fit-height": true,
25 | "use-project-simulator-setting": false,
26 | "simulator-orientation": false,
27 | "use-customize-simulator": true,
28 | "simulator-resolution": {
29 | "height": 640,
30 | "width": 960
31 | },
32 | "assets-sort-type": "name",
33 | "facebook": {
34 | "appID": "",
35 | "audience": {
36 | "enable": false
37 | },
38 | "enable": false,
39 | "live": {
40 | "enable": false
41 | }
42 | },
43 | "start-scene": "current"
44 | }
45 |
--------------------------------------------------------------------------------
/settings/services.json:
--------------------------------------------------------------------------------
1 | {
2 | "game": {
3 | "name": "未知游戏",
4 | "appid": "UNKNOW"
5 | }
6 | }
--------------------------------------------------------------------------------