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
William Muir
29b97a194d
Merged dev back on
...
#story[1293]
2017-09-25 11:26:44 +13:00
William Muir
8a0ad8d6a9
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/gameServer/GameState.java
# src/main/java/seng302/model/ServerYacht.java
2017-09-25 11:19:10 +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
Michael Rausch
ca320f7fb8
Merge remote-tracking branch 'origin/1273_Changing_Cameras' into 1281_Server_Discovery_Internet
2017-09-25 00:18:35 +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
William Muir
78259f8e33
Boat now changes color when it is bumped for a time
...
ClientYacht: Added ColorChangeListener from GameView3D to re paint the boat when the color attribute is changed
#story[1293]
2017-09-23 16:54:03 +12:00
William Muir
c47e5b1450
Boat now changes color when it is bumped for a time
...
ClientYacht: Added ColorChangeListener from GameView3D to re paint the boat when the color attribute is changed
#story[1293]
2017-09-23 16:31:18 +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
William Muir
8c7f9a878d
Created Boat bumper logic. Refactored logic for powering up / dpwn
...
YachtEventType: Added some new events, a generic power down event and a bumper_crash event for an affected boat
GameState: Implemented boat bumper logic
MessageFactory: Made new messages for powerdown and status effect
ClientYacht: Had to create another powerDown functional interface to inform the race view controller when to turn off the icon
RaceViewController/GameClient: Now waits for a message about powering down before turning off rather than waiting time client side
#story[1293]
2017-09-23 13:23:16 +12:00
William Muir
ecb3d4ecbf
Removed sendServerMessage to be replaced with notifyMessageListeners. Minor structure move arounds
...
#story[1293]
2017-09-23 11:49:56 +12:00
William Muir
e61b6d50a1
Small refactor. Fixed tokens to spawn on the minute mark.
...
Moved updates of wind and token timers into gamestate from mainserver thread. Now triggered upon GameState change to start
#story[1293]
2017-09-23 11:33:01 +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
William Muir
061e49bab9
Implemented wind walker algorithm. Refactored some GameState updating logic to allow for better token logic integration
...
GameState: Moved all token logic into its own function startPoint so that it is dsijoint from other updating logic
GameState: Implemented wind walker algorithm.
GameState: Changed Generic 'speedMultiplier' to 'serverSpeedMultiplier' to make it obviously disjoint from a boats speed multiplier
MessageFactory: Moved some found message creation (Chatter Message) server side into MessageFactory that wasnt already there
ServerYacht: Added a speed multiplier and a handling multiplier to the serveryacht class that is set and reset upon powerup / down
#story[1293]
2017-09-22 23:44:03 +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
a3c555d5fe
Merge remote-tracking branch 'origin/develop' into 1293_PowerUps
...
# Conflicts:
# src/main/java/seng302/model/ClientYacht.java
2017-09-22 21:18:58 +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
Kusal Ekanayake
b05580f018
Worked on making a visual component to the stats. Need to implement acceleration.
...
#story[1274]
2017-09-22 16:45:10 +12:00
Kusal Ekanayake
faeece27ff
Started working on individual boat stats. Already modified turning rate. Need to add a vsual component.
...
#story[1274]
2017-09-22 13:52:35 +12:00
Michael Rausch
5e3ae40d03
Made discovery more reliable & added docs/tests
...
- Added unit tests
- Added documentation for discovery classes
- Improved error handling
Tags: #story[1281]
2017-09-22 00:01:13 +12:00
Michael Rausch
95ad7a4840
Finished implementing room codes.
...
- Fixed bug where room code wasn't parsed correctly
- Added room code selection to server list screen.
- Added room code to hosts lobby.
- Implemented communication protocols on the game client.
Tags: #story[1281]
2017-09-21 22:48:33 +12:00
Calum
6ca75b2cac
Changed default race
2017-09-21 15:08:39 +12:00
Alistair McIntyre
6ff309a40c
- Perspective Camera Works
...
- Top Down Camera Works
- Started on chase cam but the math is a bit tricky.
tags : #story[1273]
2017-09-21 14:40:35 +12:00
Calum
40a7f9bc5b
New server creation view created. Added templates for custom races. Updated xml generator to remove all hard coded values. Updated XMLParser to parse custom race files. No unit tests exists currently.
...
#implement #story[1275]
2017-09-21 12:59:37 +12:00
Kusal Ekanayake
c4a6113f6c
Minor bug fixes (like all enemy sails being toggled in when they should be out)
...
#story[1274]
2017-09-20 21:07:49 +12:00
Kusal Ekanayake
307e79ecfc
Completed working boat selection screen.
...
When a user selects a different boat, it is sent to all other clients and updates accordingly. Boats are all shown with their correct models in game.
#story[1274]
2017-09-20 20:46:23 +12:00
Michael Rausch
e17e9749d8
Implemented server to manage a list of available servers on the internet.
...
- Implemented a server manager that keeps track of servers & room codes, and removes old servers
- Implemented queries to find a server with a specific room code
- Implemented protocol to register servers
#story[1281]
2017-09-20 20:26:14 +12:00
Kusal Ekanayake
7d8a6afa5f
Merge branch 'new_meshes' into Custom_boat_selection
2017-09-20 19:40:43 +12:00
Peter Galloway
ea0be5e952
Added pirate ship meshes to application. Updated boat model to allow for jib sails and a fixed sail. #story[1274]
2017-09-20 17:56:07 +12:00
William Muir
3be8cd264d
Adding icon files to git
...
#story[1245]
2017-09-20 17:52:02 +12:00
Calum
fba522d0c3
Fixed BoatMeshType enum names.
...
#fix
2017-09-20 16:44:38 +12:00
Calum
0e829874c2
Fixed BoatMeshType enum names.
...
#fix
2017-09-20 16:43:04 +12:00
Calum
c5d56065b6
Fixed cat ate a meringue sail rotation.
...
#fix #story[1274]
2017-09-20 16:42:26 +12:00
Kusal Ekanayake
410d765745
Started working on the boat selection screen.
...
Customised the boat customisation UI to contain it. Need to have another boat to test whether we can switch boats and also if the messages get sent correctly.
#story[1274]
2017-09-20 16:36:27 +12:00