Commit Graph

315 Commits

Author SHA1 Message Date
3fc74d10d9 Refactor navigation/pathfinding to actions.
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-31 16:48:26 -06:00
8eb5e0971f Artificually implement some deadzones. 2023-01-11 11:38:06 -06:00
b1254d9029 Remove Sentry.
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-06 11:43:12 -06:00
a4908fda80 Remove sprinting hack. 2022-12-21 08:12:25 -06:00
4ecacb73ad Switch to PluginGroup.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 18:49:35 -06:00
aa054c3637 Re-export plugins.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 16:34:37 -06:00
1d6c47976a Make additional fields public. 2022-12-20 16:34:23 -06:00
39cfe6f9d9 Hide ExplorationConfig.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 10:55:19 -06:00
f255239517 Make many plugins own their own config.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 09:15:09 -06:00
4718d51624 Cleanup of exploration plugin. 2022-12-20 08:09:40 -06:00
1e9860e3a1 Consolidate inserts.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 20:04:51 -06:00
b1a11de050 Upgrade to Bevy 0.9. 2022-12-19 14:08:31 -06:00
e4f60ff024 Migrate to actions for setting velocities.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 09:32:33 -05:00
43b163fbd9 Make snap turns more reliable, and avoid queuing unnecessary direction removal.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-21 13:56:57 -05:00
0a38e65d26 Add yaw() to Transform. 2022-09-21 13:56:00 -05:00
1837591ba5 impl PointLike for &GlobalTransform.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-13 10:06:04 -05:00
08d4d7429c Simplify and fix various issues with pathfinding.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-12 17:00:33 -05:00
1108e3e75e Rename field in preparation for adding generic generator support.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 08:34:23 -05:00
a4b2a1b026 cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-07 08:25:21 -05:00
0f78ed421d Add ability to store path cost modifiers as a component.
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-06 17:25:14 -05:00
c980854663 Correctly size zone colliders so they connect with neighbors.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-31 16:08:50 -05:00
323d0b1268 Re-export Bevy.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-29 14:06:44 -05:00
1f3aa8eaa0 Add ordering to navigation-related systems.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-08-29 12:25:07 -05:00
8148aa4092 Tweak shape extents and position, and viewshed range, to correctly flag tiles as visible or blocked. 2022-08-29 12:24:32 -05:00
124cd74cb1 Use correct transform when computing offsets. 2022-08-27 12:26:58 -05:00
1020f818b9 Bump here_be_dragons.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-27 09:11:37 -05:00
5e700a74b0 Merge commit '4de359f'
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 13:20:15 -05:00
07e745c3fc Add experimental plugin for sounds that occupy a region, and should play at the nearest point on the collider.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-23 09:49:14 -05:00
4de359ffdb Add helper function for calculating closest points between GlobalTransform and colliders. 2022-08-22 15:51:07 -05:00
23d616eead Simplify sound components and refactor to single-source.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-06 11:05:04 -05:00
5cdcb7a4d4 Make collider smaller so it won't block out tiles adjacent to blocked ones. 2022-08-04 15:29:50 -05:00
1fb194266c Update direction in PreUpdate.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-04 14:30:40 -05:00
e1a1522269 Correctly calculate direction and distance with yaws. 2022-08-04 14:30:07 -05:00
1fcec80e0e Add system for limiting speed. 2022-08-04 11:49:17 -05:00
c02f9b21d6 Navigation cleanup. 2022-08-04 11:25:09 -05:00
e7c9da6f91 Switch to typed asset handling. 2022-08-03 09:43:07 -05:00
57091d7e9e cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 17:17:08 -05:00
627f63211d Refactor to leafwing-input-manager.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-02 17:15:22 -05:00
c0a1befd98 Correct distance calculation between colliders. 2022-08-02 17:14:51 -05:00
4495174be0 Fix yaw calculation. 2022-08-02 16:49:27 -05:00
5f14a90b92 Refactor access of AsyncComputeTaskPool. 2022-08-01 12:30:37 -05:00
2ff8a858ed Update to Bevy 0.8. 2022-08-01 11:38:15 -05:00
da413ef4e4 Ensure width/height are positive.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 14:20:15 -05:00
21f79b0528 Remove Map dependency from some visibility systems.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 13:52:50 -05:00
4e63ad21d1 Remove some logging.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 11:12:39 -05:00
360bf5094b cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-20 10:18:16 -05:00
3e6b864e3e Merge branch 'visibility' 2022-07-20 10:17:45 -05:00
df3e72909c Remove unnecessary default. 2022-07-20 10:17:38 -05:00
d19048c4a8 Use AABB intersection rather than point containment. 2022-07-20 10:12:14 -05:00
a0ca6a9f55 Massive visibility cleanup/optimization. 2022-07-20 08:24:38 -05:00
bd899b9c8e Reorganize.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 11:56:41 -05:00
f3d2778830 cargo fmt 2022-07-19 11:27:37 -05:00
1721dc98f8 Refactor helpers for direction and distance, adding some that take colliders into account.
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-19 11:24:45 -05:00
2d00bbb2db Add implementation of PointLike for &Destination.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 11:53:33 -05:00
410b07826c Add Zone component on rooms. 2022-07-18 11:52:48 -05:00
95e32b3689 Update direction later to hopefully fix other miscalculations.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 09:25:42 -05:00
6b6a961720 Make maps optional for exploration.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 17:28:36 -05:00
4b07388a56 Make exploration types generic.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 15:22:44 -05:00
bff40340a8 Upgrade Rapier. 2022-07-12 12:43:43 -05:00
65067412af Remove direction when transform is removed.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 17:03:40 -05:00
a1cfc448db Update viewshed in distinct stage to ensure that data is synced.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 14:01:25 -05:00
3994fef9d0 Run snap system after direction is updated.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 12:48:04 -05:00
1ff98c9132 Make visibility colliders the single source of truth for calculations.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 10:26:03 -05:00
6ff5eb15a9 Appease Clippy.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-06 10:13:59 -05:00
3c61a57bc6 cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 10:30:53 -05:00
257e228a7a Use single collider per tile, and fix other off-by-1 errors.
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-15 10:28:21 -05:00
eae03f8f7a Correctly offset shape when calculating whether it will collide at tile. 2022-06-15 10:28:00 -05:00
a019e8b5c7 Add GlobalTransform to map colliders.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-07 09:14:11 -05:00
a1edab98f9 Set elapsed time of sound icons to their duration on visibility gain so they begin playing immediately. 2022-06-07 09:13:03 -05:00
828a0ca0b3 Add GlobalTransform to Area.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-03 10:11:21 -05:00
e5b43e4388 cargo fmt
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-03 08:13:59 -05:00
a491e90573 Correctly manage icon state when visibility is lost.
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-03 06:53:45 -05:00
32a04f2af4 Default gain to 1. 2022-05-31 10:59:25 -05:00
b2e4f9b729 Merge branch 'main' into synthizer 2022-05-31 10:38:05 -05:00
a26cf344d6 Add option check. 2022-05-31 10:17:16 -05:00
d54dbedea5 Rename variable for now. 2022-05-24 11:37:12 -05:00
29405c7307 Port to Synthizer. 2022-05-23 13:35:25 -05:00
1022037efe Move sound functionality into separate plugins.
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 11:51:44 -05:00
5db110ccc8 Appease Clippy. 2022-05-23 11:23:04 -05:00
6d8f235657 Eliminate extra stage for sound icons and exploration.
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-19 09:25:26 -05:00
b3a06abf0f Various visibilityu/exploration tweaks and consistency fixes. 2022-05-18 10:28:42 -05:00
480e3cc6a5 Consistently convert coordinates. 2022-05-18 10:28:19 -05:00
34b10aaca4 Divide, not multiply. 2022-05-18 10:27:52 -05:00
615af720cb Major visibility system updates.
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-17 10:37:46 -05:00
64fd169ba2 Trigger icon check based on visibility, not presence of coordinates. 2022-05-12 10:46:32 -05:00
7e6fd923a3 More accurately sync speed and velocity. 2022-05-12 10:07:38 -05:00
ef55419bb7 Restore transforms so portals' transforms update correctly, and don't add children twice. 2022-05-11 14:41:17 -05:00
e8a15fd84d Strip down bundle and correct overly broad query. 2022-05-11 13:34:48 -05:00
0a141f078b Add PointLike implementation for GlobalTransform. 2022-05-11 13:34:03 -05:00
13d1cb0734 Get rid of Coordinates. 2022-05-10 13:56:49 -05:00
f3d03d531a Appease Clippy. 2022-05-07 04:53:21 -05:00
623b731765 Only check collisions with map when pathfinding. 2022-05-07 04:50:17 -05:00
9307852eda Initial port to Bevy 0.7. 2022-05-06 11:07:59 -05:00
37d0f0fcde Further tweaks to snap turns.
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-05 08:34:53 -05:00
aba63ebb19 Migrate to new Rapier.
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-04 12:53:59 -05:00
12c7759f66 Remove more unnecessary bounds.
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-04 10:00:57 -05:00
3ca886ee8c Remove unnecessary bounds.
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-04 09:32:51 -05:00
3fb03d6b41 Run snap before regular movement controls.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 13:15:12 -05:00
43137cfb36 Theoretically restore old cache hit.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 12:27:09 -05:00
38564fbebe Remove bad cache hit check.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 11:22:46 -05:00