You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@gamemaker/camera-shake

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gamemaker/camera-shake

Applies a screen shake effect to the camera

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
17
-85.83%
Maintainers
1
Weekly downloads
 
Created
Source

camera-shake

GameMaker prefab for camera_shake(). Applies a screen shake effect to the camera over a given duration, with separate magnitudes for red, green, and blue color channels. Try it on GX.games

/**
 * Applies a screen shake effect to the camera over a given duration, 
 * with separate magnitudes for red, green, and blue color channels.
 * Example:
 * camera_shake(0.75, 0.1, 0.15, 0.25);
 *
 * @param {number} time Duration of the shake effect in seconds.
 * @param {number} mag_r Shake magnitude for the red color channel.
 * @param {number} mag_g Shake magnitude for the green color channel.
 * @param {number} mag_b Shake magnitude for the blue color channel.
 */

Keywords

gamemaker

FAQs

Package last updated on 12 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts