Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Screen Shake will not work in combat. In a future update a message telling the user the world is shaking will appear. You will also be able to define this message in the code.
GHI_ScreenShake(duration, intensity, message)
GHI_ has 2 required arguments and 1 optional argument as of GHI 2.0.12.
- The amount of shake. This number can not be higher than 64.
- The total time of the action, including fade in and fade out time. Be mindful of using this as it can cause users to feel ill if shaking for too long.
- A custom message displayed when screen shaking is activated in combat. If nil, then a default message is displayed.
This script causes the screen to shake slightly for 1 second.