final release

This commit is contained in:
Jakob Haag 2020-07-02 17:50:01 +02:00
parent 66aa21ccb4
commit 59c55cdd74
7 changed files with 6 additions and 4 deletions

View File

@ -614,6 +614,7 @@
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = DDKFQG46BQ;
INFOPLIST_FILE = GoldWars/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.5;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@ -637,6 +638,7 @@
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = DDKFQG46BQ;
INFOPLIST_FILE = GoldWars/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.5;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",

View File

@ -178,9 +178,9 @@ final class GameCenterManager: NSObject, GKMatchmakerViewControllerDelegate, GKG
(EntityManager.gameEMInstance.scene as! GameScene).gameEnd()
case 6:
os_log("State 6 erhalten, Peer hat Spiel verlassen ", log: LOG, type: .info)
(EntityManager.gameEMInstance.scene as! GameScene).gameQuit()
opponentQuit = true
quitGame = true
(EntityManager.gameEMInstance.scene as! GameScene).gameQuit()
default:
break
}

View File

@ -22,8 +22,8 @@ class GameViewController: UIViewController {
scene.scaleMode = .aspectFill
view.presentScene(scene)
//TODO: create dev profile or remove on delivery
view.showsFPS = true
view.showsNodeCount = true
// view.showsFPS = true
// view.showsNodeCount = true
}
GameCenterManager.sharedInstance.viewController = self
}

Binary file not shown.

View File

@ -20,7 +20,7 @@ class RoundCalculatorService {
let ATK_BOOST_MULTIPLICATOR = 1.1
let DEF_BOOST_MULTIPLICATOR = 1.1
let MAX_ROUNDS = 3
let MAX_ROUNDS = 20
var currentRound = 1
var isCalculating = false
var numberOfAttacks = 0