Rose Game Solutions

using multiple scenes

Recommended Posts

I'm using multiple scenes and trying to get a Heads Up Display (HUD) that is always active. I'm also using a sprite with anims. however, when I load the sprite into the scene, I get an error coming from animation.


here's my HUD class:

export default class HUDScene extends Phaser.Scene {
    constructor() {
        super({ key: "HUD", active: true });

 and in my create method I'm just doing a simple constructor call

        this.HUD = new HUD(, 0, 0);

Is there another way to accomplish this? or, what am I missing/doing wrong?

the animations work in my 'gameScene' but not in the -always active- HUD scene...


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.