Connor Taylor-Brown
0d89574c1f
RaceViewController listens to health changes on the local player's boat
...
#story[1291]
8 years ago
Connor Taylor-Brown
7eb59cdcfc
Allowed fractional health deductions per frame
...
- Fixed boundary penalty system
#story[1291]
8 years ago
Connor Taylor-Brown
50d5dd02a2
BoatState message can be received from mock by visualiser
...
- Basic penalties have been made for out of bounds and collisions
- RaceServer packages and sends BoatState messages for each boat
- ServerConnection routes BoatState messages instead of dropping by default
- VisualiserRaceCommandFactory produces BoatStateCommands
#story[1291]
8 years ago
Connor Taylor-Brown
a295728e89
Created encoder and decoder for BoatState messages (HP packets)
...
- Added new MessageType.BOATSTATE enum to support new message type
- Modified EncoderFactory and DecoderFactory to support new enum
- Verify that original and decoded messages match
#story[1291]
8 years ago
hba56
f7d866144a
Map now only shows annotations when in full screen
...
#story[1295]
8 years ago
zwu18
4132b6733b
Fixed small display error with current position. #story[1311]
8 years ago
zwu18
051811b97d
Merge branch 'master' into story_speedometer
8 years ago
zwu18
be9feff6fd
Layout changes to speedometer UI. #story[1311]
8 years ago
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
8 years ago
zwu18
201b9f0051
Linked users boat speed up with speedometer UI. #story[1311]
8 years ago
zwu18
eea394372f
Race is now showing a speedometer in the bottom right corner. Next step is to update with speed of boat and improve appearance. #story[1311]
8 years ago
Joseph Gardner
a82d3081fc
Replace the class use of highlight with shockwave. #story[1298]
8 years ago
Joseph Gardner
9fbd5df626
Highlighting no longer goes over other boats. Player boat is highlighted in lobby. #story[1298]
8 years ago
Joseph Gardner
cfdbf5896f
Added basic highlighting to player boat. #story[1298]
8 years ago
Joseph Gardner
3ca62e6c2b
Added basic highlighting to player boat. #story[1298]
8 years ago
fjc40
db27d673de
Another fix for race xml stuff - the xml was fine, but the data sources would sometimes be overridden by empty ones, due to threading stuff.
8 years ago
hba56
d3f1e3baa4
Merge remote-tracking branch 'remotes/origin/master' into spectate_mode_basic
8 years ago
Fan-Wu Yang
928f5e31f0
Hopefully final version of Hosting #story[1188]
8 years ago
Fan-Wu Yang
f7da497743
Resizing maps to time taking now works #story[1323]
8 years ago
fjc40
424cd63c59
Should fix the race xml issues where boats get unassigned sometimes.
...
This removes the static raceServer stuff.
The Race/Boat/Regatta XML commands only execute if they contain newer data (it checks the sequence number).
8 years ago
fjc40
acd99f58cd
Merge remote-tracking branch 'origin/master' into nullptr_finish_race_arrow
8 years ago
hba56
f3f60acac6
resize map
8 years ago
hba56
731be68831
test for a minimap
8 years ago
Fan-Wu Yang
9d1145b298
Changed back to CI IP to test on CI
8 years ago
fjc40
75c15d492e
There was a null pointer exception when finishing the race, as the finish leg doesn't have compound marks.
8 years ago
Fraser Cope
11a50b6f09
Merge branch 'boat_movement_smooth' into 'master'
...
Boats move about smoothly instead of jumping about
See merge request !51
8 years ago
fjc40
eacbe8d8ea
Merge remote-tracking branch 'origin/master' into boat_movement_smooth
8 years ago
Fan-Wu Yang
d660cd9e78
Merge branch 'network_on_VPS' into 'master'
...
Network on vps
Can connect to host network
See merge request !52
8 years ago
Fan-Wu Yang
0348b0c642
Merged in master
8 years ago
Fan-Wu Yang
c91c4e5d7c
Merge branch 'master' into network_on_VPS
8 years ago
Fan-Wu Yang
4970f52c3a
Merge remote-tracking branch 'origin/master' into network_on_VPS
8 years ago
Fan-Wu Yang
34a803f92e
More changes
8 years ago
Fan-Wu Yang
22e9db473e
Removed test that took a manditory socket
8 years ago
fjc40
2c92102b2a
Changed GraphCoordinate to use double instead of int.
...
This results in waaaaay smoother movement. Boats no longer jump around.
8 years ago
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
8 years ago
fjc40
191f249bfb
Speed scale is 2, rather than 10.
...
Server simulates frames every 16ms rather than 50ms.
8 years ago
fjc40
5c58ca11ff
Boats use their assigned color.
...
Boat name is displayed in lobby instead of source ID.
8 years ago
fjc40
eb2ed45ed2
Merge branch 'master' into spectate_mode_basic
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
8 years ago
Fraser Cope
a6aeab5ee3
Merge branch 'scoreTable' into 'master'
...
Score table
See merge request !48
8 years ago
hba56
e0d886ffb2
overlay off by default
...
#story[1195]
8 years ago
hba56
3131d67cf2
Merge remote-tracking branch 'remotes/origin/master' into scoreTable
8 years ago
Fraser Cope
94b5f06ede
Merge branch 'issue55-collision' into 'master'
...
Resolve issue #55 - only one collision displayed per boat
Resolves issues #55 and #57 .
See merge request !47
8 years ago
fjc40
ae9594f8c3
Removed a println and fixed some javadoc warnings.
8 years ago
fjc40
47d013612a
Fix for null pointer exception when finishing race.
8 years ago
hba56
88f1a393f2
Made the info tab into an overlay
...
#story[1195]
8 years ago
fjc40
24b068f249
Collision effect uses color.transparent instead of a custom transparent color.
8 years ago
fjc40
536428ce16
There was a null pointer exception related to going into/leaving third person camera and the arrow annotation.
8 years ago
fjc40
f308f5b8f3
Visualiser model thread was updating GUI instead of fx thread.
8 years ago
Connor Taylor-Brown
8d9624db96
Recovered sails smoothing
...
- Boat default position is now overridden only by collision command
- Sails command overrides boat velocity
#story[1195]
8 years ago
Connor Taylor-Brown
90c258e9e9
Reset collision tag on visualiser boat after displaying collision
...
- Modified View3D to index subjects rather than shapes by source ID
- Enforced one collision per boat on server to reduce rendering load
- Changed collision radius to less than bounce radius
- Fixed game-breaking null command bug
#story[1195]
8 years ago