zwu18
f4001e0ae3
Added visual display when boat dies. Added sound when boat dies. #story[1311]
8 years ago
zwu18
e53d7d894b
Warning sound added. Sound synced with visual display. #story[1292]
8 years ago
David Wu
3a966fa6b8
Reworked visual displays for low hp boats. There is now a warning indication under boats that drop below 20hp. TODO: Create sfx and different display when boat is in critical hp/dead. #story[1292]
8 years ago
David Wu
45b2f0b6db
Created more fire instances. #story[1292]
8 years ago
David Wu
1070842ada
Fire is now rotated and standing up-write. Found problem with fire not being directly on the boat. #story[1292]
8 years ago
David Wu
4f838a3598
Fire follows boat. TODO: rotate fire. #story[1292]
8 years ago
David Wu
c527ad0c52
Forgot to add image file. #story[1292]
8 years ago
David Wu
45eb557256
Displaying visual effect with imageview. #story[1292]
8 years ago
zwu18
1946bfd658
Added audio indication when the user boat is low on hp. Audio rate changes when hp is critically low. #story[1292]
8 years ago
Connor Taylor-Brown
1b4b980081
Exponentially decrease speed as boat loses health
...
- Boat halves in speed after 90% health loss
#story[1291]
8 years ago
Connor Taylor-Brown
16da9e009b
Cherry-picked FXML changes from Development
...
#story[1291]
8 years ago
Connor Taylor-Brown
985f784066
Removed broken stuff from FXML after merge
8 years ago
Connor Taylor-Brown
dc9445a8a6
Merge branch 'master' into story1291-hp
...
# Conflicts:
# racevisionGame/src/main/resources/visualiser/scenes/newRaceView.fxml
8 years ago
Joseph Gardner
b1657e8bfc
Merge branch 'minimap_test' into 'master'
...
Minimap
AC's:
-Minimap of current map with player boats is shown
-Boats and marks are shown on the minimap
-Minimap can be minimized and maximised
-Some annotations displayed on maximised minimap
See merge request !55
8 years ago
hba56
4242d05279
fixed issue with being unable to click through minimap
...
#story[1295]
8 years ago
Connor Taylor-Brown
5473fde731
Merge remote-tracking branch 'remotes/origin/master' into story1291-hp
8 years ago
David Wu
eee0b414f8
made trackpoints cap at 50. This fixes fps issues with the minimap. #fix #story[1295]
8 years ago
Connor Taylor-Brown
6c78e5d0b5
Tomato now depletes as expected
...
#story[1291]
8 years ago
Connor Taylor-Brown
10008f5452
Depleting tomato now watches player health
...
- [BUG] Tomato fills up instead of depleting
#story[1291]
8 years ago
hba56
add1d3996d
Set map colour back to a lighter colour as it didnt work as well on lower grade monitors
...
#story[1195]
8 years ago
hba56
dacaf58271
Merge remote-tracking branch 'remotes/origin/master' into minimap_test
8 years ago
David Wu
951c3771fa
Merge branch 'newHostServer' into 'master'
...
Nullptr finish race arrow + race xml issues + Host Discovery + Scaling Race
Acceptance Criteria:
When a game starts I should see it reflected in the host lobby within 5 seconds.
When a game ends it should not remain in the host lobby for more than 5 seconds.
Changing the windspeed and the milliseconds value on Event.java line 124 should make the race larger or smaller.
This should fix the race xml issues where the player didn't have a boat / last player joining not seeing their boat. Somehow the client was receiving xml files out of order, and it didn't check the order, so it would use race xml file 1, then replace it with race xml file 0, which was out of date.
See merge request !54
8 years ago
hba56
b787b5a71b
changed map to dodgerblue
8 years ago
hba56
afc42cf2ab
lowered opacity
8 years ago
Fan-Wu Yang
1ffef51d7c
Changed local ip detection to use regex
8 years ago
hba56
50125e0151
moved minimap to left so does not overlap with speedo
8 years ago
Fan-Wu Yang
ffa1d8b0c4
Deleted Print Statement
8 years ago
Fan-Wu Yang
52271d580f
CHanged ip to local ip because port forwarding may be subjective to change.
8 years ago
Fan-Wu Yang
3d292f784b
Users can now resee the lobby after exit and reentering, and fixed concurrent alteration issue which was stopping players from exiting the lobby.
8 years ago
Connor Taylor-Brown
b0bc7f50f2
Updated FXMLs to add depleting tomato
...
- Tab view now contains health column
- BoatStateCommand now fails silently if command is received before race state is set up
#story[1291]
8 years ago
Fan-Wu Yang
fec421da00
Removed println messages
8 years ago
Fan-Wu Yang
30087ed9bd
Merge branch 'master' into newHostServer
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/LobbyController.java
8 years ago
Fan-Wu Yang
3c9e520d9f
Merged in null pointer issue.
8 years ago
Fan-Wu Yang
bb0c1d1780
Merge branch 'nullptr_finish_race_arrow' into newHostServer
8 years ago
Fan-Wu Yang
b0857debeb
Merge remote-tracking branch 'origin/nullptr_finish_race_arrow' into newHostServer
8 years ago
Fan-Wu Yang
b550afcca7
Merged race scaling with Http Match Discovery.
8 years ago
Connor Taylor-Brown
23040ecff4
Created separate listeners for all boats' and player boat health
...
#story[1291]
8 years ago
Fan-Wu Yang
ac5423263c
Merge remote-tracking branch 'origin/scale_maps_spike' into newHostServer
8 years ago
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
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
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