How I do screen shake in Godot

Опубликовано: 24 Февраль 2022
на канале: The Shaggy Dev
17,994
549

The basic way to do screen shake is to just apply a random offset each frame to the camera, but in this video I show how I use Godot's OpenSimplexNoise class to generate noise and get a more fluid and customizable screen shake. This can work great for both intense shakes and gentle sways.

Sample source code to compare: https://github.com/theshaggydev/the-s...

Text version of this post: https://shaggydev.com/2022/02/23/scre...

Godot documentation: https://docs.godotengine.org/en/stabl...


Смотрите видео How I do screen shake in Godot онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Shaggy Dev 24 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 17,994 раз и оно понравилось 549 людям.