Commit graph

7 commits

Author SHA1 Message Date
a2974d8dd3 the damage system refactor!
killing is now done based on groups, the same way enemies already killed
the player.

these groups go on the entity's hitbox, not the entity itself.
enemies' hitboxes have all been put in "enemy_hitbox"

the arrow_projectile has a variable for the target group, so it could
easily be simply set to "player" for arrows shot by enemies

blocking is also done with groups. any hitbox with "blocks_arrow"
will block arrows, same with "blocks_sword" and "blocks_squash"
2023-01-20 00:06:34 -05:00
18f5b28295 inflict upon EVERYONE a bloody death! 2023-01-16 02:08:35 -05:00
pennyrigate
2cb646ce32 enemies now get squashed by rocks 2023-01-09 21:50:02 -05:00
pennyrigate
2d3fc72ebe added bow 2022-12-17 22:47:46 -05:00
pennyrigate
8f6a068eba Made some changes :) 2022-12-08 23:28:49 -05:00
pennyrigate
4790b2b2a4 enemies can be squashed by rocks 2022-12-07 02:23:21 -05:00
pennyrigate
20fa885736 use enemy parent script 2022-12-07 02:10:12 -05:00