Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions main/planet/PlanetScene.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
// Planet Scene
// INFO: The planet scene allows players to explore the planet they landed on. The player can go inside buildings or houses that they see. When they are done, the player can go back to space.
class PlanetScene extends Phaser.Scene {
constructor(key) {
// Pass from superclass
super(key);
}
}
Binary file added main/planet/assets/penguin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion main/planet/preload.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Preload for Planets
PlanetScene.prototype.preload = function() {

// Load images
this.load.image("penguin", "main/planet/asset/penguin.png");
};
Binary file added main/space/assets/grassyPlanet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.