A downloadable asset pack

Buy Now$1.99 USD or more

With this asset you can create custom screen shakes by calling only a single function. This function permits you to set the magnitude of the shake, the type of shaking (from various different styles) as well as fade in, fade out and maintain values to create any type of shaking effect you require.

The effect can be used for a single view in a game, for multiple views, and even if there are no views active in your game (although one will be activated in this case, but only for the duration of the screen shaking effect).

You can fire off multiple screen shake function calls and unless they are for different views they will "stack" in a single instance of the screen shake object (rather than spawn a new instance) and so keep resource use to a minimum.

Should work on all platforms, but note that if your code is setting the view position manually, the positional shakes may not work correctly since they change the x/y position of the view. However the radial shake style will still work and can be used without issues.

Purchase

Buy Now$1.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $1.99 USD. You will get access to the following files:

1491902474_com.nocturnegames.screenshake.yymp 3 MB

Leave a comment

Log in with itch.io to leave a comment.