My own personal website.
Live2D成功加载模型的必要参数是
03-19-2020 / 1 min read
{
	"version":"Sample 1.0.0",
	"model":"arisa_event092.moc",
	"textures":[
		"arisa_event092/texture_00.png"
	],
	"hit_areas":
	[
		{"name":"head", "id":"D_REF.HEAD"},
		{"name":"body", "id":"D_REF.BODY"}
	],
	"motions":{
		"idle":[
			{"file":"motions/idle_00.mtn" ,"fade_in":2000, "fade_out":2000},
			{"file":"motions/idle_01.mtn" ,"fade_in":2000, "fade_out":2000},
			{"file":"motions/idle_02.mtn" ,"fade_in":2000, "fade_out":2000}
		]
	},
	"project_settings":"arisa_event092.settings.json",
	"name":"arisa_event092"
}

其中, nameversionmodeltexturesmotions为必要参数,必须指定有效值,否则无法正常加载Live2d模型(可能project_settings也是必要参数?)。