bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add a screen shake effect

Open JMS55 opened this issue 3 years ago • 4 comments

What problem does this solve or what need does it fill?

Adds a nice effect to games.

What solution would you like?

Add some kind of component or animation to a Camera to add a screen shake.

Additional context

See also: https://shaggydev.com/2022/02/23/screen-shake-godot/

JMS55 avatar Nov 12 '22 20:11 JMS55

there is already bevy_camera_shake for 0.8.1 but with the 0.9 release on the horizon it looks like it could do with an update.

soqb avatar Nov 12 '22 20:11 soqb

this definitely feels like it fits an ecosystem implementation rather than something in Bevy itself. Unreal is the only engine I can find which provides builtin camera shake. Unity and Godot both leave it up to the user.

soqb avatar Nov 12 '22 20:11 soqb

Going to second the opinion that this is ideal for an ecosystem crate solution. Not every game needs it and the implementation is relatively simple to maintain separately from the core engine. Might even be doable via just normal animation systems or user-made game code.

james7132 avatar Nov 13 '22 07:11 james7132

this definitely feels like it fits an ecosystem implementation

Agreed. Bevy would need to have quite extensive video-sequencing and camera tools in-house before it starts to make sense to first-party supply camera effects.

Weibye avatar Nov 13 '22 10:11 Weibye