Commit Graph

6675 Commits

Author SHA1 Message Date
Thanos paravantis
18ff9c23f7 Modify block removal from Wave Crush challenge
The removeExtraBlocks() method was changed, in order to include all
arena blocks. The previous version did not remove all extra blocks,
as it was using the getArenaSize() method inside the for-loop, which
returns a different integer depending on the challengers.

To fix that, I've implemented the '_arenaStartSize' field to store the
starting arena size value that is used in the map generation method.
2016-04-03 16:53:14 +03:00
Thanos paravantis
114fac2655 Refactor Red Light Green Light challenge
Separated functionality into different methods in order to improve
readability and maintainability. All four abstract methods were
updated, in order to make sure they work as intended without any
second thoughts.

Moreover, a PlayerQuitEvent listener was added to remove players from
the '_cooldown' array list and a null check in the onEnd method, to
prevent any null pointer exceptions.

Also, there were some minor display changes, regarding titles and chat
messages on the moveTextAndSound() and cannotMoveTextAndSound() methods.

Lastly, the bedrock layer was removed from map generation.
2016-04-03 16:49:31 +03:00
Thanos paravantis
f454a6de81 Comment game classes and remove unnecessary checks
Added comments on game classes, except challenges
and statistics trackers.

Removed challenge validity checks from onCollide method in Anvil Dance
and Falling Blocks, since that is now handled on the Collide method
located in the main game class.
2016-04-02 22:49:56 +03:00
Thanos paravantis
12b90501e2 Refactor Wave Crush challenge
Separated functionality into different methods in order to improve
readability and maintainability. All four abstract methods were
updated, in order to make sure they work as intended without any
second thoughts.

Also, a new PlayerQuitEvent listener is added, in order to remove
players from the '_survivedWaves' hash map, which keeps track of
the waves every player survived.

Lastly, onCollide if-statement logic was reversed to reduce and
simplify the lines of code inside the method.
2016-04-02 22:10:43 +03:00
Thanos paravantis
51820faceb General bug fixes and minor changes. 2016-03-30 19:30:22 +03:00
Thanos paravantis
cd08e5581a Fix volley pig challenge, apply minor changes and bug fixes on Infestation, Reverse Tag. 2016-03-27 17:45:58 +03:00
Thanos paravantis
72994656dd Improve dragon egg handling. Implement chat silence during challenge description. 2016-03-21 22:06:49 +02:00
Thanos paravantis
644e7a08bb Bug fixes (detailed description below) and hit box improvements.
- Cancel teleport event to prevent the game from breaking.
- Block Lobbers: Fix falling block spawning and item drops.
- Color Change: Fix platform not spawning after first stage.
2016-03-20 23:26:55 +02:00
Thanos paravantis
f57bd37116 Rush push, cloud fall and treasure digger updates/refactoring. Added /mark command to reveal and correct misplaced spawn locations. 2016-03-20 17:20:40 +02:00
Thanos paravantis
8084897782 Rush Push: Update custom damage event listener. 2016-03-20 12:14:09 +02:00
Thanos paravantis
c080bc31ab Refactor rush push challenge, update win placement. 2016-03-20 11:10:16 +02:00
Thanos paravantis
1a51f51f60 Refactor color change, reverse tag and treasure digger challenge. 2016-03-19 17:36:27 +02:00
Thanos paravantis
115508cf72 Refactor onChallengeUpdate method. 2016-03-19 16:14:56 +02:00
Thanos paravantis
4c8292e7c9 Update color change and reverse tag challenge, changes and improvements and spawnpoints update. 2016-03-19 16:01:42 +02:00
Thanos paravantis
dd6d128b44 Rename files to match challenge name, change kit description, refactor color change challenge. 2016-03-18 18:36:32 +02:00
Thanos paravantis
2f96325f0c Challenge refactoring. 2016-03-12 11:16:37 +02:00
Thanos paravantis
1ee7a42b9c Challenge refactoring, modify challenge ending and chat messages, add generateGrass helper method. 2016-03-07 18:32:33 +02:00
Thanos paravantis
4e6ba4ebd1 Challenge refactoring. 2016-03-06 16:45:25 +02:00
Thanos paravantis
c2d5699aa8 Challenge refactoring, bug fixes, add additional helper methods. 2016-03-06 00:59:13 +02:00
Thanos paravantis
0f58c1378c Challenge refactoring. 2016-03-05 17:51:30 +02:00
Thanos paravantis
c30f6b0f96 Main class and challenge refactoring. 2016-03-05 17:06:07 +02:00
Thanos paravantis
51d4db5e46 Implement game settings and challenge list. Add isChallengeValid and isPlayerValid for event checks. 2016-03-04 20:01:08 +02:00
Thanos paravantis
9e09d8c477 Challenge refactoring. 2016-03-02 22:54:47 +02:00
Thanos paravantis
9a4f4dbd7c Merge branch 'master' into thanos-mineware 2016-03-02 18:47:30 +02:00
Thanos paravantis
60dfce4612 Challenge refactoring, move challenges to new package. 2016-03-02 18:45:27 +02:00
Thanos paravantis
cb8b180c2f Start challenge refactoring, implement helper methods. 2016-03-01 18:50:41 +02:00
Thanos paravantis
77871e3195 Implement challenge settings and data. 2016-03-01 17:09:43 +02:00
Thanos paravantis
6570adc4af Improve zombie on infestation challenge. 2016-02-29 22:40:09 +02:00
Thanos paravantis
dd538dedd5 Fix Lava Run challenge map generation. 2016-02-29 20:19:26 +02:00
Thanos paravantis
6a2f66f722 Challenge bug fixes and refactoring. 2016-02-29 15:07:33 +02:00
Thanos paravantis
2bc396dc17 General bug fixes and improvements, add map height preference. 2016-02-28 18:15:37 +02:00
Shaun Bennett
e8d5165634 Merge pull request #9 from Mineplex-LLC/develop
Merge v1.2.0 into Master
2016-02-27 20:06:55 -06:00
Thanos paravantis
bcb489f13d Map support and parse locations. Minor changes and bug fixes. 2016-02-27 00:13:02 +02:00
Thanos paravantis
1e08e1a5db Update player death handling, add aggressive chicken behavior, minor changes and refactoring. 2016-02-26 18:17:03 +02:00
Shaun Bennett
775b6eeffa Merge pull request #7 from Mineplex-LLC/feature/dmt-update
Draw My Thing Update
2016-02-26 04:38:10 -06:00
Shaun Bennett
b0301bbf24 Merge pull request #4 from Mineplex-LLC/feature/parser-commands
Add extra commands to the map parser
2016-02-26 04:34:18 -06:00
Shaun Bennett
923e51483c Remove fill line 2016-02-26 04:29:27 -06:00
Shaun Bennett
4472c52432 Fix bucket 2016-02-26 04:21:26 -06:00
William Burns
268536ce68 push 4 shaun 2016-02-26 08:13:28 +00:00
Thanos paravantis
0e697e279b Player death handling and chicken attack changes. 2016-02-25 23:35:38 +02:00
William Burns
e4ba5d9723 Fix colour targeting FINALLY! 2016-02-25 19:48:15 +00:00
William Burns
dead7a0850 Use a different method for targeting blocks. 2016-02-25 16:09:00 +00:00
William Burns
9a8c410448 Fix lore being null. 2016-02-25 15:39:18 +00:00
William Burns
009d48659b Add commands for naming items. 2016-02-25 15:29:47 +00:00
William Burns
a97409b64a Adjust max distance for targeting. 2016-02-25 15:04:19 +00:00
William Burns
7f6517a823 Ignore barrier blocks when drawing. 2016-02-25 14:23:16 +00:00
William Burns
19b6c3d95f Make sure the blocks are in the canvas. 2016-02-24 21:37:22 +00:00
William Burns
a5060e014b Replace old paint bucket recursive filling. 2016-02-24 21:34:41 +00:00
Thanos paravantis
1dbf7581d2 Add missing game class. 2016-02-24 21:45:38 +02:00
Thanos paravantis
27daace524 Rename game type to Bawk Bawk Battles, change item display to Egg. 2016-02-24 21:43:10 +02:00