|
@@ -164,6 +164,20 @@ const gameList = [
|
|
|
customMenu: {
|
|
|
gameModeBtn: ['mode_0', 'mode_1'],
|
|
|
gameOperationBtn: ['operation_plus', 'operation_minus'],
|
|
|
+ auxiliarTitle: (x, y, offsetW, offsetH) => {
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW,
|
|
|
+ y + offsetH + 50,
|
|
|
+ game.lang.show,
|
|
|
+ textStyles.h4_
|
|
|
+ );
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW,
|
|
|
+ y + offsetH + 80,
|
|
|
+ game.lang.title,
|
|
|
+ textStyles.h2_
|
|
|
+ );
|
|
|
+ },
|
|
|
infoBox: () => ({
|
|
|
gameMode: {
|
|
|
title: game.lang.game_modes,
|
|
@@ -300,6 +314,20 @@ const gameList = [
|
|
|
'operation_minus',
|
|
|
'operation_mixed',
|
|
|
],
|
|
|
+ auxiliarTitle: (x, y, offsetW, offsetH) => {
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW,
|
|
|
+ y + offsetH + 50,
|
|
|
+ game.lang.show,
|
|
|
+ textStyles.h4_
|
|
|
+ );
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW,
|
|
|
+ y + offsetH + 80,
|
|
|
+ game.lang.title,
|
|
|
+ textStyles.h2_
|
|
|
+ );
|
|
|
+ },
|
|
|
infoBox: () => ({
|
|
|
gameMode: {
|
|
|
title: game.lang.game_modes,
|
|
@@ -411,6 +439,20 @@ const gameList = [
|
|
|
customMenu: {
|
|
|
gameModeBtn: ['mode_4', 'mode_5'],
|
|
|
gameOperationBtn: ['operation_equals'],
|
|
|
+ auxiliarTitle: (x, y, offsetW, offsetH) => {
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW,
|
|
|
+ y + offsetH + 50,
|
|
|
+ game.lang.show,
|
|
|
+ textStyles.h4_
|
|
|
+ );
|
|
|
+ game.add.text(
|
|
|
+ x + 5 * offsetW + 10,
|
|
|
+ y + offsetH + 80,
|
|
|
+ game.lang.aux_rectangle,
|
|
|
+ textStyles.h4_
|
|
|
+ );
|
|
|
+ },
|
|
|
infoBox: () => ({
|
|
|
gameMode: {
|
|
|
title: game.lang.game_modes,
|
|
@@ -508,6 +550,7 @@ const gameList = [
|
|
|
// customMenu: {
|
|
|
// gameModeBtn: ['mode_6'],
|
|
|
// gameOperationBtn: ['operation_equals'],
|
|
|
+ // auxiliarTitle: (x, y, offsetW, offsetH) => {},
|
|
|
// // infoBox
|
|
|
// },
|
|
|
// map: {
|