bevy/examples/ecs
Dilyan 4f5f04041f Fix player number in example game in the ecs_guide (#5098)
# Objective

- Small bug in the example game given in examples/ecs/ecs_guide

Currently, if there are 2 players in this example game, the function exclusive_player_system can add a player with the name "Player 2". However, the name should be "Player 3". This PR fixes this. I also add a message to inform that a new player has arrived in the mock game.

Co-authored-by: Dilyan Kostov <dilyanks@amazon.com>
2022-06-26 13:58:56 +00:00
..
component_change_detection.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
custom_query_param.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
ecs_guide.rs Fix player number in example game in the ecs_guide (#5098) 2022-06-26 13:58:56 +00:00
event.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
fixed_timestep.rs Split time functionality into bevy_time (#4187) 2022-05-26 00:27:18 +00:00
generic_system.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
hierarchy.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
iter_combinations.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
parallel_query.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
removal_detection.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
startup_system.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
state.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
system_chaining.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_closure.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_param.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_sets.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
timers.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00