Releases: Fabinistere/fabien-et-la-trahison-de-olf
Releases · Fabinistere/fabien-et-la-trahison-de-olf
NPCs Update
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
.
Map, Title Screen and Animation Update
Preview
2023-09-01_01-53-14.mp4
The Title screen (you can zoom) and the music doesn't quite work in the web demo.
Added
- Castle Theme Music
Removed
Location
States to focus on only one location state:PlayerLocation
Changed
- Player Movement
- random idle
- top/bot walk anim
- spritesheet handle
- Menu
- Art Anim (randomness)
- smoke
- lights
- clouds
- Scaling
- Language
- Art Anim (randomness)
- Map
- Z refactor
- Map updated to v4.0.0
- Map design
- new Hall
- new lights
- new secret room
- flower panel
- new Temple
- new floor
- new throne
- new stairs
- new column
- new props
- new statues
- new plants
- new lights
- replace curtains by banners
- new Hall
- Collider generated by sprite
- TODO: create more accurate sprite
- Locations Sensor to detect a location change
- add Balcony Cover
- Map design
- Sprite are now 1pixel scale
The camera has been adpated to this size
Fixed
Bevy 0.11
Added
Bevy 0.11 Migration
- ECS
in_set(OnUpdate(*))
->run_if(in_state(*))
- Add the
#[derive(Event)]
macro for events. - Allow tuples and single plugins in
add_plugins
, deprecateadd_plugin
- Schedule-First: the new and improved
add_systems
- UI
- Flatten UI Style properties that use Size + remove Size
- The
size
,min_size
,max_size
, andgap
properties have been replaced by thewidth
,height
,min_width
,min_height
,max_width
,max_height
,row_gap
, andcolumn_gap
properties. Use the new properties instead.
- The
- Remove
Val::Undefinded
Val::Undefined
has been removed. Bevy UI’s behaviour with default values should remain the same.
The default values ofUiRect
’s fields have been changed toVal::Px(0.)
.
Style
’s position field has been removed. Itsleft
,right
,top
andbottom
fields have been added toStyle
directly.
For thesize
,margin
,border
, andpadding
fields ofStyle
,Val::Undefined
should be replaced withVal::Px(0.)
.
For themin_size
,max_size
,left
,right
,top
andbottom
fields ofStyle
,Val::Undefined
should be replaced withVal::Auto
- Rename keys like
LAlt
toAltLeft
- Delay asset hot reloading
Interaction::Clicked
replaced byInteraction::Pressed
- Flatten UI Style properties that use Size + remove Size
- Dependencies
- bevy_rapier_2d
0.22
- bevy_tweening
0.8
- bevy_rapier_2d
Bevy 0.10 Migration
- Dependencies
- bevy_rapier2d 0.21
- feature
debug-render
change todebug-render-2d
- feature
- Remove bevy-web-resizer dependency: Note: this functionality is now built into Bevy and this crate will no longer be maintained.
- bevy_rapier2d 0.21
- ECS
- UI
Bevy 0.9 Migration
- ECS
- UI
- TODO: Change UI coordinate system to have origin at top left corner
- Rename
UiColor
toBackgroundColor
- Make the default background color of
NodeBundle
transparent- remove useless field (completed by
..NodeBundle::default()
)
- remove useless field (completed by
- Merge TextureAtlas::from_grid_with_padding into TextureAtlas::from_grid through option arguments
- Dependency