Skip to content

Commit 9d34b0f

Browse files
authored
Merge pull request #7980 from KBVE/dev
Release: 3 features, 2 chores → Main
2 parents ea3e251 + b4d443b commit 9d34b0f

File tree

25 files changed

+10493
-19681
lines changed

25 files changed

+10493
-19681
lines changed

apps/cryptothrone/astro-cryptothrone/src/components/game/GameWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function GameUI() {
7676
export default function GameWindow() {
7777
return (
7878
<GameStoreProvider>
79-
<div className="relative flex justify-center items-center w-full">
79+
<div className="relative flex justify-center items-center w-full h-full">
8080
<PhaserCanvas />
8181
<GameUI />
8282
</div>

apps/cryptothrone/astro-cryptothrone/src/components/game/scenes/CloudCityScene.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class CloudCityScene extends Scene {
9999
this,
100100
this.gridEngine,
101101
this.quadtree,
102-
{ tileSize: 48 },
102+
{ tileSize: 48, joystick: true },
103103
);
104104

105105
this.gridEngine.moveRandomly('npc', 1500, 3);

apps/cryptothrone/astro-cryptothrone/src/styles/global.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,17 @@ body:has(.game-fullscreen) .ct-footer {
6767
overflow: hidden;
6868
}
6969

70-
/* Let the Phaser canvas fill the viewport while keeping aspect ratio */
70+
/* Let the Phaser canvas expand to fill the viewport while keeping aspect ratio */
7171
.game-fullscreen canvas {
72+
width: 100%;
73+
height: 100%;
7274
max-width: 100vw;
7375
max-height: 100vh;
7476
object-fit: contain;
7577
}
78+
79+
/* Ensure the PhaserGame container div fills the game-fullscreen overlay */
80+
.game-fullscreen > div {
81+
width: 100%;
82+
height: 100%;
83+
}

apps/kbve/astro-kbve/public/isometric/assets/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)