Commit graph

59 commits

Author SHA1 Message Date
Gwilym Inzani 71a7b6431c Don't force a pointless lifetime on the tracker 2024-07-11 21:58:44 +01:00
Gwilym Inzani 6076a1bd23 Fix the DPL tracker usage 2024-07-11 21:58:44 +01:00
Corwin dc44d20627
save to separate areas 2024-04-20 16:18:42 +01:00
Corwin a0895635ab
use portable atomic from agb 2024-04-09 22:08:55 +01:00
Corwin 7ade79e132
update other projects 2024-04-09 21:52:54 +01:00
Corwin 559b53456f
use clamp 2024-04-06 02:45:54 +01:00
Corwin 184b11ed81
use static rather than const 2024-03-29 14:41:08 +00:00
Gwilym Inzani 74451f819c More impl Into<Vector2D<_>> and fix compile errors 2024-02-21 12:59:02 +00:00
Gwilym Inzani 8e25f011b4 Remove unnecessary imports 2024-02-20 22:15:31 +00:00
Constantin da84131de6 Add priority set / get and set_visible / is_visible to maps 2024-02-16 11:21:27 +01:00
Corwin 8e367ab6b6
allow dead code of an enum parameter only used in a debug print 2024-01-13 10:31:33 +00:00
Corwin 0e5063a9f0
Merge remote-tracking branch 'upstream/master' into dungeon/simulation 2023-09-14 13:50:00 +01:00
Gwilym Inzani 7edc6d16ab
Use 32768Hz for the tracker (#479)
Sounds way better and we can get away with it in DPL

- [x]  no changelog update needed
2023-09-06 09:56:28 +01:00
Gwilym Inzani 0c19988699 Use 32768Hz for the tracker 2023-09-05 23:22:50 +01:00
Corwin 11fc38d840
report mismatch counts 2023-09-05 23:02:49 +01:00
Corwin 5fc302dec9
make names better 2023-09-05 22:53:10 +01:00
Corwin 962b503751
test all the levels 2023-09-05 22:52:10 +01:00
Corwin 9757608ab4
add snail rotator 2023-09-01 17:56:50 +01:00
Corwin a97248cd68
add hole and rotating enemy 2023-09-01 00:42:43 +01:00
Corwin 1bcbeb056e
more advanced movement system 2023-08-30 17:43:24 +01:00
Gwilym Inzani 4642a74a0f Update the examples with the new tileset importing 2023-08-30 17:07:14 +01:00
Corwin 025e76b8bd
you can only turn around if this is your first movement 2023-08-30 00:55:25 +01:00
Corwin 45a9dbfeac
fix block pushing on ice 2023-08-30 00:08:57 +01:00
Corwin 0b24fdebd0
teleporters are on the ground 2023-08-29 23:10:09 +01:00
Corwin b78f7345b9
replace existing animation for pushed entity 2023-08-29 22:32:03 +01:00
Corwin f3d0757fa3
squid hero phasing 2023-08-29 22:28:00 +01:00
Corwin 36e912bcb0
nothing should get killed from overlapping the hero 2023-08-29 22:28:00 +01:00
Corwin 7d907d014f
the check should be for one entity 2023-08-29 22:03:42 +01:00
Corwin da89a8a6cb
add teleporter shadow 2023-08-29 21:53:10 +01:00
Corwin 8b8f94ae7f
teleporters 2023-08-29 21:45:11 +01:00
Corwin df2f45797b
only hero and squid can pick up items 2023-08-29 21:31:36 +01:00
Corwin 07c5afb990
add teleporter entity type 2023-08-29 21:24:30 +01:00
Corwin 56f1b68055
allow with justification 2023-08-29 21:01:35 +01:00
Corwin 078f4f22a9
make obtuse return values understandable 2023-08-29 20:59:03 +01:00
Gwilym Inzani 15d075a1c8 Maybe we'll have this many levels one day 2023-08-29 20:56:29 +01:00
Gwilym Inzani fef393c39c We can now make a lot more levels 2023-08-29 20:54:31 +01:00
Corwin 346f62f328
resolve overlaps after all moves 2023-08-29 20:52:07 +01:00
Corwin b5da20d748
blocks can't intersect heros or enemies 2023-08-29 20:11:55 +01:00
Gwilym Inzani c9bf56755a Also deduplicate for the dungeon puzzler 2023-08-29 15:17:50 +01:00
Gwilym Inzani afed1542fe Move the new sprites to the correct place 2023-08-29 09:50:00 +01:00
Corwin 31c5519bc8
base update order on initial positions 2023-08-28 15:59:20 +01:00
Corwin 2a02da1c2f
simplify entity update loop 2023-08-28 14:00:39 +01:00
Corwin 0b45c006c8
ice on bottom 2023-08-28 11:45:29 +01:00
Corwin 4bd175cd7b
defined update order 2023-08-28 11:45:21 +01:00
Corwin dacecef900
fix bug where the ice is the one to get moved 2023-08-28 11:38:04 +01:00
Corwin ae0b86c7b9
fix lints 2023-08-28 11:36:22 +01:00
Corwin 5846a1c024
fix wonky ice animation next to wall 2023-08-28 11:34:08 +01:00
Gwilym Inzani 04ee5646ef
Add some new sprites for Corwin 2023-08-28 11:06:59 +01:00
Corwin 248cdae7a3
change squid change direction behaviour 2023-08-27 20:34:20 +01:00
Corwin 36603d5446
add block 2023-08-27 19:49:37 +01:00