Skip to content

Commit

Permalink
Publishing Site scottwestover.dev at 891db5e on Tue Dec 3 00:39:36 UT…
Browse files Browse the repository at this point in the history
…C 2024
  • Loading branch information
scottwestover committed Dec 3, 2024
1 parent 6b8680a commit eb97e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion games/power-rangers-intro/src/scenes/Info.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +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.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
2 changes: 1 addition & 1 deletion games/power-rangers-intro/src/scenes/Preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class Preload extends Phaser.Scene {
}

create() {
this.time.delayedCall(1000, () => {
this.time.delayedCall(5000, () => {
this.cameras.main.fadeOut(500, 0, 0, 0);
this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE, () => {
this.scene.start("Info");
Expand Down

0 comments on commit eb97e66

Please sign in to comment.