feat: Добавлены файлы текстуры мяча, Graphics заменен на Sprite с текстурой

This commit is contained in:
Ilia Mashkov
2026-07-19 21:11:56 +03:00
parent 2cbff5b924
commit 004720acd6
10 changed files with 15 additions and 6 deletions
+3 -1
View File
@@ -38,8 +38,10 @@ import { createGameView, managePerkViewsLifetime, rebuildBrickViews, syncronizeV
app.stage.addChild(container);
const textures = await Assets.load(['/sprites/fire_ball_1.png']);
const game = new Game(LEVELS);
const views = createGameView(game, container);
const views = createGameView(game, container, textures);
let currentLevel = game.currentLevel;
container.on('pointermove', (event) => {