Commit Graph
742 Commits
Author SHA1 Message Date
fjc40 20702f352b Lobby start button is hidden/disabled by default, to avoid it being visible to non-host clients for a split seconds while loading screen. 2017-09-25 11:56:55 +13:00
Jessica Syder e64e6ddbdb Boat scaling is correct.
- scaling changes as a user zooms in or out to
- 3rd person view defaults to life size scale

#story[1312]
2017-09-25 11:41:42 +13:00
Fan-Wu Yang 6d55168c61 Added Textures to boats as well as added texture to arrow #story[1306] 2017-09-25 03:31:38 +13:00
Fan-Wu Yang 45ba3ae6ac Added 3D wind arrow and it also rotates #story[1306] 2017-09-25 02:35:52 +13:00
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] 2017-09-25 02:15:09 +13:00
Fan-Wu Yang d280c0bdae Merged master and added a few comments 2017-09-25 01:44:31 +13:00
Fan-Wu Yang 12b7d10f24 Merge branch 'master' into story1297_sails
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/InGameLobbyController.java
#	racevisionGame/src/main/java/visualiser/Controllers/RaceViewController.java
2017-09-25 01:43:23 +13:00
Jessica Syder f1c1fc7063 Race length is affected by slider value.
- modified constructor of a race event to take in a scale value
- race is scaled according to minutes selected on the slider
- applied minimal css styling
- playing around with more styling options
- bug exists with 1 minute races, to be fixed

#story[1323]
2017-09-24 22:56:14 +13:00
David Wu 45b2f0b6db Created more fire instances. #story[1292] 2017-09-24 22:50:12 +13:00
fjc40 46192af628 Race now has a 10 minute delay before starting (which is increased whenever it falls below 5 minutes).
The start button (visible to host) starts the race in whatever the prepatory time is.
#story[1352]
2017-09-24 22:15:11 +13:00
David Wu 1070842ada Fire is now rotated and standing up-write. Found problem with fire not being directly on the boat. #story[1292] 2017-09-24 22:05:37 +13:00
David Wu 4f838a3598 Fire follows boat. TODO: rotate fire. #story[1292] 2017-09-24 21:37:15 +13:00
fjc40 da901d6e0c Merge remote-tracking branch 'origin/master' into game_start_button_1352 2017-09-24 20:01:15 +13:00
fjc40 612b4b455e Added start button for host on the ingameLobby screen.
#story[1352]
2017-09-24 19:59:56 +13:00
David Wu c527ad0c52 Forgot to add image file. #story[1292] 2017-09-24 18:58:49 +13:00
David Wu 45eb557256 Displaying visual effect with imageview. #story[1292] 2017-09-24 18:58:19 +13:00
Jessica Syder 819cdc49ab Created a slider on the Host Game screen.
- slider has min and max minutes
- a label is updated as the slider is moved
- the value of the slider selection is saved
- slider resizes appropriately with the window

#story[1323]
2017-09-24 17:59:36 +13:00
Joseph bf6282c697 3D arrow added for zoomed view. Shows relative direction to mark. #story[1299] 2017-09-24 17:28:13 +13:00
Fan-Wu Yang 088e73414b Fixed small bug where the sail never stopps jittering after moving #story[1297] 2017-09-24 00:36:35 +12:00
Fan-Wu Yang 2b8ca9265f Sails now slowly spin to the correct position #story[1297] 2017-09-23 23:36:21 +12:00
zwu18 67779eb9ad Same changes to dev. #story[1311] 2017-09-23 00:38:33 +12:00
zwu18 64ae01113a Added delay for position update. This fixes fps issue. #story[1311] 2017-09-22 22:15:28 +12:00
Fan-Wu Yang d3a6b82031 Commit before checking out developement 2017-09-22 21:39:48 +12:00
zwu18 1946bfd658 Added audio indication when the user boat is low on hp. Audio rate changes when hp is critically low. #story[1292] 2017-09-22 21:19:35 +12:00
Jessica Syder 908f31bcde Merge branches 'master' and 'zoomzoom' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into zoomzoom 2017-09-22 20:54:02 +12:00
zwu18 0b02727bf1 Set limits and more appearance changes for speedometer. #story[1311] 2017-09-22 20:33:56 +12:00
Connor Taylor Brown 49c08f5687 Merge branch 'story1298_boat_highlight' into 'master'
Story1298 - Boat highlighting

ACs:
- Current players boat is highlighted

See merge request !56
2017-09-22 20:22:18 +12:00
Jessica Syder 86fc911f98 Minor changes to improve look of third person view.
#story[1312]
2017-09-22 13:32:52 +12:00
Jessica Syder 62535720d4 Removed commented out code.
#story[1312]
2017-09-22 13:04:42 +12:00
Jessica Syder fa6543a713 Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into zoomzoom 2017-09-22 13:00:12 +12:00
Jessica Syder 1ecd2dd7b6 Zooming motion is more natural.
- added limits for zoom in, zoom out and when to change to birds eye
- zooming smoothed by adjusting pitch each zoom
- when zoom out limit is reached, view returns to original

#story[1312]
2017-09-22 12:59:44 +12:00
zwu18 e2ea6a5f03 Fixed issue with speedometer and sails interaction. #story[1311] 2017-09-22 02:40:54 +12:00
Connor Taylor-Brown 1b4b980081 Exponentially decrease speed as boat loses health
- Boat halves in speed after 90% health loss

#story[1291]
2017-09-22 00:49:36 +12:00
Connor Taylor-Brown 16da9e009b Cherry-picked FXML changes from Development
#story[1291]
2017-09-22 00:21:56 +12:00
Connor Taylor-Brown 985f784066 Removed broken stuff from FXML after merge 2017-09-21 23:41:18 +12:00
Connor Taylor-Brown dc9445a8a6 Merge branch 'master' into story1291-hp
# Conflicts:
#	racevisionGame/src/main/resources/visualiser/scenes/newRaceView.fxml
2017-09-21 23:40:46 +12:00
Joseph 4cf9b67db8 Merge remote-tracking branch 'origin/master' into story1299_next_mark_direction
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/RaceViewController.java
2017-09-21 22:44:30 +12:00
Joseph 322d7b38b6 Merge remote-tracking branch 'origin/master' into story1298_boat_highlight
# Conflicts:
#	racevisionGame/src/main/java/visualiser/Controllers/InGameLobbyController.java
2017-09-21 22:33:31 +12:00
Joseph 91c442e465 Set up architecture for next mark arrow and did a 2d template when the camera is zoomed out. #story[1299] 2017-09-21 22:25:39 +12:00
hba56 4242d05279 fixed issue with being unable to click through minimap
#story[1295]
2017-09-21 20:34:21 +12:00
Joseph 2cf0cca157 Can no longer click around the boat highlighting. #fix #story[1298] 2017-09-21 16:51:00 +12:00
Connor Taylor-Brown 5473fde731 Merge remote-tracking branch 'remotes/origin/master' into story1291-hp 2017-09-21 12:49:27 +12:00
David Wu eee0b414f8 made trackpoints cap at 50. This fixes fps issues with the minimap. #fix #story[1295] 2017-09-21 12:42:09 +12:00
Connor Taylor-Brown 6c78e5d0b5 Tomato now depletes as expected
#story[1291]
2017-09-21 12:10:33 +12:00
Fan-Wu Yang cf9acabd97 Boat sails now luff and stay when in the direction of the wind #story[1297] 2017-09-21 02:35:01 +12:00
Fan-Wu Yang c9177da85c Deleted another dead line #story[1297] 2017-09-21 02:22:34 +12:00
Fan-Wu Yang ed11f7d56c forgot to removed a dead line #story[1297] 2017-09-21 02:22:04 +12:00
Fan-Wu Yang 2389aa361c Boats sails can luff and are now two piece. #story[1297] 2017-09-21 02:21:02 +12:00
Connor Taylor-Brown 10008f5452 Depleting tomato now watches player health
- [BUG] Tomato fills up instead of depleting

#story[1291]
2017-09-21 01:42:53 +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