Skip to content

EXPAND falls back to config width and height when changing scenes #6767

@Calcue-dev

Description

@Calcue-dev

Version

  • Phaser Version: 3.80.
  • Operating system: Windows 10 / Android 13
  • Browser: Using Chrome (others untested)

Description

When using the new EXPAND scale mode after changing scenes from A to B and back to A using scene.start the EXPAND effect wears off and the scene is resized to config width and height.

Example Test Code

https://codepen.io/calcue/pen/eYozRjP

Additional Information

I couldn't find a lot of documentation for this feature but can find other scale modes. Maybe I'm looking in the wrong place.

https://newdocs.phaser.io/docs/3.80.0/Phaser.Scale

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions