mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 21:16:14 -04:00
wip
This commit is contained in:
parent
ccd7f00a6a
commit
ac2100860f
4 changed files with 6 additions and 4 deletions
|
@ -1263,7 +1263,7 @@
|
|||
{
|
||||
"name": "icon:settings",
|
||||
"size": 9,
|
||||
"bricks": "___g_g____g_ggg_g___ggggg__gggbbbggg_ggb_bgg_gggbbbggg__ggggg___g_ggg_g____g_g___",
|
||||
"bricks": "___g_g____g_ggg_g___ggbgg__gggbbbggg_gbb_bbg_gggbbbggg__ggbgg___g_ggg_g____g_g___",
|
||||
"svg": null,
|
||||
"color": ""
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { allLevels, appVersion, upgrades } from "./loadGameData";
|
||||
import {allLevels, appVersion, icons, upgrades} from "./loadGameData";
|
||||
import { t } from "./i18n/i18n";
|
||||
import { GameState, RunHistoryItem } from "./types";
|
||||
import { gameState, pause, restart } from "./game";
|
||||
|
@ -125,6 +125,7 @@ export function gameOver(title: string, intro: string) {
|
|||
`,
|
||||
unlocksInfo,
|
||||
{
|
||||
icon:icons["icon:new_run"],
|
||||
value: null,
|
||||
text: t("gameOver.restart"),
|
||||
help: "",
|
||||
|
|
|
@ -21,7 +21,7 @@ function App() {
|
|||
useEffect(()=>{
|
||||
fetch('http://localhost:4400/src/data/levels.json')
|
||||
.then(r=>r.json())
|
||||
.then(list=>{
|
||||
.then(list=>{
|
||||
setLevels(list as RawLevel[])
|
||||
allLevels=list
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue