bevy/examples/2d
François 58d687b86d fix flip of contributor bird (#1573)
Since 89217171b4, some birds in example `contributors` where not colored.

Fix is to use `flip_x` of `Sprite` instead of setting `transform.scale.x` to `-1` as described in #1407.


It may be an unintended side effect, as now we can't easily display a colored sprite while changing it's scale from `1` to `-1`, we would have to change it's scale from `1` to `0`, then flip it, then change scale from `0` to `1`.
2021-03-07 19:50:19 +00:00
..
contributors.rs fix flip of contributor bird (#1573) 2021-03-07 19:50:19 +00:00
sprite.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
sprite_flipping.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
sprite_sheet.rs ♻️ Timer refactor to duration. Add Stopwatch struct. (#1151) 2021-03-05 19:59:14 +00:00
text2d.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
texture_atlas.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00