Commit Graph
100 Commits
Author SHA1 Message Date
hba56 a8cd7755b8 color fix for multiple boats
#story[1306]
2017-09-27 22:47:33 +13:00
hba56 1783e73caf color fix for first leg
#story[1306]
2017-09-27 22:39:47 +13:00
hba56 7b5460abc5 info full screen map shows on top of hud
#story[1306]
2017-09-27 14:17:22 +13:00
hba56 2ac3bad6e1 info table shows on top of hud
#story[1306]
2017-09-27 13:54:02 +13:00
hba56 4e8f1a2b19 Placed the waypoint arrow in the HUD
#story[1306]
2017-09-27 13:39:27 +13:00
hba56 2f6fa73349 Merge remote-tracking branch 'remotes/origin/master' into raceView_UI 2017-09-27 13:21:41 +13:00
Hamish Ball f9f3213397 Merge branch 'story1299_next_mark_direction' into 'master'
Story1299 next mark direction

- Shows a 2d arrow to next mark when zoomed out
- Shows a 3d arrow to next mark when zoomed in

See merge request !63
2017-09-27 13:19:53 +13:00
hba56 173b4444da Placed the wind arrow in the HUD
#story[1306]
2017-09-27 12:04:56 +13:00
hba56 fc267a6a49 Merge remote-tracking branch 'remotes/origin/master' into raceView_UI
# Conflicts:
#	racevisionGame/src/main/resources/visualiser/scenes/newRaceView.fxml
2017-09-27 12:04:03 +13:00
Hamish Ball 5ed1bc1737 Merge branch 'story1306_wind_arrow' into 'master'
Story1306 wind arrow

AC's:
-Re-vamp current wind arrow to be a new 3D arrow
-Arrow moves depending on the view of the race

See merge request !61
2017-09-26 15:46:37 +13:00
hba56 34789ce3b5 mailmap 2017-09-25 12:15:41 +13:00
hba56 ff59f7ff9c Added a new hud for the race view
#story[1301]
2017-09-23 22:38:27 +12:00
hba56 bb24e13387 Merge remote-tracking branch 'remotes/origin/master' into raceView_UI
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/RaceViewController.java
#	racevisionGame/src/main/resources/visualiser/scenes/newRaceView.fxml
2017-09-23 22:35:22 +12:00
hba56 7418f7b4e6 adding new assets for race view hud
#story[1301]
2017-09-23 18:58:54 +12:00
hba56 c43633f197 Merge branch 'master' into raceView_UI 2017-09-23 18:37:12 +12:00
hba56 4242d05279 fixed issue with being unable to click through minimap
#story[1295]
2017-09-21 20:34:21 +12:00
hba56 add1d3996d Set map colour back to a lighter colour as it didnt work as well on lower grade monitors
#story[1195]
2017-09-21 00:04:07 +12:00
hba56 dacaf58271 Merge remote-tracking branch 'remotes/origin/master' into minimap_test 2017-09-20 23:46:02 +12:00
hba56 b787b5a71b changed map to dodgerblue 2017-09-20 22:25:18 +12:00
hba56 afc42cf2ab lowered opacity 2017-09-20 22:22:07 +12:00
hba56 50125e0151 moved minimap to left so does not overlap with speedo 2017-09-20 22:03:22 +12:00
hba56 f7d866144a Map now only shows annotations when in full screen
#story[1295]
2017-09-19 22:08:27 +12:00
Hamish Ball ccbe3f86ea Merge branch 'spectate_mode_basic' into 'master'
Spectate mode basic

Client can now select spectate when connecting to a race.
- The "Join game" button has been split into "Participate" and "Spectate".
- Selecting spectate should join the game, but not assign a boat.
- Spectator cannot control any boats, or have an effect on game.
- Can spectate a game even if it is full.


See merge request !49
2017-09-19 21:23:14 +12:00
hba56 d3f1e3baa4 Merge remote-tracking branch 'remotes/origin/master' into spectate_mode_basic 2017-09-19 12:38:51 +12:00
hba56 f3f60acac6 resize map 2017-09-18 10:44:34 +12:00
hba56 731be68831 test for a minimap 2017-09-18 10:22:01 +12:00
Hamish Ball 97aa917403 Merge branch 'boat_color_and_speed' into 'master'
Boat color and speed

- Boats are colored by their assigned color.
- Boat name is displayed in lobby.
- Boats don't move quite so fast.

See merge request !50
2017-09-15 01:25:07 +12:00
hba56 e0d886ffb2 overlay off by default
#story[1195]
2017-09-14 23:53:13 +12:00
hba56 3131d67cf2 Merge remote-tracking branch 'remotes/origin/master' into scoreTable 2017-09-14 23:50:29 +12:00
hba56 88f1a393f2 Made the info tab into an overlay
#story[1195]
2017-09-14 23:40:02 +12:00
hba56 c17900a461 Merge remote-tracking branch 'remotes/origin/master' into scoreTable 2017-09-14 22:25:33 +12:00
Hamish Ball 0888a743a7 Merge branch 'storyD-3D' into 'master'
D and A

D) As user I wish to play on a modern day 3D view

Description: The current base of the game is run on a 2D dot and line canvas, this will be overhauled and replaced with a 3D view of the game.

Acceptance Criteria:

- Boats, and markers in the race are now 3D.
- Sea has a surface.
- Race runs and is reflected on the 3D view.
- Skybox must be present.
- Boundary must be shown (2D or 3D)
- Annotations do not need to be shown.

Tests:
- When the FXML's are split make sure that the race still changes panes to reflect each stage of the race, prestart, racing, and finish.
- The boats headings on the 3D models are the correct orientation (if they aren't facting forward on load please tell Fan-Wu as this should be an issue with the stl file).
- The camera is "fixed" for now.
- The base pane of the race is a stack pane so we can stack an annotations layer, or control layer, etc in the future.

A) [V] As a player I would like for the style of the application to be informative

Acceptance criteria:
*  The direction to the next mark is shown in 3rd person view
*  The next mark to be rounded is highlighted
*  Player is notified with a sound effect when the mark is rounded
*  Collisions are made clear and give visual and audio feedback
*  The score table overlays on the race and does not affect scaling


See merge request !46
2017-09-14 16:57:17 +12:00
hba56 86de4e7c0c Merge remote-tracking branch 'origin/master' 2017-09-14 16:27:54 +12:00
hba56 004aebceb5 fix null pointer when playing tutorial 2017-09-14 16:27:36 +12:00
hba56 083eb5a4bc updated race view that does not use a split pane 2017-09-14 13:45:46 +12:00
hba56 87f3265640 pushed branch
#story[1195]
2017-09-14 13:06:39 +12:00
hba56 81a04c987b Changed the ip of the matchbrowser to that of the CI. 2017-09-13 23:50:55 +12:00
hba56 4c52673fc1 javadoc fixes
#story[1188]
2017-09-13 17:12:24 +12:00
hba56 e4dbebfcac Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/mock/xml/RaceXMLCreator.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostGameController.java
#	racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
#	racevisionGame/src/main/java/visualiser/Controllers/TitleController.java
#	racevisionGame/src/main/java/visualiser/app/App.java
#	settings/keyBindings.xml
2017-09-13 16:14:07 +12:00
hba56 fd120edaf9 Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/mock/xml/RaceXMLCreator.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostGameController.java
#	racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
#	racevisionGame/src/main/java/visualiser/Controllers/TitleController.java
#	racevisionGame/src/main/java/visualiser/app/App.java
#	settings/keyBindings.xml
2017-09-13 16:13:14 +12:00
hba56 00780e17e9 Merge remote-tracking branch 'remotes/origin/temp77' into story77
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/InGameLobbyController.java
#	racevisionGame/src/main/resources/visualiser/scenes/gameLobby.fxml
#	racevisionGame/src/main/resources/visualiser/scenes/hostgame.fxml
2017-09-13 15:17:37 +12:00
hba56 aafc0dc9db Merge remote-tracking branch 'remotes/origin/temp77' into story77
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/InGameLobbyController.java
#	racevisionGame/src/main/resources/visualiser/scenes/gameLobby.fxml
#	racevisionGame/src/main/resources/visualiser/scenes/hostgame.fxml
2017-09-13 15:16:06 +12:00
hba56 079d93fc0f Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
#	racevisionGame/src/main/java/visualiser/Controllers/MainController.java
#	racevisionGame/src/main/resources/visualiser/scenes/main.fxml
#	settings/keyBindings.xml
2017-09-13 14:22:46 +12:00
hba56 70ccb4cf1c Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
#	racevisionGame/src/main/java/visualiser/Controllers/MainController.java
#	racevisionGame/src/main/resources/visualiser/scenes/main.fxml
#	settings/keyBindings.xml
2017-09-13 14:00:40 +12:00
hba56 731c0b0e61 send out to every client fix 2017-09-13 13:34:26 +12:00
hba56 2c06a46ad2 send out to every client fix 2017-09-13 12:59:49 +12:00
hba56 5fb24307ec send out to every client fix 2017-09-13 12:48:47 +12:00
hba56 bed9f8b07a send out to every client fix 2017-09-13 12:19:33 +12:00
hba56 4adcd6322c send out to every client 2017-09-13 12:05:09 +12:00
hba56 3d58801760 matchbrowser now updates and flushes in a better time frame. 30s for flush as thats the time for match lobbys and 5s for update 2017-09-12 22:02:51 +12:00
hba56 4dcff5c009 SeaSurface files have been added to display the surface in the lobby. Surface is now drawn in the lobby 2017-09-12 21:55:23 +12:00
hba56 e3ddb272c0 Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/shared/model/Constants.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/resources/visualiser/scenes/hostgame.fxml
2017-09-12 15:13:35 +12:00
hba56 ddc3a6ae47 boxes in lobby are now boats 2017-09-09 16:26:17 +12:00
hba56 e5d8a4028d Merge remote-tracking branch 'remotes/origin/master' into story77
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/java/visualiser/layout/Subject3D.java
#	racevisionGame/src/main/java/visualiser/layout/View3D.java
#	racevisionGame/src/main/resources/visualiser/scenes/hostlobby.fxml
2017-09-09 16:20:00 +12:00
hba56 ae8fa312a3 removed sout and added a longer startup time. Also fixed race xmls to remove set boats 2017-09-09 15:37:35 +12:00
hba56 ea1594a839 Merge remote-tracking branch 'remotes/origin/master' into Story_76
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/resources/visualiser/scenes/hostgame.fxml
2017-09-09 15:35:02 +12:00
hba56 5e516b0508 re added the standard race
#story[1193]
2017-09-08 18:12:51 +12:00
hba56 4c2ab9cc9a Merge branch 'master' into story77
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
#	racevisionGame/src/main/java/visualiser/model/View3D.java
2017-09-08 17:28:17 +12:00
hba56 4780354452 Errors in this commit: mock threads get interrupted
#story[#1188]
2017-09-08 16:35:36 +12:00
hba56 63e2cc1fd0 Merge remote-tracking branch 'remotes/origin/story77_lobby' into story77
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/HostController.java
2017-09-08 13:34:48 +12:00
hba56 a494eb4a6d games are now added on the correct port
#story[1188]
2017-09-08 12:04:54 +12:00
hba56 d3ddff8bf1 host game start button added margins
#story[1193]
2017-09-08 11:52:21 +12:00
hba56 d302a08a14 fix for ci builds
#story[1193]
2017-09-07 19:25:49 +12:00
hba56 e82c59a8a4 New css for the host game window
#story[1193]
2017-09-07 19:21:08 +12:00
hba56 cbfcd3aa0d Images
#story[1193]
2017-09-07 17:17:40 +12:00
Hamish Ball 321359be07 Merge branch 'vmg_fix' into 'master'
Vmg fix

Note: there should be a small deadzone between upwind and reaching/running where pressing the key has no effect so that issues in judging the exact TWA of the boat don't lead to a surprising direction change.

Turn off toggle

Remember to close Issue#43 when you have finished DoD'ing



See merge request !37
2017-09-06 20:10:42 +12:00
hba56 dfd3cb96f3 removed System.out.println 2017-09-06 20:05:54 +12:00
hba56 0886a60911 arrow Flip 2017-09-06 17:08:53 +12:00
hba56 86f495a551 javaDoc 2017-09-06 17:04:15 +12:00
hba56 4ec2a50d20 Image Scales
#story[1193]
2017-09-06 14:53:02 +12:00
hba56 4eac3ea8b5 Updated the HostGame now has images for the maps and the map can be picked
#story[1193]
2017-09-06 13:49:18 +12:00
hba56 9560486248 Merge branch 'Story_76' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into Story_76 2017-09-06 11:57:04 +12:00
hba56 6b9c041c6b Merge remote-tracking branch 'remotes/origin/master' into wind_(story53)
# Conflicts:
#	racevisionGame/src/main/java/mock/app/Event.java
#	racevisionGame/src/main/java/mock/model/MockRace.java
2017-09-05 23:37:17 +12:00
hba56 dbd4703e74 javadoc fix 2017-09-05 23:21:49 +12:00
Hamish Ball 28d27a7b2b Merge branch 'C_keybindings' into 'master'
C keybindings

AC:
* All keybindings can be easily changed in the start screen
* Buttons are replacable on clicking on the current button assigned.
* When the current button assigned is clicked the text should turn "blank" and return to with text after a new button has been pressed or escape has been pressed.
* There cannot be more than one active replace button at a time.
* Reset to default should reset to the keys defined by the P.O (but with UP, DOWN instead of PG_UP, PG_DWN)
* Buttons should not save until the user exits with "save"

See merge request !35
2017-09-04 15:27:36 +12:00
hba56 8287fbf6ba Updated the HostGame window to support maps
#story[1193]
2017-09-04 15:05:31 +12:00
hba56 66699a4660 Added a draft for a new Course layout
#story[1193]
2017-09-01 14:31:01 +12:00
hba56 ec5bc9c6aa Wind now will occasionally back and veer (in some games, takes ~20min for full 180 degree rotation)
#story[1188]
2017-09-01 13:19:59 +12:00
hba56 5676d435b0 hosts now send info then wait rather than wait then send
#story[1188]
2017-09-01 12:20:48 +12:00
hba56 d1c0797db7 hosting a game now continues to send out the info of the race
#story[1188]
2017-08-31 15:06:43 +12:00
hba56 a1fa09962a matching table now stores the correct ip of the hosts
#story[1188]
2017-08-31 13:55:16 +12:00
hba56 9161f69547 updating match table to store ip and port of clients and hosts
#story[1188]
2017-08-31 13:45:04 +12:00
hba56 960b1213fb fix so that test pass
#story[1188]
2017-08-30 15:31:28 +12:00
hba56 83f756d7d8 packets can now be sent from client to match server
#story[1188]
2017-08-30 15:26:54 +12:00
hba56 b2bd4fdc1c network interface 2017-08-30 12:13:17 +12:00
hba56 ca0a3f2a8b encoders and decoders for the hosted games request message with datatype and test
#story[1188]
2017-08-29 15:28:03 +12:00
hba56 cb8e81a7b2 encoders and decoders for the host game message with datatype and test
#story[1188]
2017-08-29 14:38:42 +12:00
hba56 5b6b0a9978 added the new program for holding known games
#stroy[1188]
2017-08-29 12:57:19 +12:00
Hamish Ball 7086af6057 Merge branch 'demo_6_no_rotation' into 'master'
Removed old modules & fixed wind arrow direction

This branch removes the old modules (visualiser, network, mock), and adds a new one - dedicatedServer.

It also fixes the wind arrow direction as pointed out by P.O during the demo.

Changed the maven version number to 2.0.

This branch also has the map rotation disabled until we get rotation+rounding working together.

See merge request !32
2017-08-29 11:16:47 +12:00
hba56 b886cb426f guide line last leg fix 2017-08-17 22:38:31 +12:00
Hamish Ball 27e8cddd94 Merge branch 'new_issue#19' into 'master'
New issue#19



See merge request !31
2017-08-17 17:08:55 +12:00
Hamish Ball d2f9bfedcb Merge branch 'issue_18_track_alpha' into 'master'
Issue 18 track alpha

This should resolve #18.

Track point system is now a line, and updated more frequently.
Line fades over time.

The boat wake is also longer, and has a black dot at the end.

See merge request !28
2017-08-17 13:50:44 +12:00
Hamish Ball 2edb6b5249 Merge branch 'issue#40' into 'master'
Issue#40



See merge request !30
2017-08-17 13:49:58 +12:00
hba56 02ab0e8a00 added javadoc 2017-08-17 13:16:47 +12:00
hba56 3cf50c56f8 added a refresh for the info table so no new values are shown when the game is in full screen 2017-08-17 13:15:33 +12:00
Hamish Ball 96acb6251e Merge branch 'story66-collision' into 'master'
66. [M] As Gemma, I'd like boats and marks to act as barriers to movement so that another player cannot beat me by just ignoring marks and other boats on the course.

Note: as boats and marks don't start in overlapped positions, we are only concerned with collisions. 

Acceptance criteria:
- No boat can pass within an agreed distance of the centre of another boat or mark
- Boats that hit other objects are repelled twice the agreed distance in the opposite direction to their current heading

See merge request !27
2017-08-17 12:14:30 +12:00
hwball 86d94ef27e javadoc fix 2017-08-17 11:58:13 +12:00
hwball df2b674b94 update scale for table displaying 2017-08-17 11:51:33 +12:00
hba56 ee0cc4b704 Merge branch 'issue#40' into Development 2017-08-16 22:41:49 +12:00
hba56 fdd0b30a51 Added the ability to hide and show info table with a key press
-the wind arrow also scales with the new size of the screen
2017-08-16 02:04:07 +12:00