Making EZ Camera Shake run independent of FPS?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I wanna run the EZ Camera Shake module independent from FPS

  1. What is the issue? Include screenshots / videos if possible!

The model depends on fps so if someone runs the game at a high fps it literally becomes unplayable with the camera shake being so much

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I did find a thread with the exact same name as this one but it didn’t seem like anyone had a good solution for it. The module has code I really can’t wrap my head around so if anyone out there could help me out with this that would be great.

Well, I don’t know that model but I guess that if it depends on the FPS, it is because it’s using runservice, just change that for while loops or something but I am not sure if that would be a good option.

You could also do nothing because no one is going to play with 10 FPS

I do not think i have enough information to help Properly.

Yes they will! my computer is 14-27 FPS on roblox.

1 Like

AS stated the problem is playing with too high fps

Havent used that module before, so I might be wrong here.

If you have a RenderStepped loop, you can use deltaTime to make it the same on all framerates.

game:GetService("RunService").RenderStepped:Connect(function(deltaTime)
   whateverCalculation = whateverCalculation * deltaTime * 60
end)

I wish a FPS lock would work but people have FPS unlockers so maybe you can check if their FPS is greather then the max.

This would work but I really don’t understand the code in the module. It uses self and metatables which is something I have never worked with.