bevy/examples/2d
Joona Aalto bd0c74644f
Fix sprite and picking examples (#15803)
# Objective

Looks like #15489 broke some examples :) And there are some other issues
as well.

Gabe's brother Gabe is tiny in the `sprite_animation` example:


![kuva](https://github.com/user-attachments/assets/810ce110-ecd8-4ca5-94c8-a5655f381131)

Gabe is not running in the `sprite_picking` example, and (unrelated) is
also very blurry: (note that the screenshot is a bit zoomed in)


![kuva](https://github.com/user-attachments/assets/cb115a71-e3fe-41ed-817c-d5215c44adb5)

Unrelated to sprites, the text in the `simple_picking` example is way
too dark when hovered:


![kuva](https://github.com/user-attachments/assets/f0f9e331-8d03-44ea-becd-bf22ad68ea71)

## Solution

Both Gabes are now the correct size:


![kuva](https://github.com/user-attachments/assets/08eb936a-0341-471e-90f6-2e7067871e5b)

Gabe is crisp and running:


![kuva](https://github.com/user-attachments/assets/8fa158e8-2caa-4339-bbcd-2c14b7cfc04f)

The text has better contrast:


![kuva](https://github.com/user-attachments/assets/2af09523-0bdc-45a7-9149-50aa9c754957)
2024-10-09 23:51:28 +00:00
..
2d_shapes.rs Text rework (#15591) 2024-10-09 18:35:36 +00:00
2d_viewport_to_world.rs Implement From translation and rotation for isometries (#15733) 2024-10-08 16:09:28 +00:00
bloom_2d.rs Text rework (#15591) 2024-10-09 18:35:36 +00:00
bounding_2d.rs Text rework (#15591) 2024-10-09 18:35:36 +00:00
cpu_draw.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
custom_gltf_vertex_attribute.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d_alpha_mode.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d_arcs.rs Implement From translation and rotation for isometries (#15733) 2024-10-08 16:09:28 +00:00
mesh2d_manual.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d_vertex_color_texture.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
move_sprite.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
pixel_grid_snap.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
rotation.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_animation.rs Fix sprite and picking examples (#15803) 2024-10-09 23:51:28 +00:00
sprite_flipping.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_sheet.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_slice.rs Rename TextBlock to TextLayout (#15797) 2024-10-09 20:58:27 +00:00
sprite_tile.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
text2d.rs Rename TextBlock to TextLayout (#15797) 2024-10-09 20:58:27 +00:00
texture_atlas.rs Rename TextBlock to TextLayout (#15797) 2024-10-09 20:58:27 +00:00
transparency_2d.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
wireframe_2d.rs Text rework (#15591) 2024-10-09 18:35:36 +00:00