Preview
2023-09-23.19-49-42.mp4
2023-09-23.19-41-22.mp4
2023-09-23.19-50-08.mp4
Landmarks
Added
- Landmarks Sensor
- Hall
- Temple
- Secret Room
- Landmarks forcing direction (
flip_x
)
Changed
- globalize
PlayerLocation
toLocation
- The component
Location
is given to- Each npc
- Each landmark
Location
is still aState
to keep the quick and easy access to the player's location
- The component
- globalize Spritesheet Indices
Dialog
- YML Dialog and reorganize ui components
NPCs' Behavior
Refactored
- Follow Behavior
- add and use a
FollowRangeSensor
to detect the follow_target's hitbox
- add and use a
- JustWalk to LandmarkSeeking
Added
- Detection Behavior
TargetSeeker
DetectionRangeSensor
used to analyze all entering characters' hitbox and compare with theirTargetType
- if it correpond: Deactivate this sensor and start the Chase Behavior with the component
Chaser
.
- if it correpond: Deactivate this sensor and start the Chase Behavior with the component
- Chase Behavior
Chaser
PursuitRangeSensor
used to analyze all exiting characters' hitbox and compare with theirChaser
'starget
- if it correpond: Deactivate this sensor and remove the Chase Behavior.
- The
CharacterCloseSensor
used to detect all enteringChaser
s hitbox and start a Combat if theChaser
'starget
is the parent of theCharacterCloseSensor
.