EZ Camera Shake Ported To Roblox - Community Resources Home » How To Shake Camera Roblox » EZ Camera Shake Ported To Roblox - Community Resources Maybe your like How To Shake Your Butt How To Shake Your Eyes How To Shake Your Hips How To Shape A Beret How To Shape Oval Nails EZ Camera Shake ported to Roblox Resources Community Resources sleitnick (sleitnick) February 26, 2018, 9:00pm 1 The Unity Asset Store has a free asset called EZ Camera Shake, which I have ported to Roblox. Module: Creator Hub - Store Discover millions of assets made by the Roblox community to accelerate any creation task. GitHub repository: GitHub - Sleitnick/RbxCameraShaker: Camera shake effects for Roblox games Camera shake effects for Roblox games. Contribute to Sleitnick/RbxCameraShaker development by creating an account on GitHub. The original author of the Unity3D asset, Road Turtle Games, gave me written permission via email to make and open-source this port to Roblox. I contacted the developer since there was no licensing information available for the Unity3D asset. Example of the module using the Explosion preset: Example code: local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) camera.CFrame = camera.CFrame * shakeCf end) camShake:Start() -- Explosion shake: camShake:Shake(CameraShaker.Presets.Explosion) 966 Likes How can I make my screen shake? How to use EZ Camera Shake? Camera Shake like an earthquake while still staring at the player How do you make your camera revert after shaking it? How to make camera shake on touch? Issue with Camera Rotating Screenshake How to code camera shaker Crazyman32 Camera Shaker, help needed Smooth Camera Shakes Make a camera shake ONLY in a certain area Having a problem with EZ Camera Shake Help with FastCast Recoil + Spring ScreenShake effect? Why wont this camera shake work? So im trying to make a Screen Shake How can I make an camera shake when taking damage? Screen shake effect when touch of a part How to make basic weapon recoil system How to make camera distortion? How do you add a camera shake effect? How would I recreate this kind of screen shake? Camera shake for binoculars or scope How do you make the camera shake when you jump? Lava Eruption Vfx How to make a game feel like its speedy? How to create jump-shake Screen Shake with Magnitude? Why my games look bad or lame? How to make the camera shake on touch CameraUtil - Your new tool for simple camera manipulation! (OPEN-SOURCED) How to make a camera shake that adapts to these situations? Camera Shake exaggerated with high FPS Rotate Camera with tween while keeping position Need help with camera animations Camera recoil is bit Janky Is other way to do a screen shake without CameraOffset? Having Probelms with making Camera Effect Sinking Ship: Roblox Britannic Credits Feudal Japan | Credits How is this giant door cutscene? Weather System [Open-Sourced] Need help on a system were your camera shakes if a monster is following you or near you Make a camera shaking VVG's "Survive a Plane Crash" Credits Camera shake for combat Combat Warriors Information How to make the snake camera [UPDATE] Introducing EZCamera! Need help to fix "attempt to perform arithmetic (mul) on nil and number" How can I make an accurate screen shake? EZ Camera Shake error Smooth camera shake (without walking) How would I make this kind of recoil? Weapon/Melee Screen Shake Sanguine Fields [ALPHA] MainMenu Smooth Tweening(Breathing Effect) CameraService: A New Camera for a New Roblox Make a camera shake ONLY in a certain area Screen shake in server script How to do I make my head shake on a reload animation Camera shakes getting bigger over time (EZ Camera Shake Module) Gun System Camera Effects How to monetize a game and get a least 1k people playing? Inconcinnity Credits Rex Framework | Designed for beginners to intermediate developers How To Make A Realistic Screen Shake System? MP5 Fire Mode System Help With Screen Shake Learning camera shake Need help with adding a parts cframe rotation onto the cameras cframe How to make a camera shake/bob system? Rotation Screen Shake Tsunami Game Credits How do i shake a custom camera? Camera shake effects player movement How do I freeze the player's camera? Need some criticism on my gun How would I add visual kick/recoil? I think my game has been backdoored Screen shake like battleground games How can a boat collide, and the map shake after coliding Serious problem! Roblox Titanic Credits Untitled Button Game | Meteor Shower Showcase How should I represent fall damage in this 2D game? Simple Interface Shaker Module How to do this pls donate-like smooth shake? ¿How to shake a screen? 2d platform Can Anyone Help me make my script Smoother? How can I make camera move slightly left and right (like a shake) with PlaybackLoudness? Detect Workspace Explosions? Ragdoll Hangout | Game Info Monsters of Etheria Attributions Boston 1765: Credit List How to shake camera smoothly in first person mode? How would I make the camera follow through with attacks in combat? How can I make a camera shake effect Magic Combat Simulator - Information Help with EZ Camera Shake Help on working a camera system How too create a gentle camera shake? Simple camera shake that I can use for my guns? How can i make camera shaking when player was tased? Simple camera shake that I can use for my guns? First person camera drop-in script Help creating explosions Creator Spotlight: GeneralGory on Making Toothless Fly in How to Train Your Dragon Gear Remastered: Rainbow Magic Carpet Simple Shake ( Easy Camera Shake Module ) Combat Testing Information Camera Offset problems when using Camera Type fixed How do I make the camera shake like this? Main Menu Feedback Earthquake/Screen Shake Effect Need Help with TweenService Camera Bobble Effect [Moved] Sanguine Fields [BETA] - Credits Setting up a camera shake How would I make a camera shake like this? How would I go about making my combat feel more impactful? Screen not shaking when it should shake How do i make a camera bobbing? OTS gun system recoil Doom Towers: Credits & Attributions DevPig (DevPig) February 26, 2018, 9:04pm 2 they should always list the licensing if there is,correct me if i’m wrong. 30 Likes buildthomas (buildthomas) February 26, 2018, 9:08pm 3 What’s the algorithm for shaking? Some kind of spring? Looks really cool, I hope you can release it. 42 Likes sleitnick (sleitnick) February 26, 2018, 9:09pm 4 The developer already got back to me and gave me the all-good to do this! Pretty sweet. 42 Likes DevPig (DevPig) February 26, 2018, 9:09pm 5 Yes! that’s great! 6 Likes sleitnick (sleitnick) February 26, 2018, 9:09pm 6 Interestingly, it’s using perlin noise! 34 Likes sleitnick (sleitnick) February 26, 2018, 9:18pm 7 Updated original post with a link to the module. Let me know if anyone runs into any problems with it. 12 Likes buildthomas (buildthomas) February 26, 2018, 9:30pm 8 Just wondering, what would playerCFrame in your example be set to? Is it possible to play these shakes over the default camera and still have it rotate regularly somehow? Also, I see a method for starting the shake which has a fade-in time, but I don’t see a method for fading out a shake, only an abrupt :Stop() method. How would I fade-out a shake over some time instead of stopping it abruptly, or does this module not provide for that yet? 5 Likes sleitnick (sleitnick) February 26, 2018, 9:40pm 9 playerCFrame is just an example of whatever camera logic you might already have. The idea is that you just multiply the existing CFrame of the camera to the shake CFrame. For instance, you could just set a higher render priority and set the loop to only manipulate the Camera’s CFrame directly, assuming another loop has already set it: local camShake = CameraShaker.new(Enum.RenderPriority.Last.Value, function(shakeCf) camera.CFrame = camera.CFrame * shakeCf end) camShake:Start() To your other question: It’s kinda weird. The “state” of an individual shake instance is determined in the CameraShakeInstance:GetState() method. If that state returns Inactive, then the CameraShaker object will automatically delete it from the update table. But that still begs the question…how do you stop the shake instance? As far as I can tell, the way you stop it is by calling CameraShakeInstance:StartFadeOut(fadeOutTime). It’s unfortunate that you have to pass a fadeOutTime parameter, as that should already be set from the constructor, so I am going to make a change to make it an optional parameter. When you call StartFadeOut, it runs the appropriate fading math on the update loop, and thus ends up changing the calculated state to Inactive eventually. 14 Likes sleitnick (sleitnick) February 26, 2018, 9:57pm 10 Update: I confirmed that calling StartFadeOut is how you stop a sustained shake. However, the existing code did not allow for a preset shake to be sustained, so I added another ShakeSustain method. Also, based on the logic of the code, StartFadeOut must supply a fade out value, as sustained shakes overwrite the original fade out value to 0. Example using the Earthquake preset: local earthquakeShake = nil local function RightClicked() if (earthquakeShake) then earthquakeShake:StartFadeOut(10) earthquakeShake = nil else earthquakeShake = camShake:ShakeSustain(camShake.Presets.Earthquake) end end 8 Likes ChipioIndustries (chipio) February 26, 2018, 10:03pm 11 That’s so awesome. There are so many uses for this… pulls out 8th soda, opens Studio 26 Likes SummerEquinox (Riley) February 26, 2018, 10:08pm 12 Woooooow. Very very neat. It would be cool to see more games utilizing the camera in this sort of way, it really adds an extra layer of depth to the game. 1 Like ScriptOn (Genya) February 26, 2018, 10:24pm 13 I’m getting some serious nostalgia watching a crazyman32 video again where he shows the script contents before he presses play… 28 Likes acreol (acreol) February 27, 2018, 2:09am 14 Is it intentional that on line 130 in the CameraShaker module you have: rotAddShake = rotAddShake + (c:UpdateShake(dt) * c.PositionInfluence) instead of: rotAddShake = rotAddShake + (c:UpdateShake(dt) * c.RotationInfluence) ? Edit Also in the camera shake instance module, why are you subtracting 0.5 from the noise’s for x,y, and z? The roblox wiki says that they already return values between -1 and 1 (lines 55-57) 6 Likes sleitnick (sleitnick) February 27, 2018, 4:31am 15 Good catch! I translated the code from C# to Lua very quickly, so weird errors like that were bound to happen. As for the noise, I also failed to look into the difference between Unity’s PerlinNoise function and Roblox’s noise function. In Unity, it returns between 0 and 1, and I didn’t notice that until now. The obvious fix would be to add 1 to the result, and then divide it by 2, thus giving the same 0 - 0.5 range: [(1 + noise) / 2)] However, I actually want a -0.5 - 0.5 range, thus I am changing it to simply multiply by 0.5 instead of subtract. Thanks for posting about that. Those fixes are now published. 12 Likes tyridge77 (tyridge77) March 3, 2018, 2:13pm 16 YAY this saves me so much work thank you! 5 Likes vsnry (vsnry) April 21, 2018, 7:57am 17 Seems like I cannot run two shakes at once, one of them being a constant shake and the other one a single shake. 2 Likes sleitnick (sleitnick) April 27, 2018, 1:56pm 18 vsnry: Seems like I cannot run two shakes at once, one of them being a constant shake and the other one a single shake. Gross, that’s annoying. Overlaying should definitely be supported! I’ll try to set aside some time this weekend and see if I can get that working. 13 Likes metatablecatmaid (metatablecat) June 2, 2018, 2:27pm 19 I know this is sort of off topic, but what colours do you use for your script editor ReverbAnnoucer (ReverbAnnoucer) August 4, 2018, 6:17am 20 What are we supposed to put this modulescript to? 1 Like next page → Tag » How To Shake Camera Roblox How Can I Make My Screen Shake? - Scripting Support - DevForum Camera Movement For Camera Shake - Scripting Support - DevForum How To Make A Camera Shake In Roblox Studio - YouTube How To Make A Camera Shake Effect In Roblox Studio - YouTube How To Do Explosion Camera Shake In Roblox! - YouTube [CHECK DESCRIPTION FOR IMPROVED VERSION] How To Make A ... How To Make A Camera Shake / Bobble Effect In Roblox Studio HOW TO MAKE SCREEN SHAKE WHILE RUN/WALK - YouTube How Do I Make A Server Sided Camera Shake? - Scripting Helpers CameraShaker - AeroGameFramework - Sleitnick How To Make Your Camera Shake When Youre Doing A Roblox Tik Tok ... What's The Best Possible Way To Make A "camera Shake" Tool In Studio? Osyrisrblx/rbxts-camera-shaker: Roblox-ts Package For ... - GitHub Roblox Static Effect