![]() ![]() ![]() Let’s say you wanted to create a projectile that would move by CFraming, if I didn’t know how to use the delta argument, it would go like this: local RunService = game:GetService("RunService") Those events all have a “delta” argument, which is the amount of time elapsed between the last frame and the current one, if you calculate 1/delta, it gives you the user’s FPS. (Those three events will soon become deprecated and be replaced by PreRender, PreAnimation, PreSimulation and PostSimulation) RunService has a few events that run every frame, RenderStepped, Stepped and Heartbeat. There is a software that allows a player to “unlock” their FPS and remove that limit when playing a Roblox game, which is called a FPS Unlocker. Roblox locks the amount of FPS to 60 FPS, which means your screen will be limited to refresh the image 60 times a second. The amount of frames per seconds an user can have depends on their hardware and on how optimized the game is. Monitors have a refresh rate, which is basically the maximum amount of FPS the monitor can handle, the refresh rate of a monitor is usually one of these numbers: Hello everyone, I’ve had the idea of creating a tutorial today on how to create scripts that would not cause unintended behavior if a player were to use a FPS Unlocker.įPS stands for Frames Per Second, which corresponds to how often the image will refresh on the monitor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |