integrated particle system into player positions

This commit is contained in:
Nixon 2022-08-24 14:35:05 +08:00 committed by tuxmain
parent 2b8e04e4d6
commit 15960e7f80

View file

@ -34,11 +34,13 @@ impl Plugin for GamePlugin {
.with_system(keyboard_input_system) .with_system(keyboard_input_system)
.with_system(character_particle_effect_system) .with_system(character_particle_effect_system)
.with_system(move_camera), .with_system(move_camera),
.with_system(character_particle_effect_system),
) )
.add_system_set( .add_system_set(
SystemSet::on_update(AppState::Win) SystemSet::on_update(AppState::Win)
.with_system(keyboard_input_system) .with_system(keyboard_input_system)
.with_system(move_camera), .with_system(move_camera),
.with_system(character_particle_effect_system),
) )
.add_system_to_stage(CoreStage::PostUpdate, collision_event_system); .add_system_to_stage(CoreStage::PostUpdate, collision_event_system);
} }