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 посетителям.