diff --git a/assets/beach/beach.level.yaml b/assets/beach/beach.level.yaml index 1ea6e8f4..de13534d 100644 --- a/assets/beach/beach.level.yaml +++ b/assets/beach/beach.level.yaml @@ -68,6 +68,11 @@ enemies: - fighter: *brute location: [450, 20, 0] trip_point_x: 300 + - fighter: *brute + location: [1000, 20, 0] + trip_point_x: 700 + +stop_points: [500, 1000] items: - item: &bottle /items/bottle/bottle.item.yaml diff --git a/history/history.db b/history/history.db new file mode 100644 index 00000000..806e3fef Binary files /dev/null and b/history/history.db differ diff --git a/src/attack.rs b/src/attack.rs index d6a220fc..2901e4d9 100644 --- a/src/attack.rs +++ b/src/attack.rs @@ -25,10 +25,8 @@ use crate::{ }, input::PlayerAction, item::item_carried_by_player, - metadata::{FighterMeta, GameMeta, ItemMeta}, - movement::{ - clamp_player_movements, LeftMovementBoundary, MoveInArc, MoveInDirection, Rotate, Target, - }, + metadata::{FighterMeta, ItemMeta}, + movement::{MoveInArc, MoveInDirection, PlayerMovementClamper, Rotate, Target}, state::State, ArrivedEvent, Enemy, GameState, Player, Stats, }; @@ -297,10 +295,9 @@ fn player_flop( ), With, >, + player_movement_clamper: PlayerMovementClamper, fighter_assets: Res>, time: Res