Commit Graph

281 Commits

Author SHA1 Message Date
070c1f8720 removed unnecessary lines of code 2016-05-13 22:16:54 +02:00
Bokros Bálint
1974396f61 Implemented initial player death 2016-05-13 22:10:54 +02:00
7f98954211 added an empty image 2016-05-13 22:05:24 +02:00
b732413631 implemeted Replicator "AI", it now moves around randomly in a fixed rate 2016-05-13 22:00:49 +02:00
4aa307a254 refactored Game.getRandomDirection() to Direction.getRandom() 2016-05-13 22:00:06 +02:00
Bokros Bálint
5db401d2ab Fixed issue where mapselectorpanel would initialize more than once 2016-05-13 21:34:13 +02:00
Bokros Bálint
12cb4fd10f Fixed multiple key handlers being registered on restarted game 2016-05-13 21:31:46 +02:00
b72fc8f1ca fixed a bug regarding panels when starting a new game 2016-05-13 21:10:14 +02:00
Bokros Bálint
37fa657720 Refactored flowoftime construction, fixes #9 2016-05-13 21:05:34 +02:00
1a2d0fdfeb now ending outcomes of the game work purrfectly 2016-05-13 20:56:17 +02:00
Bokros Bálint
cb99f84ded Boxes now cannot be put on walls -- and other places, where they don't belong
fixes #8
2016-05-13 20:54:17 +02:00
Bokros Bálint
6700c33b8d Player is now floating between dimensions if the exit of the other stargate is blocked
also fixes #7
2016-05-13 20:48:48 +02:00
d64fb27413 updated map format to read time limit & max ZPM count needed to win 2016-05-13 20:31:28 +02:00
3be072e282 Complete overhaul of Application & ApplicationFrame so that game can end 2016-05-13 20:31:28 +02:00
5585028819 added Anubis & game won pictures 2016-05-13 20:31:28 +02:00
Bokros Bálint
e3ce590d1d Fixed remaining errors with teleporting
closes #6
2016-05-13 20:27:05 +02:00
Bokros Bálint
d14ce39ee1 Added invert to Direction 2016-05-13 20:26:02 +02:00
Bokros Bálint
595d5d6048 Stargates are now finally spawned correctly
Fixes #3
2016-05-13 19:15:53 +02:00
Bokros Bálint
d1a20ff5dc Added isSpawned method to Stargate 2016-05-13 19:15:28 +02:00
2fdb311315 Fixed a bug where an equal Scale treshold wouldn't open Gates. 2016-05-13 18:47:26 +02:00
42467c7384 onExit() is now properly called in PlayerBase.move(). this fixes #5. 2016-05-13 18:43:50 +02:00
Bokros Bálint
314428b273 Refactored spawnStargate, with default implementation in base class 2016-05-13 18:38:56 +02:00
78b7645bfe made Game.updateDisplay() actually work. thanks whoever fucked it up!
closes #4.
closes #2.
2016-05-13 18:37:18 +02:00
b2505d283d added Control.ioErrorMessage() method (USE THIS TO HANDLE IOExceptions) 2016-05-13 18:22:48 +02:00
06f4e32942 added method Tile.isSteppable() for obvious reasons... 2016-05-13 17:59:14 +02:00
39a442ba14 fixed a bug where Dungeon.buildDungeon would set map directions upside down 2016-05-13 17:28:29 +02:00
9753fa2931 added null check to PlayerBase.move() 2016-05-13 17:23:37 +02:00
a1f5c55f41 removed unnecessary TODOs from code 2016-05-13 17:13:26 +02:00
Bokros Bálint
7f7025219e Dirty, but working event subscribe 2016-05-13 17:11:01 +02:00
Bokros Bálint
76057a4712 KeyHandler is properly nested now 2016-05-13 17:11:01 +02:00
3b5ef952bc added Application.java (main entry point) 2016-05-13 16:55:39 +02:00
Bokros Bálint
a0f47a6e05 Added rotate to key options 2016-05-13 16:08:53 +02:00
Bokros Bálint
c9ec85cec5 Implemented updateDisplay 2016-05-13 16:08:27 +02:00
8c0db35b3c added new test dungeon 2016-05-13 16:03:13 +02:00
ericnerdo
3522c83baa ApplicationFrame now calls gamepanel.DrawVisuals().
Meow. :3
2016-05-13 15:32:32 +02:00
ericnerdo
cc1094512a Replicator fixed.
Fucking Granny...
2016-05-13 15:29:15 +02:00
6a8d73c098 babilon quickfix: added EXIT_ON_CLOSE to ApplicationFrame. 2016-05-13 15:27:54 +02:00
ericnerdo
e18d1a61bf PlayerDrawer.java fixed.
Kitten haaad a bad name :3 :(
2016-05-13 15:22:33 +02:00
ericnerdo
13124567a0 ScaleDrawer now handles boxes properly
MEOOOOW Kitten boxes ^^ :3
2016-05-13 15:19:32 +02:00
ericnerdo
cc73a671f5 GateDrawer now handles open-close properly
Meow.
2016-05-13 15:17:39 +02:00
ericnerdo
e64e18233c PlayerDrawer now handles rotation.
PlayerDrawer is now sync'd with source images.
2016-05-13 15:15:43 +02:00
ericnerdo
f38c4e5bd6 ReplicatorDrawer now handles every Directions.
PlayerBase.draw() is now synchronized.
2016-05-13 15:05:55 +02:00
Hegedus Fanni
6bc50e7810 added png pictures to the root 2016-05-13 15:00:59 +02:00
Bokros Bálint
48859a676c Fixed typo 2016-05-13 14:53:31 +02:00
ericnerdo
969b80c8eb GameSession starting added
Users can now start game by clicking on the mapname.
2016-05-13 14:36:32 +02:00
ericnerdo
cf52cb6cba Game.startGame() modified.
startGame now adds Players and Replicator to Display.
2016-05-13 14:36:32 +02:00
Hegedus Fanni
dce3313c83 added Graphics files psd 2016-05-13 14:33:36 +02:00
024a1e8a9a added Dungeon & Display setters to Game 2016-05-13 14:06:02 +02:00
Bokros Bálint
3cd196df78 Refactored Game following the footprints of Socc
such Singleton, very software techniques, much patterns
2016-05-13 13:58:23 +02:00
ccff798960 implemented event handler for ApplicationFrame's mapselecting 2016-05-13 13:06:48 +02:00