GitLab system status is available here and here

Commit 144b7df1 authored by wbtate's avatar wbtate
Browse files

idk why not working

parent e10b019b
let config = {
type: Phaser.CANVAS,
type: Phaser.AUTO,
width: 640,
height: 480,
scene: [ Menu, Play ]
......
......@@ -5,6 +5,6 @@ class Menu extends Phaser.Scene {
create() {
this.add.text(20, 20, "Rocket Patrol Menu");
this.scene.start("playScene");
//this.scene.start("playScene");
}
}
\ No newline at end of file
......@@ -9,6 +9,7 @@ class Play extends Phaser.Scene {
this.load.image('starfield', './assets/starfield.png');
}
create() {
this.add.text(20, 20, "Rocket Patrol Play");
// place tile sprite
this.starfield = this.add.tileSprite(0, 0, 640, 480, 'starfield').setOrigin(0, 0);
// green UI background
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment