Commit Graph

200 Commits

Author SHA1 Message Date
Jakob Haag
fa1b40b263 change auto-format to better style 2020-05-09 18:31:06 +02:00
Jakob Haag
6c28c49802 Auto-Format whole project 2020-05-09 18:20:33 +02:00
Jakob Haag
7e369cc7f5 Change assertion of null-able values team and player 2020-05-09 18:11:53 +02:00
Jakob Haag
b2533d2a7d import missing GameKit 2020-05-09 17:57:22 +02:00
Jakob Haag
a76fd69267 exchange the tabs with withspaces 2020-05-09 17:57:06 +02:00
Jakob Haag
6a847a0718 Update TwoPlayerDefaultTestMap.swift 2020-05-09 14:37:20 +00:00
Jakob Haag
1428720dc2 add local player as ownerShipPlayer for base1. Not final version --> ToDo 2020-05-09 15:23:45 +02:00
Jakob Haag
0dd1664506 change ownerShipPlayer on attackBase function 2020-05-09 15:23:28 +02:00
Jakob Haag
e1b0ac4d87 add nullable ownerShipPlayer to Base and add init of it to init-method 2020-05-09 15:22:24 +02:00
82joni1bif
91bc4fa59c change Build version 2020-05-07 21:02:23 +02:00
82joni1bif
b602841f8d Merge branch 'development'
Conflicts:
	GoldWars/GoldWars.xcodeproj/project.pbxproj
	GoldWars/GoldWars/Entities/EntityManager.swift
2020-05-07 20:19:40 +02:00
Aldin Duraki
6b8b11d14e Merge branch 'development' into '19-einheiten-bewegen'
# Conflicts:
#   GoldWars/GoldWars/GameViewController.swift
2020-05-07 18:17:24 +00:00
82joni1bif
c196ba721f ... 2020-05-07 20:14:53 +02:00
Niko Jochim
3580d5537e fix SliderComponent 2020-05-06 12:57:41 +02:00
Niko Jochim
185358a3d5 * Impl. basic attacking functionality
* added attacking Modal
2020-05-06 02:17:25 +02:00
Daniel Steckert
423ccc3208 Implement timer during rounds 2020-05-05 22:34:08 +02:00
Daniel Steckert
58d7a01fd1 Implement TimerComponent 2020-05-05 21:37:58 +02:00
Aldin Duraki
3b417cbe0e Minor code cleanup 2020-05-05 11:16:27 -07:00
Simon Kellner
084b79a7c0 Add flag(--no-matchmaking) to prevent matchmaking process and instantly open GameScene 2020-05-05 18:15:18 +02:00
Chauntalle Schüle
d97b124b83 cleaned up code 2020-05-05 11:44:33 +02:00
Chauntalle Schüle
3aef30b495 Kommentare eingefügt
Spielerzuweisung wird getestet
2020-05-05 11:00:11 +02:00
Ömer Özel
b8b37de349 Push MM 2020-05-05 00:35:27 +02:00
Chauntalle Schüle
e1d5af8a4a matchmaking funktioniert 2020-05-04 23:44:23 +02:00
Chauntalle Schüle
e21395d0db Checken ob match gefunden wurde 2020-05-04 21:44:50 +02:00
Chauntalle Schüle
54d31d929d Update MatchMakerHelper, added methods 2020-05-04 20:34:58 +02:00
Chauntalle Schüle
017e99183b add File to Project Tree 2020-05-04 15:22:48 +02:00
Chauntalle Schüle
71a59f2fa0 Add MatchmakingViewController 2020-05-04 15:13:04 +02:00
Niko
9b3bdbf34b implemented touch functionality 2020-05-03 15:46:48 +02:00
Niko
d72c10fa75 implement Background Entity and Component 2020-05-03 00:14:32 +02:00
Niko
94d7be35ff implemented ButtonEntity 2020-05-02 23:12:37 +02:00
Niko
fcf49e656d Merge remote-tracking branch 'origin/29-uberarbeitung-der-menuscene-button' into cleanup_scenes 2020-05-02 22:31:12 +02:00
Niko
fae2855bf9 stash 2020-05-02 22:29:16 +02:00
5eed82803b Remove unnecessary field form MapFactory 2020-05-02 21:55:08 +02:00
7fc4a5145f Do some polishing 2020-05-02 21:52:43 +02:00
0dbcbe5eb0 Move adjacency list into base
Fix typo in MapProtocol
Improve MapFactory
Generalize MapProtocol
2020-05-02 21:45:21 +02:00
54813ab44d Fix indentation in Base entity 2020-05-02 21:08:10 +02:00
67a345e9bf Add adjacency mapping 2020-05-02 20:47:33 +02:00
918979d750 Introduce column based layout 2020-05-02 20:22:31 +02:00
ffd4e0dfe0 Initialize team in Base model with default nil 2020-05-02 20:13:31 +02:00
c1bb6a47de Create Map Factory, remove texture name from base constructor 2020-05-02 20:08:30 +02:00
5a7c29b3b8 Extract player bases, simplify layout definition 2020-05-02 19:07:02 +02:00
ffc4c05a46 Extract default test map, add map protocol to game scene 2020-05-02 18:48:23 +02:00
4c37ac690c Move files to correct directory 2020-05-02 18:11:01 +02:00
5eb9daa02b Create files for Map model 2020-05-02 18:06:18 +02:00
Jakob Haag
868e10e7a4 fix spelling 2020-05-02 16:16:16 +02:00
Jakob Haag
311b19d9c2 add label of user is not logged in to GameCenter 2020-05-02 16:15:03 +02:00
Jakob Haag
cdb67f2d7c remove unused code and format 2020-05-02 16:14:46 +02:00
Jakob Haag
bb98c9d0a6 add rest of necessary swift files 2020-05-02 14:04:08 +02:00
Jakob Haag
c6d1adce9b init 100 units to the team-bases on init 2020-05-02 14:03:41 +02:00
Jakob Haag
e8654fbf54 move team-enum out of class 2020-05-02 14:03:14 +02:00
Jakob Haag
e9bd05c852 add GameCenterLogin-window to the GameViewController and fix size of the MenueScene 2020-05-02 14:02:24 +02:00
Jakob Haag
cdb4d69621 Add window to menu to see if the user is authenticated (ToDo) 2020-05-02 14:01:05 +02:00
Jakob Haag
0a94e64a25 add GameCenterHelper to login to GameCenter and recognize authenticated user 2020-05-02 13:59:34 +02:00
Niko Jochim
aae0a49da0 add fire to homebase 2020-05-02 01:22:53 +02:00
Niko Jochim
5b7c5039e1 add background to menu-scene 2020-05-02 00:14:21 +02:00
Niko Jochim
8d1aa1de66 added moving cloudy background 2020-05-01 23:57:23 +02:00
127-Z3R0
d8d80b8eb7 add asset SkyBackground and Components 2020-05-01 23:43:37 +02:00
Niko Jochim
3b80b945c4 impl. hud 2020-05-01 23:33:46 +02:00
Niko Jochim
323ca45e51 fix teamComponents reference 2020-05-01 22:02:26 +02:00
Niko Jochim
2ff1a1d705 add pop-Up base-details 2020-05-01 21:47:43 +02:00
Niko Jochim
706c879351 change architecture to entity-component 2020-05-01 17:55:42 +02:00
Aldin Duraki
6127f89e78 impf. EntityManager 2020-05-01 15:28:47 +02:00
Aldin Duraki
21b7fc00f7 Init Entity-Component Folder Structure 2020-05-01 15:09:46 +02:00
Aldin Duraki
9f569c30fa Flatten Project 2020-05-01 14:49:55 +02:00
Aldin Duraki
996800bc01 Impl. HUD for GameScene 2020-04-23 23:01:19 +02:00
Aldin Duraki
5ffe6fe81c Finalize MenuScene 2020-04-23 21:31:43 +02:00
Aldin Duraki
647ca473c3 Merge branch '15-logo-erstellen' into 'development'
add missing iPad icons

Closes #15

See merge request marcel.schwarz/software-projekt-2!19
2020-04-23 18:11:28 +00:00
c207e2a354 add missing iPad icons 2020-04-23 18:35:41 +02:00
Aldin Duraki
f21ca69061 Merge branch '15-logo-erstellen' into 'development'
Resolve "Logo erstellen"

Closes #15

See merge request marcel.schwarz/software-projekt-2!13
2020-04-23 16:30:47 +00:00
3ce979303e add logo 20 pt and 26 pt 2020-04-23 18:18:02 +02:00
72haja
31143265f6 add unitCount and unitType for basePlayer1 and basePlayer2 2020-04-22 18:17:07 +02:00
72haja
d8adce88d2 add attributes to Base for unitCount and unitType. Init attributes in constructor with default parameters 2020-04-22 18:16:25 +02:00
72haja
6c68a569b9 Change struct Unit to enum Unit 2020-04-22 18:14:27 +02:00
127-Z3R0
807ecdd75e Merge branch '15-logo-erstellen' of https://gitlab.com/marcel.schwarz/software-projekt-2 into 15-logo-erstellen 2020-04-22 16:59:21 +02:00
Aldin Duraki
fdbce8e56d Merge branch '11-view-background' into 'development'
Background add

Closes #11

See merge request marcel.schwarz/software-projekt-2!18
2020-04-22 14:49:41 +00:00
Aldin Duraki
6f8487e16e Refactor Unit class 2020-04-22 16:43:58 +02:00
Aldin Duraki
d5058afebb Merge branch '12-model-einheiten' into 'development'
Finalised Issue - Model Einheiten

Closes #12

See merge request marcel.schwarz/software-projekt-2!12
2020-04-22 14:34:39 +00:00
127-Z3R0
b87eb3dd53 delete portrait-mode and more refactoring with master Aldin 2020-04-22 16:29:28 +02:00
127-Z3R0
6712398f6a forgive me master 2020-04-22 16:25:06 +02:00
Ömer Özel
dffcb320b2 Background add 2020-04-22 16:22:06 +02:00
127-Z3R0
e91b2c3220 refactoring with master Aldin 2020-04-22 15:59:31 +02:00
127-Z3R0
d596442015 add physicsbody to base 6-7 and removal to func addPhysicsBodyToBase() 2020-04-22 14:04:40 +02:00
127-Z3R0
7b128a7ee8 delete commented Code and prints 2020-04-21 20:07:36 +02:00
Chauntalle Schüle
9be1401506 Change Variables 2020-04-21 19:16:35 +02:00
Simon Kellner
f2be3a955b add logo files in different sizes, update filenames in Contents.json 2020-04-21 16:24:01 +02:00
Chauntalle Schüle
06a4bea38d add struct für die Einheiten im File Unit.swift 2020-04-21 13:59:06 +02:00
127-Z3R0
f3036a5b33 fix interaction-menu with base - zPosition 2020-04-20 14:32:34 +02:00
127-Z3R0
4acd12ddc5 add PhysicsBody for Drag&Drop Functionality 2020-04-20 14:21:55 +02:00
127-Z3R0
7d57decb93 fix bound.size problem 2020-04-20 14:17:09 +02:00
127-Z3R0
dace2364da add addLines, connectBases 2020-04-20 12:58:47 +02:00
Niko Jochim
105a55644f modify GameScene Init, add createVirginBases 2020-04-20 12:49:49 +02:00
Niko Jochim
9a560d2fa0 changed base to SKSpriteNode and add effects touch/move 2020-04-20 12:33:57 +02:00
ee69f2c345 Add Bases, Autospawn 15 Bases
Add visual effect when base is touched
2020-04-19 02:42:47 +02:00
79dcc78f75 Make base spawn at touch 2020-04-19 02:42:16 +02:00
e82a7a90d2 Change Base texture to generic one 2020-04-19 02:38:26 +02:00
Aldin Duraki
e82d0a57f8 Impl Menu Scene
* added temporary buttons assets
2020-04-18 18:13:20 +02:00
4f3826df0c Formatting, remove unnecessary timestamp 2020-04-18 15:44:17 +02:00
8dfb274416 Remove sample code 2020-04-18 15:23:38 +02:00
Marcel Schwarz
90736a6785 Resolve "[View] Basis" 2020-04-18 12:17:04 +00:00
Aldin Duraki
91b928d59f Projectinit 2020-04-18 12:50:39 +02:00