2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2024-12-28 22:13:08 +00:00
Commit graph

2 commits

Author SHA1 Message Date
François Mockers
fcfb685821
enable_state_scoped_entities() as a derive attribute ()
# Objective

- I got tired of calling `enable_state_scoped_entities`, and though it
would make more sense to define that at the place where the state is
defined

## Solution

- add a derive attribute `#[states(scoped_entities)]` when derive
`States` or `SubStates` that enables it automatically when adding the
state

## Testing

- Ran the examples using it, they still work
2024-12-01 20:09:36 +00:00
François Mockers
e1b9f545fb
Introduce testbed examples starting with 2d ()
# Objective

- Make progress for  
- Start with 2d

## Solution

- Remove screenshots for existing examples as they're not deterministic
- Create new "testbed" example category, with a 2d one to start

## Testing

- Run `CI_TESTING_CONFIG=.github/example-run/testbed_2d.ron cargo run
--example testbed_2d --features "bevy_ci_testing"`
- ???
- Check the screenshots
2024-10-16 17:37:47 +00:00