Jump to content

Massive FPS Drop


Slimwaffle
 Share

Recommended Posts

Hey guys. I need help again. So I rewrote the scripts for my HUD to look a little nicer. Using Circles instead of bars. And for some reason I am getting crazy FPS drop. With bars I was able to sit at 60fps very comfortably but using circles I drop to between 5-10fps. Can someone please help? I have looked over the code and can't figure it out. As usual I will provide the code and a screen shot. This fps drop happens even when only using one of the new scripts.

Error.jpg

Hungerbar.lua

Health.lua

ThirstBar.lua

Staminabar.lua

Link to comment
Share on other sites

Thanks mate. I am just going to do bars for now. And re-address this circle thing after getting this game more built. But I will let you know how I go and you were 100% right swapping back to bars fixed the fps drop. Running back at 60 fps now. Got it looking like this for now.

Test.png

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...