feat: Добавлены файлы текстуры мяча, Graphics заменен на Sprite с текстурой
This commit is contained in:
+3
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user