complete dc logic

This commit is contained in:
2025-05-22 10:55:37 +08:00
parent 64868a980f
commit 16a5eb9e6b
50 changed files with 811 additions and 695 deletions

View File

@@ -39,6 +39,7 @@ export const config = {
MONTH_FULLNAMES: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
MONTH_LIST: [
{year: 2024, month: 12, begin: 0, dayCount: 31, icon_res: respath.trophy_12},
{year: 2025, month: 1, begin: 3, dayCount: 31, icon_res: respath.trophy_01},
{year: 2025, month: 2, begin: 6, dayCount: 30, icon_res: respath.trophy_02},
{year: 2025, month: 3, begin: 6, dayCount: 31, icon_res: respath.trophy_03},
@@ -47,10 +48,10 @@ export const config = {
{year: 2025, month: 6, begin: 0, dayCount: 30, icon_res: respath.trophy_06},
{year: 2025, month: 7, begin: 2, dayCount: 31, icon_res: respath.trophy_07},
{year: 2025, month: 8, begin: 5, dayCount: 31, icon_res: respath.trophy_08},
{year: 2025, month: 9, begin: 1, dayCount: 30, icon_res: respath.trophy_01},
{year: 2025, month: 10, begin: 3, dayCount: 31, icon_res: respath.trophy_02},
{year: 2025, month: 11, begin: 6, dayCount: 30, icon_res: respath.trophy_03},
{year: 2025, month: 12, begin: 1, dayCount: 31, icon_res: respath.trophy_04},
{year: 2025, month: 9, begin: 1, dayCount: 30, icon_res: respath.trophy_09},
{year: 2025, month: 10, begin: 3, dayCount: 31, icon_res: respath.trophy_10},
{year: 2025, month: 11, begin: 6, dayCount: 30, icon_res: respath.trophy_11},
{year: 2025, month: 12, begin: 1, dayCount: 31, icon_res: respath.trophy_12},
]
}

View File

@@ -4,6 +4,8 @@ export const respath = {
home_ui_res: "resources/Home.lh",
dc_ui_res: "resources/DailyChallenge.lh",
trophy_ui_res: "resources/TrophyRoom.lh",
trophy_year_ui_res: "resources/TrophyRoomYear.lh",
trophy_cell_ui_res: "resources/TrophyRoomCell.lh",
stage_ui_res: "resources/Stage.lh",
gameover_ui_res: "resources/GameOver.lh",
gamedone_ui_res: "resources/GameDone.lh",
@@ -30,5 +32,9 @@ export const respath = {
trophy_06: "atlas/trophys/trophy_06.png",
trophy_07: "atlas/trophys/trophy_07.png",
trophy_08: "atlas/trophys/trophy_08.png",
trophy_09: "atlas/trophys/trophy_09.png",
trophy_10: "atlas/trophys/trophy_10.png",
trophy_11: "atlas/trophys/trophy_11.png",
trophy_12: "atlas/trophys/trophy_12.png",
}