Calum
e9881bb24a
Added per map max player count. Handles case when map cannot fit players behind start mark. Added initial implementation for spacing out yachts.
...
#implement #story[1275]
2017-09-27 02:04:24 +13:00
Calum
ab5ad58237
Merge branch 'develop' into story1275_host_customization
...
# Conflicts:
# src/main/java/seng302/visualiser/GameView3D.java
2017-09-26 23:37:59 +13:00
Calum
df7264cc1f
Added per map max player count. Handles case when map cannot fit players behind start mark. Added initial implementation for spacing out yachts.
...
#implement.
2017-09-26 23:34:19 +13:00
Zhi You Tan
5248921576
Multiple fixes:
...
- fix last button no longer default focused when loading keybinding dialog
- fix click and mouse exit still focused on button
- closing keybinding does not focus on chat anymore
#story[1273]
2017-09-26 22:52:58 +13:00
Michael Rausch
2dcdd1c248
Merge branch '1273_Changing_Cameras' into 'develop'
...
1273 changing cameras
# Multiple Camera Views
## 3 Camera Views Implemented
1. Normal 3D (Isometric)
2. Top Down Perspective
3. Chase Cam (Over the Shoulder)
- Isometric and Top Down Perspectives can Pan within limits.
- Chase Cam rotates the camera around the boat. (While still following it)
- All camera views can Zoom.
# Testing
No testing completed other than manually testing myself. A proper manual test should be completed by the merger.
See merge request !76
2017-09-26 18:36:59 +13:00
Alistair McIntyre
9b00f76907
removed print statements and added documentation.
...
tags : #story[1273]
2017-09-26 18:36:13 +13:00
Alistair McIntyre
f11c457d28
removed print statements
...
tags : #story[1273]
2017-09-26 18:31:47 +13:00
Michael Rausch
9e4fa30787
Merge branch 'issue68_boat_not_turning_on_starbord_vmg' into 'develop'
...
the boat can now turn after snapping to starboard vmg #story[1273]
See merge request !75
2017-09-26 18:11:24 +13:00
Alistair McIntyre
99ce4fa11d
Merged develop in and reimplemented keybindings for moving the camera.
...
tags : #story[1273]
2017-09-26 18:01:39 +13:00
Alistair McIntyre
69d1fa9488
Merge branch 'develop' into 1273_Changing_Cameras
2017-09-26 17:36:40 +13:00
Alistair McIntyre
66e6a8a2a4
- Small Changes
...
tags : #story[1273]
2017-09-26 17:35:36 +13:00
Peter Galloway
dd43097677
the boat can now turn after snapping to starboard vmg #story[1273]
2017-09-26 17:07:55 +13:00
Alistair McIntyre
1a53579317
- Isometric Camera
...
- Zoom Bounds added.
- Camera Panning Bounds added. Need to be tested with extra maps.
tags : #story[1273]
2017-09-26 16:57:07 +13:00
Haoming Yin
132a729758
Temporarily added more options in key binding dialog. But still need to implement binding after camera story has been merged into develop
...
tags: #story[1273]
2017-09-26 15:49:16 +13:00
alistairjmcintyre
2e7487fdfc
- Chase Camera:
...
- Has panning bounds, zoom bounds, and general tidy up.
- Now correctly observes the boat object rather than getting information from both the boat object AND the client yacht model.
Top Down Camera:
- Can only pan within certain bounds now, and will continue to follow the boat regardless.
- Can only zoom within certain bounds now.
Isometric Camera:
- Nothing changed.
#tags [1273]
2017-09-26 15:06:21 +13:00
Haoming Yin
1bd4db73cd
Issue 66: client side error pop ups use default javaFx style
...
- created JFeonix style pop up to replace the default one
tags: #story[1273]
2017-09-26 14:44:37 +13:00
Calum
e990c68d40
#document
2017-09-26 01:12:43 +13:00
Calum
83871a0336
Fixed boat trials rendering abnormally
...
#issue[65] #fix
2017-09-26 01:07:02 +13:00
Calum
51747e2d13
Refactored the 2D and 3D game view class setups. Made scaling more logical.
...
#refactor #story[1275]
2017-09-26 00:55:28 +13:00
Calum
b3981b19e0
Merge branch 'develop' into story1275_host_customization
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/gameServer/ServerToClientThread.java
# src/main/java/seng302/model/ServerYacht.java
# src/main/java/seng302/visualiser/ClientToServerThread.java
# src/main/java/seng302/visualiser/controllers/LobbyController.java
# src/test/java/seng302/models/YachtTest.java
2017-09-25 23:25:33 +13:00
Calum
3d7a64068f
Fixed scaling issues.
...
#fix
2017-09-25 23:19:03 +13:00
Calum
c12f7408ad
experimenting with map scaling
...
#implement
2017-09-25 22:57:45 +13:00
Calum
7027de80c4
Fixed issues with correct protocol implementation.
...
#issue[64] #fix #testmanual
2017-09-25 22:09:26 +13:00
Calum
35b50d1436
Refactored 2d game view distance calculations to better size and sale the map,
...
#implement #refactor #story[1275]
2017-09-25 21:06:18 +13:00
Zhi You Tan
0e93be7b36
Fixed send button traversable issue.
...
- removed sensitive characters.
#story[1278] #pair[hyi25, zyt10]
2017-09-25 17:06:36 +13:00
Zhi You Tan
191b818e38
Added close button for keyBindingDialog.
...
- fixed that you cannot bind the key you are using.
#story[1278] #pair[hyi25, zyt10]
2017-09-25 16:31:28 +13:00
Alistair McIntyre
00b09997b0
- Added Camera panning to chase camera mode.
...
tags : #story[1273]
2017-09-25 16:28:37 +13:00
Alistair McIntyre
d250c635d8
- Adjusted server tick rate to test smoothing
...
tags : #story[1273]
2017-09-25 15:32:13 +13:00
Alistair McIntyre
376c4d25a8
Merge branch 'develop' into 1273_Changing_Cameras
...
# Conflicts:
# src/main/java/seng302/model/ClientYacht.java
2017-09-25 14:40:19 +13:00
Alistair McIntyre
e66abb4340
- An attempt at chase cam smoothing. needs work.
...
tags : #story[1273]
2017-09-25 14:39:09 +13:00
Alistair McIntyre
a19e191684
- Chase cam kind of working, need to find a fix for the abrupt direction change.
...
tags : #story[1273]
2017-09-25 14:03:47 +13:00
Haoming Yin
19db6668da
Fixed merge conflicts in server yacht
...
tags #story[1278]
2017-09-25 11:09:14 +13:00
Haoming Yin
44275aec04
Merge branch 'develop' into Story1278_keybindings
...
# Conflicts:
# src/main/java/seng302/model/ServerYacht.java
2017-09-25 11:06:28 +13:00
Kusal Ekanayake
aa0149b9a7
Merge branch 'develop' into Story1274_custom_boat_stats
2017-09-24 18:08:54 +13:00
Kusal Ekanayake
f6b41f0513
Fixes Issue #59
2017-09-24 18:06:26 +13:00
Calum
9b00ba654a
Added a race importer. Added imported races to visualizer. Made it so that the host sets the race. Refactored server to no longer be dependant on a specific race. Tested functionality of map manually. Some bugs found and listed below.
...
#implement #testmanual #story[1275]
Known bugs:
* Can't move
* Map is off center in lobby view.
* 3D Map is off center
2017-09-23 22:45:53 +12:00
Haoming Yin
8dfdb228e9
Fixed a bug that game client tries to send turning mode packet when there is no socketThread
...
- add a if statement to check if socketThread is initialized before sending packet.
#story[1278]
2017-09-23 21:04:57 +12:00
Haoming Yin
1042817e4e
Snackbar's color can be changed according to the message type
...
- load a separate css file to change the color
- if the assignment failed, the snackbar prompt will be red, otherwise theme color
#story[1278]
2017-09-23 20:59:29 +12:00
Haoming Yin
066557584f
Implemented turning mode toggle
...
- when the mode is toggled, a boat action package will be sent to notify server
to change the boat's turning mode
- turning mode toggle is now fully functional
#story[1245]
2017-09-23 19:37:13 +12:00
Haoming Yin
4011295b8b
Slightly optimised code style and add more functionality
...
- optimised UI
- check conflicts when change key bind if the key has already been in use
- abstract keybind as a separate singleton class so all class can access it
- [WIP] turning mode is need to be finished
#story[1245]
2017-09-23 17:52:48 +12:00
Kusal Ekanayake
0a885dd8fd
Clean up changes
...
#story[1274]
2017-09-23 15:37:16 +12:00
Kusal Ekanayake
e9b50038a9
Balance changes. Always wanted to use that as a commit message.
...
#story[1274]
2017-09-23 15:09:22 +12:00
Kusal Ekanayake
364264377a
Fixed merge errors and reimplemented handling multiplier
...
#story[1274]
2017-09-23 15:04:11 +12:00
Kusal Ekanayake
9112183ac3
Merge branch 'develop' into Story1274_custom_boat_stats
...
# Conflicts:
# src/main/java/seng302/model/ServerYacht.java
# src/main/java/seng302/visualiser/controllers/dialogs/BoatCustomizeController.java
2017-09-23 14:48:50 +12:00
Zhi You Tan
957821f1f2
[WIP] Created a snackbar for notification. Currently used for keybinding success/fail. Need to show red if fails.
...
#story[1278]
2017-09-23 01:39:26 +12:00
Zhi You Tan
094eb4c1cf
Merge remote-tracking branch 'origin/develop' into Story1278_keybindings
...
# Conflicts:
# src/main/resources/views/RaceView.fxml
2017-09-22 21:22:06 +12:00
William Muir
22fdf1e4ac
Changed the boatType attribute from all around the place from String lit to enum
...
#story[1274]
2017-09-22 21:00:28 +12:00
William Muir
da8c91f5c1
Review fixes for merge request.
...
PlayerCell now takes in the yacht for construction rather than taking in a whole lot of values extracted from the yacht
Reduced boiler plate in BoatCustomizeController
#story[1274]
2017-09-22 20:44:06 +12:00
Kusal Ekanayake
52dc7a956d
Turned handling into a multiplier.
...
#story[1274]
2017-09-22 17:42:32 +12:00
Kusal Ekanayake
9f64b2380d
Implemented acceleration and full loading bars.
...
#story[1274]
2017-09-22 17:28:42 +12:00