Closed lukecarr closed 1 year ago
@lukecarr The proposal is very interesting, unfortunately for the moment I think I could only get all the splash screens to be skipped, mostly because of the way it is developed and the way it uses the bevy_tweening
to show the elements, although if you help me with a PR I will not get angry hahahahahah, for the moment I will do what I said, an event to skip all the screens
It would be beneficial to have the option to skip a screen (or all screens) with player input.
I think a
SkipSplashScreenEvent
could be exposed that games can write to. This way, the game can fire this event with whatever logic they use to read input (Res<Input<...>>
,leafwing_input_manager
).It would be helpful if the event struct had a boolean field to indicate if all (remaining) screens should be skipped or only the active one.
The alternative is just a public function on the splash screens resource that a system in the game can invoke. Guess it's personal preference as to which approach!