# @caslabs/roblox-modified-camera-shaker

> roblox-ts package for Crazyman32's Roblox port of "EZ Camera Shake"

Latest version **1.0.7** (published 2023-06-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @caslabs/roblox-modified-camera-shaker
pnpm add @caslabs/roblox-modified-camera-shaker
yarn add @caslabs/roblox-modified-camera-shaker
bun add @caslabs/roblox-modified-camera-shaker
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2023-06-21 |
| First published | 2023-06-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | caslabs |

## Links

- npm: https://www.npmjs.com/package/@caslabs/roblox-modified-camera-shaker
- Repository: https://github.com/osyrisrblx/rbxts-camera-shaker
- Homepage: https://github.com/osyrisrblx/rbxts-camera-shaker#readme
- Issues: https://github.com/osyrisrblx/rbxts-camera-shaker/issues
- npm.io page: https://npm.io/package/@caslabs/roblox-modified-camera-shaker

## Recent versions

- 1.0.7 (latest) — 2023-06-21

## README

# rbxts-camera-shaker

roblox-ts package for Crazyman32's Roblox port of "EZ Camera Shake"

## Crash Course
```TS
import CameraShaker from "@rbxts/camera-shaker"

const camShake = new CameraShaker(
	Enum.RenderPriority.Camera.Value,
	shakeCFrame => camera.CFrame = playerCFrame.mul(shakeCFrame)
);

camShake.Start();

// Explosion shake:
camShake.Shake(CameraShaker.Presets.Explosion);

wait(1)

// Custom shake:
camShake.ShakeOnce(3, 1, 0.2, 1.5);

```

## Presets
**CameraShaker.Presets.Bump**\
A high-magnitude, short, yet smooth shake.\
Should happen once.

**CameraShaker.Presets.Explosion**\
An intense and rough shake.\
Should happen once.

**CameraShaker.Presets.Earthquake**\
A continuous, rough shake.\
Sustained.

**CameraShaker.Presets.BadTrip**\
A bizarre shake with a very high magnitude and low roughness.\
Sustained.

**CameraShaker.Presets.HandheldCamera**\
A subtle, slow shake.\
Sustained.

**CameraShaker.Presets.Vibration**\
A very rough, yet low magnitude shake.\
Sustained.

**CameraShaker.Presets.RoughDriving**\
A slightly rough, medium magnitude shake.\
Sustained.

---
_Source: https://npm.io/package/@caslabs/roblox-modified-camera-shaker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
