feat(settings/options/2048): rename old gba mode -> 2048
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import OptionsMenu from "./Options/Menu.vue";
|
||||
import OptionsStartUp from "./Options/StartUp.vue";
|
||||
import OptionsLanguage from "./Options/Language.vue";
|
||||
import OptionsGbaMode from "./Options/GbaMode.vue";
|
||||
import Options2048 from "./Options/2048.vue";
|
||||
|
||||
import UserMenu from "./User/Menu.vue";
|
||||
import UserColor from "./User/Color.vue";
|
||||
@@ -36,7 +36,7 @@ const { select, selected, selectorPosition } = useButtonNavigation({
|
||||
buttons: {
|
||||
options: [31, 119, 49, 49],
|
||||
optionsLanguage: [31, 71, 49, 49],
|
||||
optionsGbaMode: [79, 71, 49, 49],
|
||||
options2048: [79, 71, 49, 49],
|
||||
optionsStartUp: [31, 23, 49, 49],
|
||||
|
||||
clock: [79, 119, 49, 49],
|
||||
@@ -71,15 +71,15 @@ const { select, selected, selectorPosition } = useButtonNavigation({
|
||||
optionsLanguage: {
|
||||
down: "options",
|
||||
up: "optionsStartUp",
|
||||
right: "optionsGbaMode",
|
||||
right: "options2048",
|
||||
},
|
||||
optionsGbaMode: {
|
||||
options2048: {
|
||||
down: ["options", false],
|
||||
left: "optionsLanguage",
|
||||
up: ["optionsStartUp", false],
|
||||
},
|
||||
optionsStartUp: {
|
||||
right: ["optionsGbaMode", false],
|
||||
right: ["options2048", false],
|
||||
down: "optionsLanguage",
|
||||
},
|
||||
|
||||
@@ -173,7 +173,7 @@ watch(
|
||||
const viewComponents: Record<string, Component> = {
|
||||
optionsStartUp: OptionsStartUp,
|
||||
optionsLanguage: OptionsLanguage,
|
||||
optionsGbaMode: OptionsGbaMode,
|
||||
options2048: Options2048,
|
||||
|
||||
clockAlarm: ClockAlarm,
|
||||
clockDate: ClockDate,
|
||||
|
||||
@@ -33,7 +33,7 @@ onRender((ctx) => {
|
||||
ctx.translate(props.x, props.y);
|
||||
|
||||
if (isOpen.value || animation.playing) {
|
||||
assets.images.settings.topScreen.options.gbaMode.draw(
|
||||
assets.images.settings.topScreen.options._2048.draw(
|
||||
ctx,
|
||||
48 - animation.stage2Offset,
|
||||
-48 + animation.stage1Offset,
|
||||
|
||||
@@ -35,7 +35,7 @@ const IMAGES_MAP: Record<string, AtlasImage> = {
|
||||
options: assets.images.settings.topScreen.options.options,
|
||||
optionsStartUp: assets.images.settings.topScreen.options.startUp,
|
||||
optionsLanguage: assets.images.settings.topScreen.options.language,
|
||||
optionsGbaMode: assets.images.settings.topScreen.options.gbaMode,
|
||||
options2048: assets.images.settings.topScreen.options._2048,
|
||||
|
||||
clock: assets.images.settings.topScreen.clock.clock,
|
||||
clockTime: assets.images.settings.topScreen.clock.time,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export type SettingsButton =
|
||||
| "options"
|
||||
| "optionsLanguage"
|
||||
| "optionsGbaMode"
|
||||
| "options2048"
|
||||
| "optionsStartUp"
|
||||
| "clock"
|
||||
| "clockAlarm"
|
||||
|
||||
@@ -7,7 +7,7 @@ export const SETTINGS_MENUS = [
|
||||
|
||||
export const SETTINGS_SUB_MENUS = [
|
||||
"optionsLanguage",
|
||||
"optionsGbaMode",
|
||||
"options2048",
|
||||
"optionsStartUp",
|
||||
"clockAlarm",
|
||||
"clockTime",
|
||||
|
||||
@@ -45,9 +45,9 @@
|
||||
"description": "Select the language to use.",
|
||||
"confirmation": "Language set to English."
|
||||
},
|
||||
"gbaMode": {
|
||||
"title": "GBA Mode",
|
||||
"description": "Select the screen you would like to use\nwhen starting GBA Mode."
|
||||
"2048": {
|
||||
"title": "2048",
|
||||
"description": "Play 2048!"
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
|
||||
BIN
public/nds/images/settings/top-screen/options/2048.webp
Normal file
BIN
public/nds/images/settings/top-screen/options/2048.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 390 B |
Binary file not shown.
|
Before Width: | Height: | Size: 334 B |
Reference in New Issue
Block a user