bevy/examples/games
ickshonpe 5f1261110f Flip UI image (#6292)
# Objective
Fixes  #3225, Allow for flippable UI Images

## Solution
Add flip_x and flip_y fields to UiImage, and swap the UV coordinates accordingly in ui_prepare_nodes.

## Changelog
* Changes UiImage to a struct with texture, flip_x, and flip_y fields.
* Adds flip_x and flip_y fields to ExtractedUiNode.
* Changes extract_uinodes to extract the flip_x and flip_y values from UiImage.
* Changes prepare_uinodes to swap the UV coordinates as required.
* Changes UiImage derefs to texture field accesses.
2022-11-14 21:59:17 +00:00
..
alien_cake_addict.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
breakout.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
contributors.rs Use new let-else syntax where possible (#6463) 2022-11-04 21:32:09 +00:00
game_menu.rs Flip UI image (#6292) 2022-11-14 21:59:17 +00:00