Skip to content

Commit

Permalink
🏹 Starting to put assets for #6 GSCA-9 UD1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Oct 5, 2021
1 parent 0390be7 commit 0cbb1b6
Show file tree
Hide file tree
Showing 29 changed files with 13 additions and 13 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified assets/.DS_Store
Binary file not shown.
Binary file added assets/Crusader_Pixel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Dreadnought_Pixel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/dragonblue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sndBtnDown.wav
Binary file not shown.
Binary file added assets/sndBtnOver.wav
Binary file not shown.
Binary file added assets/sndExplode0.wav
Binary file not shown.
Binary file added assets/sndExplode1.wav
Binary file not shown.
Binary file added assets/sndLaser.wav
Binary file not shown.
Binary file added assets/sprBg0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBg1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnPlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnPlayDown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnPlayHover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnRestart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnRestartDown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprBtnRestartHover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprEnemy0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprEnemy1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprEnemy2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprExplosion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprLaserEnemy0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprLaserPlayer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sprPlayer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions battle.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ var BattleScene = new Phaser.Class({
},
startBattle: function() {
// player character - warrior
var warrior = new PlayerCharacter(this, 250, 50, "player", 1, "Warrior", 100, 20);
var warrior = new PlayerCharacter(this, 250, 50, "player", 1, "Dreadnought", 100, 20);
this.add.existing(warrior);

// player character - mage
var mage = new PlayerCharacter(this, 250, 100, "player", 4, "Mage", 80, 8);
var mage = new PlayerCharacter(this, 250, 100, "player", 4, "Destroyer", 80, 8);
this.add.existing(mage);

var dragonblue = new Enemy(this, 50, 50, "dragonblue", null, "Dragon", 50, 3);
var dragonblue = new Enemy(this, 50, 50, "dragonblue", null, "Enemy1", 50, 3);
this.add.existing(dragonblue);

var dragonOrange = new Enemy(this, 50, 100, "dragonorrange", null,"Dragon2", 50, 3);
var dragonOrange = new Enemy(this, 50, 100, "dragonorrange", null,"Enemy2", 50, 3);
this.add.existing(dragonOrange);

// array with heroes
Expand Down
8 changes: 4 additions & 4 deletions js/battle.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ var BattleScene = new Phaser.Class({
},
startBattle: function() {
// player character - warrior
var warrior = new PlayerCharacter(this, 250, 50, "player", 1, "Warrior", 100, 20);
var warrior = new PlayerCharacter(this, 250, 50, "player", 1, "Dreadnought", 100, 20);
this.add.existing(warrior);

// player character - mage
var mage = new PlayerCharacter(this, 250, 100, "player", 4, "Mage", 80, 8);
var mage = new PlayerCharacter(this, 250, 100, "player", 4, "Crusader", 80, 8);
this.add.existing(mage);

var dragonblue = new Enemy(this, 50, 50, "dragonblue", null, "Dragon", 50, 3);
var dragonblue = new Enemy(this, 50, 50, "dragonblue", null, "Enemy1", 50, 3);
this.add.existing(dragonblue);

var dragonOrange = new Enemy(this, 50, 100, "dragonorrange", null,"Dragon2", 50, 3);
var dragonOrange = new Enemy(this, 50, 100, "dragonorrange", null,"Enemy2", 50, 3);
this.add.existing(dragonOrange);

// array with heroes
Expand Down
2 changes: 1 addition & 1 deletion js/world.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var BootScene = new Phaser.Class({

// enemies
this.load.image("dragonblue", "assets/dragonblue.png");
this.load.image("dragonorrange", "assets/dragonorrange.png");
this.load.image("dragonorrange", "assets/Crusader_Pixel.png");

// our two characters
this.load.spritesheet('player', 'assets/RPG_assets.png', { frameWidth: 16, frameHeight: 16 });
Expand Down
8 changes: 4 additions & 4 deletions world.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
e

var BootScene = new Phaser.Class({

Extends: Phaser.Scene,
Expand All @@ -20,10 +18,12 @@ var BootScene = new Phaser.Class({
this.load.tilemapTiledJSON('map', 'assets/map/map.json');

// enemies
this.load.image("dragonblue", "assets/dragonblue.png");
this.load.image("dragonorrange", "assets/dragonorrange.png");
this.load.image("dragonblue", "assets/Dreadnought_Pixel.png");
this.load.image("dragonorrange", "assets/Crusader_Pixel.png");

// our two characters
//this.load.image("player", 'assets/Crusader_Pixel.png');
// Below line is for the spritesheet, above line is scaffolding for gemini station assets
this.load.spritesheet('player', 'assets/RPG_assets.png', { frameWidth: 16, frameHeight: 16 });
},

Expand Down

0 comments on commit 0cbb1b6

Please sign in to comment.