NodotProject / nodot

A video game node library for Godot 4
https://nodotproject.github.io/nodot/
MIT License
329 stars 11 forks source link

Use noise for screenshake #117

Closed krazyjakee closed 1 year ago

krazyjakee commented 1 year ago

Makes an improvement to our camera shake functionality. Currently, we are using a random number generator to create the shake effect, which can lead to inconsistent results and does not look very realistic.

This pull request replaces the random number generator with a noise function, which creates a more natural-looking shake effect. It also adds a new parameter, noise, which allows users to customize the type of noise used for the shake effect.

Overall, this change will improve the quality of our camera shake effect, making it look more realistic and consistent. This will help to enhance the overall experience of our project.