Connor Taylor-Brown
b6e56d815c
ResizableRaceCanvas no longer depends on VisualiserRaceEvent
...
#story[1196]
8 years ago
Jessica Syder
ad0e26e882
Created scene to view/update current key bindings.
...
- Current key bindings are shown on buttons
- Added button action events to store the clicked button
- Added key press event to entire pane
- Button text is updated to display its key
- Added functionality to keyFactory to update key bindings
- CSS styling for some components
#story[1197]
8 years ago
Connor Taylor-Brown
c2fd5c9bae
Changed box to boat mesh
...
- Mesh needs to be rotated -90 degrees on X
- STL file has been added to assets
#story[1196]
8 years ago
Connor Taylor-Brown
cc66d63096
Removed unused shapes list from View3D
...
#story[1196]
8 years ago
Connor Taylor-Brown
bb7eb7cb44
Added adapter interface for PerspectiveCamera frustum and transformations in View3D.
...
- Tested interface while initialising HostController
#story[1196]
8 years ago
Connor Taylor-Brown
e04f199fc7
Merge branch 'story86-3D' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story86-3D
8 years ago
Connor Taylor-Brown
e7164d8a78
View3D perspective camera is now operational
...
#story[1196]
8 years ago
Fan-Wu Yang
4910d2712c
Changed STL Importers Version #story[1191]
8 years ago
Fan-Wu Yang
921e0999b8
Testing if dependency for stl works this time #story[1191]
8 years ago
Fan-Wu Yang
0927e62ea3
Changed dependency to see if it will pass the CI runner #story[1191]
8 years ago
Connor Taylor-Brown
cf838f2072
Added View3D control for rendering 3D shapes under a PerspectiveCamera, which is not currently working.
...
#story[1196]
8 years ago
Connor Taylor-Brown
d630788a14
Merge remote-tracking branch 'remotes/origin/story77_lobby' into story86-3D
8 years ago
Fan-Wu Yang
43ec179d79
Merge branch 'story86-3D' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story86-3D
8 years ago
Fan-Wu Yang
ea41c64c34
Added dependency for stl converter #story[1191]
8 years ago
David Wu
7df181c759
Minor changes to new lobby fxml. #story[1188]
8 years ago
David Wu
892320db5f
Added javadoc and extra files to push
8 years ago
David Wu
0621e1bdb1
Finished up lobby menu. Set split pane to not change size on resize. Disabled divider on split pane. Added quit button and start button (start only prints to terminal for now). Panes are now wrapped in an anchor pane to fix resizing issues. TODO: Will be working on making a nicer background animation.
8 years ago
Joseph Gardner
b0f7c5e734
Wind speed changes depending on where the wind direction is. #story[1187]
8 years ago
David Wu
c63403d1de
Created new lobby menu. Working on animated background for menu.
8 years ago
Joseph Gardner
d0ba7b93e0
Wind oscillates, replaces random wind with shifting wind. #story[1187]
8 years ago
cbt24
1b1b0a4591
Added floating test cube in title screen initialiser
...
#story[1191]
8 years ago
Joseph Gardner
0be5b731c3
Merge branch 'master' into wind_(story53)
8 years ago
Joseph Gardner
12e2ae9c01
Started implementing wind oscillation. #story[1187]
8 years ago
Joseph Gardner
64e96a1b8b
Class for shifting wind. #story[1187]
8 years ago
fjc40
eb980c436e
Wind arrow now points in the direction the wind is blowing, as per P.O feedback (again....).
8 years ago
fjc40
a9fde95b39
Updated maven version to 2.0.
...
Added a dedicatedServer module.
Removed Visualiser module.
Removed mock module.
Removed network module.
Fixed weird exception non-handling that appeared for some reason.
8 years ago
fjc40
0d2be85d17
Brought over long/latitude fix from "rounding_line_visible_hack" branch.
8 years ago
hba56
b886cb426f
guide line last leg fix
8 years ago
fjc40
666c7b029f
Disabled map rotation - temp fix for the demo.
...
Set race to use 3 boat race.xml file.
8 years ago
David Wu
37095bfc6c
Merged master into branch.
8 years ago
David Wu
5234cdea66
Merge branch 'master' into new_issue#19
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/TitleController.java
8 years ago
David Wu
598275591f
Updated javadoc.
8 years ago
Joseph Gardner
5ba6f52669
fixed autovmg.
8 years ago
David Wu
79add59375
Unresizable control screen.
8 years ago
David Wu
f1ef75fb81
Merge branch 'master' into new_issue#19
8 years ago
David Wu
03dd937713
Change fxml stuff. Added back to menu buttons.
8 years ago
Joseph Gardner
dcd1df2999
Merged master.
8 years ago
Joseph Gardner
014b78f166
Merge branch 'master' into story_64_sails
8 years ago
Fan-Wu Yang
83b0c0a6b4
Fixed issue using File from java.io.File which did not like maven
8 years ago
David Wu
9f813ab7aa
Merged in development.
8 years ago
Joseph Gardner
e26fb73627
Merged master.
8 years ago
David Wu
288979be3b
Merge branch 'Development' into new_issue#19
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/Controllers/RaceController.java
# racevisionGame/src/main/java/visualiser/app/App.java
8 years ago
Joseph Gardner
d41e52766b
Merge branch 'master' into story_64_sails
...
# Conflicts:
# racevisionGame/src/main/java/mock/model/MockRace.java
# racevisionGame/src/main/java/visualiser/Controllers/ConnectionController.java
# racevisionGame/src/main/java/visualiser/model/VisualiserBoat.java
8 years ago
David Wu
09eaf6d968
Merged master.
8 years ago
Joseph Gardner
37fe7389ff
Rounding marks works.
8 years ago
David Wu
5a188f0582
Merge branch 'master' into new_issue#19
8 years ago
Hamish Ball
d2f9bfedcb
Merge branch 'issue_18_track_alpha' into 'master'
...
Issue 18 track alpha
This should resolve #18 .
Track point system is now a line, and updated more frequently.
Line fades over time.
The boat wake is also longer, and has a black dot at the end.
See merge request !28
8 years ago
Joseph Gardner
610aa96241
Merge branch 'MapWindRotation' into 'master'
...
Map wind rotation
Note: we'd like to generate a realistic course layout, that can vary from race to race (but not within a race, for now.) The generated layout must be sent through the API in the format given by the race.xml section of the AC35 Streaming Data Interface Specification. The AC35 Protocol (sections 31.4 and 31.5) specifies the requirements for a course:
* First leg of the course (from start line to first mark) must be a reaching leg
* Next legs are windward/leeward, and boats complete either two or three laps of this section
* Final leg to finish line may be a reaching leg
* A boat should take around 25 minutes to complete the course in the wind conditions at the start of the race (AC35 protocol, section 31.5)
You should assume that the windward/leeward marks and start/finish lines are always compounds of two marks.
Acceptance criteria:
* The layout must be sent over the API in a race.xml message, plus boat location messages for the marks as required, before any other boat location messages are sent.
* Each mark must be defined using boat "SourceID"s (see definition of race.xml) so their positions can be adjusted later.
* The course must meet the requirements given in the AC35 Protocol.
* The course limits should be set to clear all marks by at least several boat-lengths.
* The entire race area within the limits must be on the water.
See merge request !22
8 years ago
Hamish Ball
2edb6b5249
Merge branch 'issue#40' into 'master'
...
Issue#40
See merge request !30
8 years ago
David Wu
c08bafa566
Fixed most of issue #19 with new master?
8 years ago
fjc40
2656efcb4d
Marks are a bit darker.
...
Wake no longer has circle at end.
8 years ago
Fan-Wu Yang
2e9c6fe593
Merged most recent master in, #story[1092]
8 years ago
hba56
02ab0e8a00
added javadoc
8 years ago
hba56
3cf50c56f8
added a refresh for the info table so no new values are shown when the game is in full screen
8 years ago
Joseph Gardner
a50d460222
Merged master.
8 years ago
fjc40
0f58270c10
Merge branch 'master' into issue_18_track_alpha
...
# Conflicts:
# racevisionGame/src/main/java/visualiser/model/VisualiserRaceState.java
8 years ago
Fan-Wu Yang
7546c65893
Merge branch 'master' into MapWindRotation
...
# Conflicts:
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Mark.java
8 years ago
Joseph Gardner
20c9870fea
Merge branch 'master' into story_64_sails
...
# Conflicts:
# racevisionGame/src/main/java/shared/model/Boat.java
# racevisionGame/src/main/java/visualiser/Commands/VisualiserRaceCommands/BoatLocationCommand.java
8 years ago
David Wu
fa5992bfb2
added App app to app.
8 years ago
fjc40
62f400b924
Trackpoint line color fades out.
8 years ago
David Wu
6bc81f566e
Issue 19 changes.
8 years ago
Joseph Gardner
a3fe57ed5a
Removed print statement. #story[1092]
8 years ago
fjc40
fa26abe10c
Minor tidy.
8 years ago
Joseph Gardner
4cf8846cda
Map wind rotation works with multiplayer xml. #story[1092]
8 years ago
hwball
86d94ef27e
javadoc fix
8 years ago
hwball
df2b674b94
update scale for table displaying
8 years ago
Connor Taylor-Brown
4b3cc8e126
Created ack number generator for use by multiple services
...
#story[1100]
8 years ago
Joseph Gardner
1e7ba8cd51
Merge branch 'master' into MapWindRotation
...
# Conflicts:
# racevisionGame/src/main/java/mock/app/Event.java
# racevisionGame/src/main/java/mock/model/MockRace.java
# racevisionGame/src/main/java/mock/model/commandFactory/CommandFactory.java
# racevisionGame/src/main/java/shared/dataInput/RaceXMLReader.java
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Mark.java
# racevisionGame/src/main/java/visualiser/Controllers/ConnectionController.java
# racevisionGame/src/main/java/visualiser/Controllers/HostController.java
# racevisionGame/src/main/java/visualiser/app/VisualiserInput.java
# racevisionGame/src/main/java/visualiser/gameController/ControllerServer.java
# racevisionGame/src/main/java/visualiser/model/VisualiserRace.java
8 years ago
Joseph
d7e0bfa86c
Trackpoints are only shown for the player's boat. #story[1098]
8 years ago
Joseph
47fc55245c
Merged master.
8 years ago
Joseph
f60809bdd4
Merge branch 'master' into story_64_sails
...
# Conflicts:
# racevisionGame/src/main/java/mock/app/MockOutput.java
# racevisionGame/src/main/java/mock/model/MockRace.java
# racevisionGame/src/main/java/mock/model/commandFactory/CommandFactory.java
# racevisionGame/src/main/java/network/MessageDecoders/BoatActionDecoder.java
# racevisionGame/src/main/java/network/MessageDecoders/BoatLocationDecoder.java
# racevisionGame/src/main/java/visualiser/app/VisualiserInput.java
# racevisionGame/src/main/java/visualiser/gameController/ControllerServer.java
# racevisionGame/src/main/java/visualiser/model/ResizableRaceCanvas.java
# racevisionGame/src/main/java/visualiser/model/VisualiserRace.java
# racevisionGame/src/main/resources/visualiser/scenes/connect.fxml
# racevisionGame/src/main/resources/visualiser/scenes/lobby.fxml
# racevisionGame/src/test/java/mock/model/MockRaceTest.java
# racevisionGame/src/test/java/network/Utils/AC35UnitConverterTest.java
# racevisionGame/src/test/java/network/XMLMessageEncoderTest.java
8 years ago
zwu18
109b291973
Merged issue #20 fix and splash screen into development.
8 years ago
zwu18
317582aae8
Merge branch 'issue#20fix' into Development
8 years ago
zwu18
4e8b7d3b5a
Merge remote-tracking branch 'origin/master' into issue#20fix
8 years ago
zwu18
8759ac070e
Merge remote-tracking branch 'origin/splashScreen' into issue#20fix
8 years ago
Connor Taylor-Brown
f8150ef449
Added YachtEvent message with encoder and decoder
...
- Updated Encoder and Decoder factories for the new message type
- Added an enum for handling yacht event types
#story[1100]
8 years ago
hba56
ee0cc4b704
Merge branch 'issue#40' into Development
8 years ago
fjc40
114c18763b
Reduced track point period to 1000ms.
...
issue #18
8 years ago
fjc40
20055b1883
Removed redunant calls in VisualiserRaceState.initialiseBoats().
...
Slightly refactored ResizableRaceCanvas - removed a redundant drawPoint() function, functions which alter the gc stroke call save/restore.
Text is drawn black, at 20pts.
The drawBoats() function: instead of drawing everything for each boat, one boat at a time, it draws the track points for all boats, then wake for all boats, etc..., to have better layering.
issue #18
8 years ago
cbt24
f7d0e9d466
Boats bounce during collision if pointing into collision
...
#story[1100]
8 years ago
cbt24
eaa0d2e82b
Boats bounce away from marks.
...
- Changed onCollisionEnter signature to pass boat info
#story[1100]
8 years ago
cbt24
8113867576
Bubbles collision events to RaceLogic
...
- ColliderRegistry collects and forwards all Collision events
- RaceLogic observes the ColliderRegistry of its single Race instance
#story[1100]
8 years ago
fjc40
f1e41d5d8f
Merge branch 'master' into issue_18_trackpoint
8 years ago
cbt24
79f3c41d45
Moved generic ray casting to Collider abstract class
...
- Boat is now collider
- Collider subclasses specify their own collision ray and collision handler
#story[1100]
8 years ago
cbt24
8498701091
Removed commented-out file from master
8 years ago
cbt24
f44929f376
Spun off Locatable interface to make collision code more reusable
...
#story[1100]
8 years ago
cbt24
ce14e93404
Removed CI-breaking docstring
8 years ago
cbt24
f0d750cae1
Merge remote-tracking branch 'remotes/origin/master' into story66-collision
...
# Conflicts:
# racevisionGame/src/main/java/mock/model/MockBoat.java
# racevisionGame/src/main/java/mock/model/RaceLogic.java
# racevisionGame/src/main/java/shared/model/CompoundMark.java
# racevisionGame/src/main/java/shared/model/Race.java
# racevisionGame/src/test/java/mock/model/MockBoatTest.java
8 years ago
cbt24
d63641c1e2
Cherry-picked multiple changes from master
8 years ago
hba56
fdd0b30a51
Added the ability to hide and show info table with a key press
...
-the wind arrow also scales with the new size of the screen
8 years ago
fjc40
85e703cba5
RaceController/info table now makes a copy of the boat list, to avoid race conditions.
...
#story[1095]
8 years ago
Fan-Wu Yang
9f7c5d8c0c
Fixed other javadocs that were causing the build to fail #story[1092]
8 years ago
Fan-Wu Yang
8d87da6206
fixed java doc issues on my side #story[1092]
8 years ago
fjc40
bcb6b79f8d
Fixed player boat not being highlighted.
...
#story[1095]
8 years ago
zwu18
5e0bcd2af5
Added control menu to title screen. Pressing control button will open a pop-up window showing game controls.
8 years ago
fjc40
a4755ed88b
Maybe fixed updating boat list on FX thread.
8 years ago
Fan-Wu Yang
a4e1dfb3d7
Fixed import that was messing up the build #story[1092]
8 years ago
fjc40
0483859c40
Fixed sparkline y axis labelling. Reverted it to how it previously worked (negative data values instead of negative scale).
...
issue #32
8 years ago
fjc40
9ab12a9c58
MockBoat: Removed redundant isAutoVMG() function.
...
TackGybeCommand now disables autoVMG.
Removed print statements from VMGCommand.
8 years ago
fjc40
dc4610d6eb
Fixed sparkline not updating.
...
#story[1095]
8 years ago