helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute and join our Discord server.

Changes

Jump to navigation Jump to search

MediaWiki:Gadget-artTab.js

224 bytes added, 02:19, 14 January 2018
Added checks for physics and pose
json = data;
json.model = curl(modelId + "_live2d_model.moc" + ".skel");
if (json.hasOwnProperty('physics') { json.physics = curl(modelId + "_live2d_physics" + ".txt"); }
if (json.hasOwnProperty('pose') { json.pose = curl(modelId + "_live2d_pose" + ".txt"); }
for (var idx=0; idx < json.textures.length; idx++) {
json.textures[idx] = curl(modelId + "_live2d_" + json.textures[idx]);

Navigation menu