Skip to content

Commit

Permalink
add moc3 models
Browse files Browse the repository at this point in the history
  • Loading branch information
jianchengwang committed Dec 19, 2020
1 parent 3a7e0e3 commit 2046eab
Show file tree
Hide file tree
Showing 360 changed files with 1,126,212 additions and 32 deletions.
15 changes: 8 additions & 7 deletions assets/css/live2dv3.init.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}

#l2d {
bottom: 0px;
left: 0;
bottom: 0px;
left: 0;
line-height: 0;
position: fixed;
transform: translateY(3px);
Expand All @@ -45,11 +45,12 @@
#L2dCanvas {
cursor: grab;
position: fixed;
bottom: 0px;
right: 0px;
right: -120px;
bottom: 5px;
z-index: 1;
bottom: 0px;
right: 0px;
right: -120px;
bottom: 5px;
z-index: 1;
pointer-events: none; /* 防止遮住鼠标点击页面其他内容 */
}

#L2dCanvas:active {
Expand Down
Binary file added assets/image/bg/bg_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_25.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_27.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_28.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_33.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_34.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/bg/bg_35.png
Binary file added assets/image/bg/bg_36.png
Binary file added assets/image/bg/bg_37.png
Binary file added assets/image/bg/bg_38.png
Binary file added assets/image/bg/bg_39.png
Binary file added assets/image/bg/bg_40.png
Binary file added assets/image/bg/bg_41.png
Binary file added assets/image/bg/bg_42.png
Binary file added assets/image/bg/bg_43.png
Binary file added assets/image/bg/bg_44.png
Binary file added assets/image/bg/bg_45.png
Binary file added assets/image/bg/bg_46.png
Binary file added assets/image/bg/bg_47.png
Binary file added assets/image/bg/bg_48.png
Binary file added assets/image/bg/bg_49.png
Binary file added assets/image/bg/bg_50.png
Binary file added assets/image/bg/bg_51.png
Binary file added assets/image/bg/bg_52.png
Binary file added assets/image/bg/bg_53.png
Binary file added assets/image/bg/bg_54.png
Binary file added assets/image/bg/bg_55.png
Binary file added assets/image/bg/bg_56.png
Binary file added assets/image/bg/bg_57.png
Binary file added assets/image/bg/bg_58.png
Binary file added assets/image/bg/bg_59.png
Binary file added assets/image/bg/bg_60.png
Binary file added assets/image/bg/bg_61.png
Binary file added assets/image/bg/bg_62.png
Binary file added assets/image/bg/bg_63.png
Binary file added assets/image/bg/bg_64.png
Binary file added assets/image/bg/bg_65.png
Binary file added assets/image/bg/bg_66.png
Binary file added assets/image/bg/bg_67.png
Binary file added assets/image/bg/bg_68.png
Binary file added assets/image/bg/bg_69.png
Binary file added assets/image/bg/bg_70.png
Binary file added assets/image/bg/bg_71.png
Binary file added assets/image/bg/bg_72.png
Binary file added assets/image/bg/bg_73.png
Binary file added assets/image/bg/bg_74.png
Binary file added assets/image/bg/bg_75.png
Binary file added assets/image/bg/bg_76.png
Binary file added assets/image/bg/bg_77.png
Binary file added assets/image/bg/bg_78.png
Binary file added assets/image/bg/bg_79.png
Binary file added assets/image/bg/bg_8.png
Binary file added assets/image/bg/bg_80.png
Binary file added assets/image/bg/bg_81.png
Binary file added assets/image/bg/bg_82.png
Binary file added assets/image/bg/bg_83.png
Binary file added assets/image/bg/bg_84.png
Binary file added assets/image/bg/bg_85.png
Binary file added assets/image/bg/bg_86.png
Binary file added assets/image/bg/bg_87.png
Binary file added assets/image/bg/bg_88.png
Binary file added assets/image/bg/bg_89.png
Binary file added assets/image/bg/bg_9.png
Binary file added assets/image/bg/bg_90.png
Binary file added assets/image/bg/bg_91.png
Binary file added assets/image/bg/bg_92.png
Binary file added assets/image/bg/bg_93.png
Binary file added assets/image/bg/bg_94.png
6 changes: 5 additions & 1 deletion assets/js/backgroundData.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
var backgroundData=["bg_1.png","bg_2.png","bg_3.png","bg_4.png","bg_5.png","bg_6.png","bg_7.png"];
var backgroundData = [];
var str
for (var i = 1; i <= 94; i++) {
backgroundData.push("bg_" + i + ".png");
}



30 changes: 22 additions & 8 deletions assets/js/charData.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,30 @@ var charData = {
"Laffey": "lafei",
"Laffey (New Year Rabbit)": "lafei_4",
"Yukikaze": "xuefeng",
// "Ibuki (Wish of a Snow Goddess)": "yichui_2",

// "dujiaoshou_6": "dujiaoshou_6",
"Ibuki (Wish of a Snow Goddess)": "yichui_2",
"dujiaoshou_6": "dujiaoshou_6",
"edu_3": "edu_3",
"xuefeng_3": "xuefeng_3",

// "1014100aqua": "1014100aqua",
// "1024100": "1024100",
// "1033113": "1033113",
// "1044100": "1044100"
"Yukikaze (Winter's Snowy Wind)": "xuefeng_3",
"Ping Hai (Dragon Sisters! [P])": "pinghai_4",
"Jean Bart": "rangbaer_3",
"Black Prince (White Princess)": "heitaizi_2",
"Cooper (Blazing Tennis Battle)": "kubo_2",
"Ryuuhou (Firebird's New Year Dance)": "longfeng_2",
"Noshiro (Uncharted Festival Grounds?)": "nengdai_2",
"Gneisenau (Nightmarish Succubus)": "genaisennao_2",
"Surcouf (Shopping Time!)": "xukufu_2",
"Shoukaku (Dancing Crane in the Wind)": "xianghe_2",
"Vampire (Princess of the Night)": "xixuegui_4",
"Honolulu (Festival Date)": "huonululu_5",
"Ayanami": "lingbo",
"Akashi": "mingshi",
"St. Louis (Tipsy Snow)": "shengluyisi_3",

"Z1014100aqua": "1014100aqua",
"Z1024100": "1024100",
"Z1033113": "1033113",
"Z1044100": "1044100"


};
10 changes: 6 additions & 4 deletions assets/js/live2dv3.init.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ window.onload = () => {
var l2dv
function createL2dv() {
let isShowModel = localStorage.getItem('showModel');
if (!l2dv && (isShowModel==undefined || isShowModel==='true')) {
if (!l2dv && (isShowModel == undefined || isShowModel === 'true')) {
let initModelName = localStorage.getItem('modelName');
if(!initModelName) {
if (!initModelName) {
initModelName = 'lafei_4';
}
l2dv = new L2dViewer({
Expand Down Expand Up @@ -88,7 +88,9 @@ function registerEventListener() {
showMessage("功能待定");
});
document.querySelector("#l2d-tool .fa-user-circle").addEventListener("click", loadModel);
document.querySelector("#l2d-tool .fa-street-view").addEventListener("click", loadModel);
document.querySelector("#l2d-tool .fa-street-view").addEventListener("click", () => {
open("https://jianchengwang.github.io/live2d_models/");
});
document.querySelector("#l2d-tool .fa-camera-retro").addEventListener("click", () => {
showMessage("功能待定");
});
Expand Down Expand Up @@ -133,7 +135,7 @@ function showModel() {
l2d_toggle.style.visibility = "hidden"
l2d_toggle.classList.remove("l2d-toggle-active");
localStorage.setItem('showModel', true);
if(!l2dv) {
if (!l2dv) {
createL2dv()
}
document.getElementById("L2dCanvas").style.display = "";
Expand Down
Binary file not shown.
65 changes: 65 additions & 0 deletions assets/model/moc3/genaisennao_2/genaisennao_2.model3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"Version": 3,
"FileReferences": {
"Moc": "genaisennao_2.moc3",
"Textures": [
"textures/texture_00.png"
],
"Physics": "genaisennao_2.physics3.json",
"Motions": {
"": [
{
"File": "motions/complete.motion3.json"
},
{
"File": "motions/main_1.motion3.json"
},
{
"File": "motions/touch_head.motion3.json"
},
{
"File": "motions/wedding.motion3.json"
},
{
"File": "motions/home.motion3.json"
},
{
"File": "motions/login.motion3.json"
},
{
"File": "motions/main_2.motion3.json"
},
{
"File": "motions/mission_complete.motion3.json"
},
{
"File": "motions/touch_special.motion3.json"
},
{
"File": "motions/mission.motion3.json"
},
{
"File": "motions/touch_body.motion3.json"
},
{
"File": "motions/idle.motion3.json"
},
{
"File": "motions/main_3.motion3.json"
},
{
"File": "motions/mail.motion3.json"
}
]
}
},
"Groups": [
{
"Target": "Parameter",
"Name": "LipSync",
"Ids": [
"ParamMouthOpenY"
]
}
]
}
Loading

0 comments on commit 2046eab

Please sign in to comment.