Skip to content

Commit

Permalink
added power rangers intro demo
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Westover <[email protected]>
  • Loading branch information
scottwestover committed Dec 3, 2024
1 parent 3a27ce6 commit 6e37f09
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default class Info extends Phaser.Scene {
this.cameras.main.fadeIn(500, 0, 0, 0);

this.input.once(Phaser.Input.Events.POINTER_DOWN, () => {
this.scene.scale.startFullscreen();
this.cameras.main.fadeOut(500, 0, 0, 0);
this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE, () => {
this.scene.start("Title");
Expand Down

0 comments on commit 6e37f09

Please sign in to comment.