config
This commit is contained in:
parent
bebb0d280f
commit
0ba50a0669
|
@ -1,24 +1 @@
|
||||||
御剑+诸方神石
|
利奴
|
||||||
诸葛诞 观星 安恤 利奴
|
|
||||||
|
|
||||||
赛特
|
|
||||||
徐暮云
|
|
||||||
皇甫朝云
|
|
||||||
云天河
|
|
||||||
拓跋玉儿
|
|
||||||
慕容诗
|
|
||||||
慕容紫英
|
|
||||||
水镜
|
|
||||||
|
|
||||||
柳梦璃
|
|
||||||
壶中仙
|
|
||||||
古月圣
|
|
||||||
轩辕剑仙
|
|
||||||
于小雪
|
|
||||||
方兰生
|
|
||||||
|
|
||||||
独孤宁珂
|
|
||||||
王思月
|
|
||||||
陈靖仇
|
|
||||||
车芸
|
|
||||||
阿阮
|
|
||||||
|
|
|
@ -2,24 +2,28 @@
|
||||||
var temp;
|
var temp;
|
||||||
try{
|
try{
|
||||||
temp=JSON.parse(localStorage.getItem('noname_0.9_config'));
|
temp=JSON.parse(localStorage.getItem('noname_0.9_config'));
|
||||||
|
if(!temp){
|
||||||
|
throw('err');
|
||||||
}
|
}
|
||||||
catch(err){}
|
|
||||||
if(temp&&temp.background&&temp.background!='default'){
|
|
||||||
document.querySelector('.background').style.backgroundImage="url('image/background/"+temp.background+".jpg')";
|
|
||||||
if(temp.background_stretch!=false) document.querySelector('.background').style.backgroundSize="cover";
|
|
||||||
}
|
}
|
||||||
if(temp&&temp.background_filter){
|
catch(err){
|
||||||
switch (temp.background_filter){
|
return;
|
||||||
case 'blur':document.querySelector('.background').style.webkitFilter='blur(8px)';
|
}
|
||||||
document.querySelector('.background').style.webkitTransform='scale(1.05)';break;
|
var bg=document.querySelector('.background');
|
||||||
case 'gray':document.querySelector('.background').style.webkitFilter='grayscale(1)';break;
|
if(temp.image_background&&temp.image_background!='default'){
|
||||||
case 'sepia':document.querySelector('.background').style.webkitFilter='sepia(0.5)';break;
|
bg.style.backgroundImage="url('image/background/"+temp.image_background+".jpg')";
|
||||||
case 'invert':document.querySelector('.background').style.webkitFilter='invert(1)';break;
|
bg.style.backgroundSize="cover";
|
||||||
case 'saturate':document.querySelector('.background').style.webkitFilter='saturate(5)';break;
|
|
||||||
case 'contrast':document.querySelector('.background').style.webkitFilter='contrast(1.4)';break;
|
switch (temp.image_background_filter){
|
||||||
case 'hue':document.querySelector('.background').style.webkitFilter='hue-rotate(180deg)';break;
|
case 'blur':bg.style.webkitFilter='blur(8px)';bg.style.webkitTransform='scale(1.05)';break;
|
||||||
case 'brightness':document.querySelector('.background').style.webkitFilter='brightness(5)';break;
|
case 'gray':bg.style.webkitFilter='grayscale(1)';break;
|
||||||
default:document.querySelector('.background').style.webkitFilter='';
|
case 'sepia':bg.style.webkitFilter='sepia(0.5)';break;
|
||||||
|
case 'invert':bg.style.webkitFilter='invert(1)';break;
|
||||||
|
case 'saturate':bg.style.webkitFilter='saturate(5)';break;
|
||||||
|
case 'contrast':bg.style.webkitFilter='contrast(1.4)';break;
|
||||||
|
case 'hue':bg.style.webkitFilter='hue-rotate(180deg)';break;
|
||||||
|
case 'brightness':bg.style.webkitFilter='brightness(5)';break;
|
||||||
|
default:bg.style.webkitFilter='';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}())
|
}())
|
||||||
|
|
|
@ -15,15 +15,12 @@ window.config={
|
||||||
theme:['woodden','music'],
|
theme:['woodden','music'],
|
||||||
card_font:['xiaozhuan','huangcao','caoshu','xingshu'],
|
card_font:['xiaozhuan','huangcao','caoshu','xingshu'],
|
||||||
double_hp:['hejiansan','pingjun','zuidazhi','zuixiaozhi','zonghe'],
|
double_hp:['hejiansan','pingjun','zuidazhi','zuixiaozhi','zonghe'],
|
||||||
image:{
|
|
||||||
// card:['default','white'],
|
image_character:['default'],
|
||||||
character:['default'],
|
image_background:['default','huangyueying_bg','zhulian_bg',
|
||||||
background:['default','huangyueying_bg','zhulian_bg',
|
|
||||||
'september_bg','xueji_bg','yinxiang_bg','chunhui_bg',
|
'september_bg','xueji_bg','yinxiang_bg','chunhui_bg',
|
||||||
'grass_bg','huangtian_bg'],
|
'grass_bg','huangtian_bg'],
|
||||||
background_filter:['default','blur','gray','sepia','invert','saturate','contrast','hue','brightness'],
|
image_background_filter:['default','blur','gray','sepia','invert','saturate','contrast','hue','brightness'],
|
||||||
dynamic_background:['none','round_dybg']
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
translate:{
|
translate:{
|
||||||
identity:'身份',
|
identity:'身份',
|
||||||
|
@ -148,13 +145,11 @@ window.config={
|
||||||
hejiansan:'相加',
|
hejiansan:'相加',
|
||||||
zonghe:'总和',
|
zonghe:'总和',
|
||||||
xiangcheng:'相乘',
|
xiangcheng:'相乘',
|
||||||
card_config:'卡牌图片包',
|
|
||||||
character_config:'角色头像',
|
image_character_config:'角色头像',
|
||||||
card_font_config:'卡牌字体',
|
image_background_config:'游戏背景',
|
||||||
background_config:'游戏背景',
|
image_background_filter_config:'背景效果',
|
||||||
background_filter_config:'背景效果',
|
|
||||||
background_stretch_config:'背景拉伸',
|
|
||||||
dynamic_background_config:'动态背景',
|
|
||||||
show_playerids_config:'显示身份按钮',
|
show_playerids_config:'显示身份按钮',
|
||||||
show_replay_config:'显示重来按钮',
|
show_replay_config:'显示重来按钮',
|
||||||
show_pause_config:'显示暂停按钮',
|
show_pause_config:'显示暂停按钮',
|
||||||
|
@ -197,11 +192,6 @@ window.config={
|
||||||
duration:500,
|
duration:500,
|
||||||
hoveration:1000,
|
hoveration:1000,
|
||||||
cheat:false,
|
cheat:false,
|
||||||
// change_choice:false,
|
|
||||||
// free_choose:true,
|
|
||||||
// change_card:false,
|
|
||||||
// change_identity:true,
|
|
||||||
// swap:true,
|
|
||||||
|
|
||||||
auto_skill:true,
|
auto_skill:true,
|
||||||
auto_confirm:true,
|
auto_confirm:true,
|
||||||
|
@ -214,13 +204,10 @@ window.config={
|
||||||
|
|
||||||
theme:'woodden',
|
theme:'woodden',
|
||||||
layout:'newlayout',
|
layout:'newlayout',
|
||||||
image:{
|
|
||||||
// card:'default',
|
image_character:'default',
|
||||||
character:'default',
|
image_background:'default',
|
||||||
background:'default',
|
|
||||||
background_stretch:true,
|
|
||||||
dynamic_background:'none'
|
|
||||||
},
|
|
||||||
card_font:'xiaozhuan',
|
card_font:'xiaozhuan',
|
||||||
show_name:false,
|
show_name:false,
|
||||||
show_replay:false,
|
show_replay:false,
|
||||||
|
|
|
@ -19,9 +19,6 @@ html{
|
||||||
.player,#mebg{
|
.player,#mebg{
|
||||||
/*background:url('wood.png') left repeat-y,url('wood.png') right repeat-y,linear-gradient(#4b4b4b, #464646);*/
|
/*background:url('wood.png') left repeat-y,url('wood.png') right repeat-y,linear-gradient(#4b4b4b, #464646);*/
|
||||||
}
|
}
|
||||||
#paused{
|
|
||||||
background-color: rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
.player.selectable{
|
.player.selectable{
|
||||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 15px;
|
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,9 +43,6 @@ html{
|
||||||
.control,#system>div>div,.popup,.dialog>.bar{
|
.control,#system>div>div,.popup,.dialog>.bar{
|
||||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 2px 10px;
|
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 2px 10px;
|
||||||
}
|
}
|
||||||
#paused{
|
|
||||||
background-color: rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
.player.selectable{
|
.player.selectable{
|
||||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 15px;
|
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 133, 255, 0.8) 0 0 15px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue