From 25adfc618e77db9a5ee3b98ce0dab0be832efed0 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Tue, 24 Dec 2024 17:58:20 +0100 Subject: hello kitty base done --- src/scenes/prequel.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/scenes/prequel.js') diff --git a/src/scenes/prequel.js b/src/scenes/prequel.js index f24ef99..83b8ba4 100644 --- a/src/scenes/prequel.js +++ b/src/scenes/prequel.js @@ -1,13 +1,18 @@ import { Engine } from "../engine.js" import { MUSIC } from "../assets.js" +import { Portal } from "../entities/portal.js" + +let portal export function start() { - Engine.playMusic(MUSIC.PREQUEL) + Engine.radio.playMusic(MUSIC.PREQUEL) + portal = new Portal() } - export function update() { + portal.update() } export function draw() { + portal.draw() } -- cgit v1.2.3