David Wu
086206a623
Controls button in title screen now opens the key mapping menu. #story[1197]
8 years ago
David Wu
65b960f725
Background of title now changes colour depending on day mode and night mode. Sun image also changes. This is so that the tutorial label is more visible during night mode. #story[1189]
8 years ago
hba56
ec5bc9c6aa
Wind now will occasionally back and veer (in some games, takes ~20min for full 180 degree rotation)
...
#story[1188]
8 years ago
David Wu
ea029baf22
Tutorial option in title screen will now created a game with tutorial xmls. Host game will now created a game with the race xml instead of tutorial xml as well. Made changes to tutorial label in title. #story[1189]
8 years ago
hba56
5676d435b0
hosts now send info then wait rather than wait then send
...
#story[1188]
8 years ago
Connor Taylor-Brown
42ac733d72
Flush match table on a scheduled rate.
...
#story[1196]
8 years ago
fjc40
9156bde8af
Moved XML message creation to RaceServer instead of ConnectionAcceptor.
...
RaceServer does not currently generate new XMLMessages - NYI.
Added a sequence number to RaceDataSource - this is used to indicate that the data source has been modified.
#story[1188]
8 years ago
fjc40
d0eebcdb2f
SourceIdAllocator now allocates from the BoatDataSource and RaceDataSource exposed by MockRace, instead of having its own source IDs. Can only allocate ids during PRESTART period.
...
RaceLogic now calls MockRace.initialiseBoats() after the prestart period has finished.
MockRace create a VisualiserBoat when a source ID is allocated.
MockOutput now sends updated XML messages during the race, instead of only at the start.
#story[1188]
8 years ago
Jessica Syder
716a99aac7
Reset to default button is now functional.
...
- keybindings are reset to built in default
- the table is cleared and reloaded
#story[1197]
8 years ago
Jessica Syder
3e720a9e16
Modified key bindings can be saved to use in a race.
...
- new key bindings replace old new bindings on save
- javadoc save method and small updates
#story[1197]
8 years ago
Jessica Syder
278fb65852
Pressing ESC cancels the selected command's key from being replaced
...
- focus is shifted away on esc
- focus is shifted away after successful change
#story[1197]
8 years ago
Jessica Syder
ce47b0d813
When a new key is bound other commands bound to this key are removed
...
- On binding new key existing keys are searched
- If key is in use the old one is removed
- ControlKey is updated with a placeholder key value
#story[1197]
8 years ago
Jessica Syder
2188ddc3a3
Fixed errors in making the keybinding replaceable.
...
- Changed KeyFactory to not be a singleton
- Simplified keyBindings initializer
- Modified and simplified keyListener
- Added method to copy existing keyState
- Changed button events
- Changed to newer lambda functions
- Modified updateKey method
- Left option for multiple keys bound to one command
- Updated and wrote new JavaDoc
#story[1197]
8 years ago
fjc40
3176e76c8c
MockRace:
...
Now uses RaceState as its base class, rather than Race. This aligns it with VisualiserRace. RaceState contains the shared race state between the client and server, and stores most of its data in RaceDataSource etc..., instead of maintaining its own copy.
Moved collider registry member to MockRace.
XMLUtilities:
Added documentation to two important functions, and updated them to use generics instead of Objects.
#story[1188]
8 years ago
zwu18
c7af4f2eb7
Made changes to tutorial xmls. Linked button in title menu to start up a race on mouse click. Will need to make it so it starts the tutorial on click. #story[1189]
8 years ago
Fan-Wu Yang
9a5d20bdf2
Added new polar function, currently it does not distinguish between up wind and downwind and doesn't find it in the correct quadrant #story[1186]
8 years ago
cbt24
2f8daf757a
Added scheduled match list broadcast to MatchBrowser
...
- Changed MatchTable to map ClientAddress to HostGame
- Send match list as HostedGamesRequest to multicast address (239.0.0.1:4941)
#story[1188]
8 years ago
hba56
d1c0797db7
hosting a game now continues to send out the info of the race
...
#story[1188]
8 years ago
Jessica Syder
8250226bde
Key bindings can be updated with any key.
...
- Changed key press from FXML key event to a listener
- UP, DOWN, ENTER keys now work
- Keys no longer change cells or press buttons
- Added placeholder buttons Cancel, Reset and Save
- Added some JavaDoc
#story[1197]
8 years ago
hba56
a1fa09962a
matching table now stores the correct ip of the hosts
...
#story[1188]
8 years ago
hba56
9161f69547
updating match table to store ip and port of clients and hosts
...
#story[1188]
8 years ago
Joseph
0de7780020
Changed wind speed to be non-linear. #story[1187]
8 years ago
Connor Taylor-Brown
3cc806dc45
Returned rotation to boat in lobby
...
#story[1196]
8 years ago
Connor Taylor-Brown
fb7bf572d8
Changed View3D add-remove interface to an ObservableList
...
#story[1196]
8 years ago
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
hba56
960b1213fb
fix so that test pass
...
#story[1188]
8 years ago
hba56
83f756d7d8
packets can now be sent from client to match server
...
#story[1188]
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
David Wu
86f1a608e4
Created xml for tutorial that contains start and finish line. TODO: Add gate/mark. #story[1189]
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
David Wu
23d58dc809
Created UI option in the start menu to play a practice game. #story[1189]
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
hba56
b2bd4fdc1c
network interface
8 years ago
David Wu
028428da2c
Fixed fxml issues due to merge. Added pane centering for panes. #story[1188]
8 years ago
David Wu
d2f0c1105a
Merged 3d branch. Added 3d item to one of the player pane. #story[1188]
8 years ago
David Wu
b724a814b1
Merge branch 'story86-3D' into story77_lobby
...
# Conflicts:
# racevisionGame/src/main/resources/visualiser/scenes/hostlobby.fxml
8 years ago
David Wu
d65ce1a897
Merge branch 'story77' into story77_lobby
8 years ago
David Wu
88782182d7
Player panes and spectator list now call method on click. Will later be used for players to choose whether they want to play or spectate. #story[1188]
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