Commit Graph

345 Commits

Author SHA1 Message Date
7b1aaf69a2 Run visibility systems more often. 2022-01-27 08:10:45 -06:00
7d179b45f7 Fix a crash. 2022-01-26 14:56:52 -06:00
cfee1d747a Bump dependency. 2022-01-26 13:13:23 -06:00
e4ee87ee27 Various crash fixes. 2022-01-20 18:06:20 -06:00
488037d074 Simplify some conversions. 2022-01-19 18:37:04 -06:00
c0980f66c1 Use new format strings. 2022-01-19 16:38:32 -06:00
a214206caf Assorted small changes. 2022-01-13 14:43:02 -06:00
10bf503c89 Only log panics in release builds. 2022-01-13 14:42:46 -06:00
6a49deaefd Bump pathfinding dependency. 2022-01-13 14:42:33 -06:00
ae7a0d13fa Finish port to Bevy 0.6. 2022-01-12 11:05:12 -06:00
65e7c0f870 Will giving explicit ownership to this function help? Doesn't seem to. 2022-01-10 23:14:31 -06:00
698f12d9bd WIP: Continue upgrade. 2022-01-10 23:05:51 -06:00
cb02e39870 Include area AABB in component. 2022-01-10 13:55:42 -06:00
356caa09e0 WIP: Begin porting to Bevy 0.6. 2022-01-10 13:52:27 -06:00
3f8636a639 Run visibility systems more often. 2021-12-20 08:41:33 -06:00
cc42081733 Sync more properties on sound creation. 2021-12-08 12:29:15 -06:00
83ee2635d1 Replace 3:00 and 9:00 with right and left. 2021-11-29 12:35:54 -06:00
91b058995c Make relative direction presentation configurable. 2021-11-29 12:29:45 -06:00
07a4bd9d64 Support pitch in footsteps. 2021-11-28 12:31:39 -06:00
e6fce1e28f Replace 12:00 with ahead, and 6:00 with behind. 2021-11-16 16:30:58 -06:00
47fd4fb5a5 Enable simd. 2021-11-16 06:10:36 -06:00
570818d8f7 Bump edition. 2021-10-21 13:32:08 -05:00
3b42af12e1 Route all visibility updates through a single system. 2021-10-12 16:59:59 -05:00
8f76bf716f More aggressively find sound icons when exploring. 2021-10-07 11:41:57 -05:00
78e9e8b680 Remove logging. 2021-10-06 07:39:15 -05:00
d43a4228fd Add Default implementation for Pool. 2021-10-05 09:16:44 -05:00
12f36d20e7 Visibility performance optimizations. 2021-10-01 09:07:29 -05:00
bebcd4f66b Remove logging. 2021-10-01 09:07:15 -05:00
e8caa58b08 Optimize visibility. 2021-09-28 14:36:21 -05:00
f3df13ec25 New visibility system. 2021-09-28 12:49:44 -05:00
425c041613 Remove VisibleTiles in favor of looking up directly on the viewshed. 2021-09-27 13:46:11 -05:00
b24a30a5d3 Correctly sort coordinates when moving between features. 2021-09-27 13:18:45 -05:00
0dc9a49c4e Tweak exploration collision algorithm. 2021-09-27 12:26:24 -05:00
4a43642957 Only focus on visible/explorable features. 2021-09-27 10:37:15 -05:00
2ac2566f5d Floor coordinates so directions are consistent. 2021-09-27 09:57:21 -05:00
ef35478b34 More modernization. 2021-09-23 13:36:39 -05:00
ad60bd7a40 Use opaque to be more clear. 2021-09-23 12:59:05 -05:00
8224d85b4b Fix more visibility bugs, and make opaque public. 2021-09-23 12:58:39 -05:00
3c54768e69 Don't despawn focused entities. 2021-09-22 10:21:31 -05:00
52e314ce1c Draw visibility collider lines through coordinate centers to hopefully address seeing through walls. 2021-09-22 08:36:38 -05:00
a59f8a22a1 Use Visible component with opacity to indicate that something should appear visually. 2021-09-22 08:23:01 -05:00
e90a85641b Begin updating exploration plugin. 2021-09-21 15:57:47 -05:00
4e9fcef178 More collider-based visibility work. 2021-09-21 12:58:57 -05:00
42912e59a8 Refactor visibility to be collider and event-based. 2021-09-21 06:38:51 -05:00
8f5b1b8f08 Simplify path negotiation. 2021-09-17 10:02:33 -05:00
10fc85d384 Simplify visibility calculation. 2021-09-16 14:27:08 -05:00
dc1c14fd23 Various pathfinding tweaks. 2021-09-16 14:26:45 -05:00
74e66dbd59 Create area AABBs of the correct size. 2021-09-16 14:25:17 -05:00
02eff61016 Spawn areas with correct size, remove printlns, and reformat. 2021-09-14 10:36:16 -05:00
f16333d258 Fix out-of-bounds error. 2021-09-01 11:34:38 -05:00