Commit 9c3f21f8 authored by 18손재민's avatar 18손재민

시즌 15호 머지

parent 61ee6c98
...@@ -80,7 +80,7 @@ class GameRoom ...@@ -80,7 +80,7 @@ class GameRoom
{ {
this.roomId = GameServer.getRoomNumber(); this.roomId = GameServer.getRoomNumber();
this.roomIndex = -1; this.roomIndex = -1;
this.startCount = 3; this.startCount = 5;
this.maxPlayer = 100; this.maxPlayer = 100;
this.nextRank = 100; this.nextRank = 100;
......
assets/placeholder/panel.png

9.19 KB | W: | H:

assets/placeholder/panel.png

4.98 KB | W: | H:

assets/placeholder/panel.png
assets/placeholder/panel.png
assets/placeholder/panel.png
assets/placeholder/panel.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -230,7 +230,6 @@ FirebaseClient.prototype.updateUserData = function(key, valueChanged, replace = ...@@ -230,7 +230,6 @@ FirebaseClient.prototype.updateUserData = function(key, valueChanged, replace =
break; break;
} }
PlayerData.userData = beforeData; PlayerData.userData = beforeData;
console.log(beforeData);
return this.database.ref('/user-data/' + this.auth.currentUser.uid).update(beforeData); return this.database.ref('/user-data/' + this.auth.currentUser.uid).update(beforeData);
} }
......
...@@ -164,7 +164,8 @@ var menuScene = new Phaser.Class( ...@@ -164,7 +164,8 @@ var menuScene = new Phaser.Class(
function() function()
{ {
ScenesData.menuScene.gameStartBtn.setEnable(false); ScenesData.menuScene.gameStartBtn.setEnable(false);
ScenesData.menuScene.roomEnterDialog.setVisible(true).popUp(200); ScenesData.menuScene.roomEnterDialog.setVisible(true);
ScenesData.menuScene.roomEnterDialog.popUp(200);
}) })
this.shopBtn = UIObject.createButton(this, UIObject.createLabel(this, game.config.width - 100, 900, 5, 'pyeongminThrow', 0.5, 'center'), 1, 0, 2, this.shopBtn = UIObject.createButton(this, UIObject.createLabel(this, game.config.width - 100, 900, 5, 'pyeongminThrow', 0.5, 'center'), 1, 0, 2,
...@@ -473,8 +474,7 @@ var gameScene = new Phaser.Class( ...@@ -473,8 +474,7 @@ var gameScene = new Phaser.Class(
ScenesData.changeScene = function(sceneKey) ScenesData.changeScene = function(sceneKey)
{ {
ScenesData.currentScene.scene.switch(sceneKey); ScenesData.currentScene.scene.start(sceneKey);
Input.input = []; Input.input = [];
Input.converted = ''; Input.converted = '';
Input.convInput = ''; Input.convInput = '';
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -13,7 +13,7 @@ app.get('/', function(req, res) { ...@@ -13,7 +13,7 @@ app.get('/', function(req, res) {
}); });
// http 기본 포트(80)에 서버 열기 // http 기본 포트(80)에 서버 열기
server.listen(8080, function() { server.listen(80, function() {
console.log('[SERVER] Listening on port ' + server.address().port); console.log('[SERVER] Listening on port ' + server.address().port);
GameServer.serverNumber = Math.floor(Math.random() * 1000 + 1); GameServer.serverNumber = Math.floor(Math.random() * 1000 + 1);
console.log('[SERVER] server number is ${GameServer.serverNumber}'); console.log('[SERVER] server number is ${GameServer.serverNumber}');
......
Markdown is supported
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