封面完成

This commit is contained in:
草莓 2024-11-30 14:50:19 +08:00
parent 4ca285ca42
commit 4b1d1dd89c
7 changed files with 30 additions and 63 deletions

View File

@ -62,9 +62,9 @@
<p id='startLogo'></p> <p id='startLogo'></p>
<div id='startButtonGroup'> <div id='startButtonGroup'>
<div id='startButtons'> <div id='startButtons'>
<span class='startButton' id='playGame'>开始游戏</span> <span class='startButton' id='playGame'>START GAME</span>
<span class='startButton' id='loadGame'>载入游戏</span> <span class='startButton' id='loadGame'>LOAD GAME</span>
<span class='startButton' id='replayGame'>录像回放</span> <span class='startButton' id='replayGame'>REPLAY MODE</span>
</div> </div>
<div id='levelChooseButtons'></div> <div id='levelChooseButtons'></div>
</div> </div>

View File

@ -95,7 +95,12 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"shop.mp3", "shop.mp3",
"zone.mp3" "zone.mp3"
], ],
"fonts": [], "fonts": [
"HATTEN",
"number",
"pala",
"simhei"
],
"nameMap": { "nameMap": {
"确定": "confirm.mp3", "确定": "confirm.mp3",
"取消": "cancel.mp3", "取消": "cancel.mp3",
@ -122,59 +127,17 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"商店": "shop.mp3", "商店": "shop.mp3",
"领域": "zone" "领域": "zone"
}, },
"levelChoose": [ "levelChoose": null,
{
"title": "简单",
"name": "Easy",
"hard": 1,
"color": [
64,
255,
85,
1
],
"action": [
{
"type": "comment",
"text": "在这里写该难度需执行的事件"
}
]
},
{
"title": "普通",
"name": "Normal",
"hard": 2,
"color": [
255,
221,
32,
1
],
"action": []
},
{
"title": "困难",
"name": "Hard",
"hard": 3,
"color": [
255,
68,
64,
1
],
"action": []
}
],
"equipName": [ "equipName": [
"武器", "武器",
"盾牌" "盾牌"
], ],
"startBgm": null, "startBgm": null,
"styles": { "styles": {
"startBackground": "project/images/bg.jpg", "startBackground": "project/images/background.png",
"startVerticalBackground": "project/images/bg2.jpg", "startVerticalBackground": "project/images/background.png",
"startLogoStyle": "color: black", "startLogoStyle": "color: black",
"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;", "startButtonsStyle": "background-color: #000000; opacity: 0.45; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
"statusLeftBackground": "url(project/materials/ground.png) repeat", "statusLeftBackground": "url(project/materials/ground.png) repeat",
"statusTopBackground": "url(project/materials/ground.png) repeat", "statusTopBackground": "url(project/materials/ground.png) repeat",
"toolsBackground": "url(project/materials/ground.png) repeat", "toolsBackground": "url(project/materials/ground.png) repeat",
@ -197,7 +160,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
0, 0,
1 1
], ],
"font": "Verdana" "font": "pala"
}, },
"splitImages": [ "splitImages": [
{ {

BIN
project/fonts/HATTEN.ttf Normal file

Binary file not shown.

BIN
project/fonts/pala.ttf Normal file

Binary file not shown.

BIN
project/fonts/simhei.ttf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@ -108,6 +108,7 @@
} }
#startLogo { #startLogo {
user-select: none;
position: absolute; position: absolute;
z-index: 290; z-index: 290;
left: 0; left: 0;
@ -117,10 +118,12 @@
margin-top: 8%; margin-top: 8%;
max-width: 100%; max-width: 100%;
text-align: center; text-align: center;
font: bold 4em STXingkai; font: bold 0em STXingkai;
color: #000000;
} }
#startTitle { #startTitle {
user-select: none;
position: absolute; position: absolute;
z-index: 280; z-index: 280;
} }
@ -137,18 +140,18 @@
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
padding: 15px 25px; padding: 15px 25px;
min-width: 20%; min-width: 100%;
/* default value */ /* default value */
background-color: #32369F; background-color: #000000;
opacity: 0.85; opacity: 0.55;
color: #FFFFFF; color: #FFFFFF;
border: #FFFFFF 2px solid; border: #FFFFFF 0px solid;
caret-color: #FFD700; caret-color: #ffffff;
border-radius: 10px; border-radius: 0px;
} }
#startButtons { #startButtons {
display: block; display: none;
} }
#levelChooseButtons { #levelChooseButtons {
@ -158,14 +161,15 @@
.startButton { .startButton {
width: 100%; width: 100%;
margin: 0; margin: 0;
font-weight: bold; font: 1.6rem "pala", sans-serif;
font-weight: normal;
display: block; display: block;
cursor: pointer; cursor: pointer;
padding: 4px 0; padding: 0px 0;
border-color: transparent; border-color: transparent;
border-width: 2px; border-width: 0px;
border-style: solid; border-style: solid;
border-radius: 6px; border-radius: 0px;
} }
.onChoiceAnimate { .onChoiceAnimate {