Fix: alien sprite image

This commit is contained in:
2018-09-07 09:45:08 +09:00
parent bee8004a84
commit 0858981690
6 changed files with 16 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+1 -1
View File
@@ -3,7 +3,7 @@ const LANGUAGE_ENGLISH = "english";
const MODE_RELEASE = "release"; const MODE_RELEASE = "release";
const MODE_DEBUG = "debug"; const MODE_DEBUG = "debug";
const runMode = MODE_DEBUG; const runMode = MODE_RELEASE;
function isDebugMode() { function isDebugMode() {
// console.log("debug mode ? " + runMode); // console.log("debug mode ? " + runMode);
+10
View File
@@ -35,6 +35,16 @@ class Game {
heartGauge.start(); heartGauge.start();
// game stage
let stars = game.add.group();
for (let i = 0; i < 128; i++)
{
let randomY = game.rnd.integerInRange(60, GAME_SCREEN_SIZE.y - 80);
stars.create(game.world.randomX, randomY, 'star');
}
// waiting room // waiting room
this.game.add.graphics() this.game.add.graphics()
.beginFill(0xffffff, 0.1) .beginFill(0xffffff, 0.1)
+5 -1
View File
@@ -34,7 +34,11 @@ class Loading {
startLoading() { startLoading() {
this.game.load.image('icon_fullscreen', '../../../resources/image/icon/fullscreen_white.png'); this.game.load.image('icon_fullscreen', '../../../resources/image/icon/fullscreen_white.png');
this.game.load.image('alien_normal', '../../../resources/image/character/alien_normal.png');
this.game.load.image('star', '../../../resources/image/background/star_7x7.png');
this.game.load.image('alien_normal', '../../../resources/image/character/alien/green_alien.png');
this.game.load.image('heart_full', '../../../resources/image/ui/heart_full.png'); this.game.load.image('heart_full', '../../../resources/image/ui/heart_full.png');
this.game.load.image('heart_empty', '../../../resources/image/ui/heart_empty.png'); this.game.load.image('heart_empty', '../../../resources/image/ui/heart_empty.png');
// this.game.load.image('a', '../../../resources/image/icon/fullscreen_white.png'); // this.game.load.image('a', '../../../resources/image/icon/fullscreen_white.png');