Commit Graph

345 Commits

Author SHA1 Message Date
9a85544ad5 Use clock facings for relative directions. 2021-08-31 21:15:52 -05:00
fae8b559cf Integrate Sentry for crash logging. 2021-08-30 11:44:55 -05:00
68e5143386 Add exit point to GridBuilder and change parameters to usize. 2021-08-26 16:00:56 -05:00
d33f26d31c Visibility system cleanup. 2021-08-23 10:14:03 -05:00
60ad00276e Zero out velocity when Speed component is removed. 2021-08-18 14:35:58 -05:00
056a96f7fc Bump dependency. 2021-08-15 15:49:46 -05:00
00458f1835 Make colliders children of the map. 2021-08-12 13:20:00 -05:00
22abe7462e Export shadowcasting crate and its requirements. 2021-08-11 10:45:30 -05:00
25d0664f49 Visibility blocking takes an opacity. 2021-08-11 10:44:45 -05:00
ef9ba8530f Back to mainline dependency. 2021-08-11 10:44:09 -05:00
fef392a8cc Correctly calcuate area AABBs. 2021-08-06 04:28:44 -05:00
ade155fcb4 Simplify. 2021-08-04 15:51:18 -05:00
6fdbf4a667 Insert default value. 2021-08-03 14:12:26 -05:00
dd84266039 Expose to allow hooking into visibility-like calculations more easily. 2021-08-03 11:24:08 -05:00
ffa783bff1 Tweak spawn table creation to not overflow. 2021-08-03 08:57:40 -05:00
62ed38c952 Minor argument cleanup. 2021-07-29 19:37:02 -05:00
5664f9e646 Remove printlns. 2021-07-28 09:39:10 -05:00
7fe808b2a1 Tweak sync queries to include positions for which rigid body/collider positions aren't automatically synced by Rapier. 2021-07-28 09:36:50 -05:00
7f61eb3a90 Even more cleanup. 2021-07-27 20:29:08 -05:00
d28dd051e4 More cleanup. 2021-07-27 20:17:36 -05:00
ae46114f6d Simplify calculation query. 2021-07-27 20:12:36 -05:00
a4f0fa8aa4 Round 2: Refactor to futures, attaching tasks as components. 2021-07-27 17:10:13 -05:00
1eb5351a9c Round 1 of pathfinding optimizations. 2021-07-27 11:17:06 -05:00
5dbc6510bc Add degrees getter for cardinal directions. 2021-07-26 16:07:34 -05:00
42513e7912 Store cardinal direction on player. 2021-07-26 15:50:25 -05:00
12b7ecd2ea If an entity has coordinates and a collider hits a space that isn't equal to the coordinates, mark it as visible.
Yes this is an ugly hack, but it works for now.
2021-07-21 15:27:38 -05:00
fee446cb7d Pathfinding optimizations. 2021-07-21 15:20:02 -05:00
e6af8f7618 More optimizations to coordinate/position sync. 2021-07-20 11:36:09 -05:00
2abeb3b08c Don't sync transforms with a ColliderPosition, and also don't sync if they're already equal. 2021-07-20 10:53:44 -05:00
a591326734 More robust area descriptions. 2021-07-19 12:16:47 -05:00
9a2495d9de Rename AreaTag to Area. 2021-07-19 11:30:27 -05:00
fedd8b69e0 Return to official upstream. 2021-07-19 09:05:22 -05:00
48e6b9ff61 Minimize number of colliders by tracing walls. 2021-07-14 16:06:26 -05:00
3de4b69030 Allow collider/portal spawning to be run separately. 2021-07-14 12:52:03 -05:00
e705451020 Use main repository for now. 2021-07-14 10:10:56 -05:00
fc9e561be7 Appease Clippy. 2021-07-13 12:26:51 -05:00
1391856478 Bump mapgen. 2021-07-13 12:22:50 -05:00
4749a09c5b Compute AABB on area addition. 2021-06-30 11:16:57 -05:00
1da536d274 Order systems such that portal and collider-spawning are ordered. 2021-06-30 09:53:11 -05:00
52ba77be46 Remove old area system. 2021-06-30 09:43:26 -05:00
5ff4a92c44 Migrate area description logger to new areas. 2021-06-29 10:36:59 -05:00
80f163f65f Move new area initialization to existing collider initialization system. 2021-06-29 10:31:18 -05:00
0b37adb797 Add new area system. 2021-06-29 09:29:49 -05:00
0700c3d30c Remove in favor of stopping physics processing. 2021-06-28 12:26:30 -05:00
a5fdea3292 Pathfinding takes physics into account. 2021-06-28 10:04:53 -05:00
64499a6278 Broaden circumstances in which paths are calculated. 2021-06-16 13:35:32 -05:00
822e60e722 Fix visibility logging. 2021-06-16 13:09:21 -05:00
98bca77f66 More tweaks to pathfinding and visibility. 2021-06-16 11:28:06 -05:00
2e805b3b8b Use physics for pathfinding. 2021-06-15 17:48:49 -05:00
7545dd6bd3 Switch to fork until issue is fixed. 2021-06-15 13:37:41 -05:00