2cda5ea70d
Lobby no longer glitches out when a person disconnects and reconnects without restarting the program #story[1188]
Fan-Wu Yang2017-09-11 20:34:34 +12:00
54a9140f31
lobby listener is added and removed so that the program doesn't drasticaly slow down when the lobby is connected to multiple times #story[1188]
Fan-Wu Yang2017-09-11 20:29:15 +12:00
df04cdf87c
Boats are now visualy removed when they leave the lobby.
Fan-Wu Yang2017-09-11 19:54:43 +12:00
0da6931f8f
Have structure for skybox, still need to play around with it a bit more to make it fit. #story[1261]
Joseph Gardner2017-09-11 18:24:21 +12:00
d92410b9b4
Fixed XML Issue where sometimes the last boat would not display itself #story[1188]
Fan-Wu Yang2017-09-11 18:14:26 +12:00
b976186c7d
Merged current master in. Made changes to classes so tutorial again due to merge. #story[1189]
David Wu2017-09-11 15:31:18 +12:00
c97706d86e
Merge branch 'master' into story70
David Wu2017-09-11 14:27:12 +12:00
346aa148ef
Added some debug statements, and WIP MarkRoundingSequence class. Temporarily disabled source id allocator time checks. Added mark rounding stuff to race canvas to help debug. #story[1185]
fjc402017-09-11 11:35:11 +12:00
ae75bb86d3
Resized models to a similar size of the collision detectors. #story[1261]
Fan-Wu Yang2017-09-11 02:48:00 +12:00
08ca42f786
Wrote some missing java docs #story[1261]
Fan-Wu Yang2017-09-11 01:05:58 +12:00
9ac9c25923
Made sea surface look like a sea surface which is randomly generated each time, size may need to be altered a bit else it will cause the program to slow #story[1261]
Fan-Wu Yang2017-09-11 00:54:11 +12:00
c6594a0e20
Tutorial text now displays on screen when in tutorial. #story[1189]
David Wu2017-09-10 19:31:56 +12:00
9a96131a33
Fixed issue where wind arrow, accordion, time, etc. were not being displayed. Fixed issue where zooming would crash when done outside of tutorial. #story[1189]
David Wu2017-09-10 18:11:52 +12:00
bad6422ca9
Implemented tutorial for zooming as it was left out from the last commit. Refactored updating tutorial state. #story[1189]
David Wu2017-09-10 17:38:48 +12:00
d2d5ae62eb
Tutorial states implemented and working. Game currently prints to terminal the "tutorial text". Next step is to create display on application for these text. Game ends when tutorial ends. Fixed game not loading xml issue. #story[1189]
David Wu2017-09-10 17:11:20 +12:00
a7eefca13a
Work in progress, the perlin noise is now generated, however, a good colour should be selected as well as using a subject3d instead of a imageview #story[1261]
Fan-Wu Yang2017-09-10 16:15:37 +12:00
28ec4b9246
Merge branch 'master' into story70
David Wu2017-09-10 15:19:03 +12:00
e2b868d815
Added boundaries to the map, which are drawn by the race #story[1261]
Fan-Wu Yang2017-09-10 14:49:16 +12:00
70f4a00d12
Scaled down marks and boats to make 3rd person view more realistic - Added boat and mark annotations to support selection at large camera distance - Reduced collision radius to 15 m - Fixed event startup and XML files as race was crashing on start
cbt242017-09-09 17:09:14 +12:00
ddc3a6ae47
boxes in lobby are now boats
hba562017-09-09 16:26:17 +12:00
e5d8a4028d
Merge remote-tracking branch 'remotes/origin/master' into story77
hba562017-09-09 16:20:00 +12:00
ae8fa312a3
removed sout and added a longer startup time. Also fixed race xmls to remove set boats
hba562017-09-09 15:37:35 +12:00
ea1594a839
Merge remote-tracking branch 'remotes/origin/master' into Story_76
hba562017-09-09 15:35:02 +12:00
2508b847b8
Merge branch 'master' into storyD-3D
cbt242017-09-09 15:26:33 +12:00
643f145407
Added mark radius 3D annotation to improve bird's eye visibility
cbt242017-09-09 14:44:58 +12:00
14aaf26b73
Merge branch 'story40-zoom' into 'master'
Jessica Syder2017-09-09 10:47:37 +12:00
2868f921e2
Only one angular command can be active at a time. Only one velocity command can be active at a time. #story[1196]
Joseph Gardner2017-09-08 15:55:29 +12:00
68f434b6b6
Bound zooming action to zoom keys - View3D subject selection is no longer enabled by default - Added documentation
Connor Taylor-Brown2017-09-08 15:49:53 +12:00
df624a8437
Angular movement when auto vmg is pressed is smoothed. #story[1196]
Joseph Gardner2017-09-08 15:34:22 +12:00
1efec06bdc
View3D can untrack objects and zoom in different modes - updateDistance zooms between 0 and infinity - Camera switches from third person to bird's eye when reaching a set distance - Only one subject can be tracked at a time
Connor Taylor-Brown2017-09-08 14:21:03 +12:00
d2c8ccd98e
Course image for a type M2 course has been made. #story[1193]
Joseph Gardner2017-09-08 14:20:14 +12:00
ec82e65ae7
Fixed javadocs in xml creation classes.
fjc402017-09-08 13:45:36 +12:00
63e2cc1fd0
Merge remote-tracking branch 'remotes/origin/story77_lobby' into story77
hba562017-09-08 13:34:48 +12:00
3157ac88b5
Course layout for a type M2 course has been made. #story[1193]
Joseph Gardner2017-09-08 13:27:30 +12:00
23eabed3ff
View3D tracks selected boat at fixed distance, pitch, and relative yaw
Connor Taylor-Brown2017-09-08 12:58:06 +12:00
b59eca1a8b
Added Subject3D selection to View3D - Changed how View3D is added to canvasBase to allow events to get through
Connor Taylor-Brown2017-09-08 12:43:36 +12:00
a494eb4a6d
games are now added on the correct port
hba562017-09-08 12:04:54 +12:00
d3ddff8bf1
host game start button added margins
hba562017-09-08 11:52:21 +12:00
54baf4f884
Added scroll-wheel zooming - Race pane listens to scroll delta and sets View3D distance accordingly - GPSConverter has more applicable property names for infinite 3D
Connor Taylor-Brown2017-09-07 23:22:27 +12:00
7bad0e53ff
The boat is now viewable in top down view (60 degrees for isometric) and the race is playable #story[1261]
Fan-Wu Yang2017-09-07 22:03:24 +12:00
9f3cc53a63
Finished Arrow, Title and StartController scene splitting
Jessica Syder2017-09-07 21:40:10 +12:00
002cccd5a0
Reworked iMapLayout as race would either take too long or too short. Added temporary image for iMapLayout. Will be reworked when I have time. #story[1193]
David Wu2017-09-07 21:15:41 +12:00
18a689b110
Changed a constant to be using the one in the constants file (prepartory start time) and temporarily made it so that the race can start in 3 seconds. #story[1261]
Fan-Wu Yang2017-09-07 19:29:08 +12:00
d302a08a14
fix for ci builds #story[1193]
hba562017-09-07 19:25:49 +12:00
e82c59a8a4
New css for the host game window #story[1193]
hba562017-09-07 19:21:08 +12:00
a6db06a82c
Boats now reverse smoothly when colliding - Collision objects specify which boat is colliding - RaceLogic sets up an observable CollisionCommand when collision bubbles up - Boats now selectively identify observers of collision
cbt242017-09-07 16:57:07 +12:00
9cba3934ea
Sails command now applies acceleration to boat - Race only has control over speed while Sails command is not in action - This is governed by a default velocity property on the boat - Sails command returns control when sails are out and boat is up to speed - Speed never falls below 0 - Speed never goes above VMG velocity to prevent exploitation
cbt242017-09-07 14:50:53 +12:00
eba70ab2d4
Sails command now listens to race to check if goal velocity is met
cbt242017-09-07 14:27:20 +12:00
b62344261a
Merge remote-tracking branch 'remotes/origin/master' into storyB-)
cbt242017-09-07 13:29:23 +12:00
844b48a81a
Resolved issue #42 - "putting sails out changes boat bearing to face target gate"
cbt242017-09-07 13:23:56 +12:00
d89186d8bf
Finished playable 3D race with first person camera - Camera pivot must be manually updated - GPS coordinates are scaled by an arbitrary amount to make movement visible - Model has to be flipped 180 degrees to move forward
Connor Taylor-Brown2017-09-06 14:36:24 +12:00
4eac3ea8b5
Updated the HostGame now has images for the maps and the map can be picked #story[1193]
hba562017-09-06 13:49:18 +12:00
06517b7b47
Tidied up code - Removed prints from tests - Added Javadocs in necessary places - Reenabled boat status message to send - Added boat average angle - pulled out modulateAngle function - Commented harder to read loops - Disabled toggled VMG #story[1182]
Fan-Wu Yang2017-09-05 21:37:33 +12:00
d602c1ec6f
VMG is now working and fixed, however, it feels a bit odd #story[1182]
Fan-Wu Yang2017-09-05 21:03:19 +12:00
b22c5c5cd6
Created xml for new course layout. Marks and such are all added. Need to set up boundary when I have time. #story[1193]
David Wu2017-09-05 20:09:56 +12:00
7331ad1a20
VMG now works however some little bug in the interpolation in some quadrant that is making the speed all the same in the quadrant #story[1182]
Fan-Wu Yang2017-09-05 19:26:06 +12:00
19f4d0fc06
Added marks back to the race view
cbt242017-09-05 16:50:26 +12:00
05a0614246
Boats now rotate correctly in position rather than about the origin
cbt242017-09-05 16:02:20 +12:00
3ecf203cba
Recovered stable rotation of the player's boat - Uses AnimationTimer rather than listeners - Reduced pre-start time to speed up testing
cbt242017-09-05 15:19:04 +12:00
8b5a5506e7
Boat collisions now play a sound when user collides and a quieter sound when others collide. #story[1195]
David Wu2017-09-05 14:00:15 +12:00
7aaa880f40
VMG now works with some edge cases issues #story[1182]
Fan-Wu Yang2017-09-05 13:05:37 +12:00
f4cb1a3ac4
Made ObserverCommands and made racestate an observable. ObserverCommands observes the race passes in the params. #story[1196]
Joseph2017-09-05 12:40:34 +12:00