Discuss Scratch

cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

Alright, so I set up a timer loop to hide the variables for Health and Ammo Count (don't judge me,) however they refuse to hide. They only hide when I edit the size of the variable using right click or hide/ show another variable. It's really weird, and the crazy thing is that they don't show on the variables menu, or change it's value when the value is changed! This has been going on for a REALLY long time, and I want solutions on how to fix it. I'll upload the project if needed.
My browser / operating system: Windows NT 10.0, Chrome 99.0.4844.51, No Flash version detected
RL1123
Scratcher
1000+ posts

Project Variables Not Hiding or Changing

Yeah, pasting the project link here would help a lot in solving the issue if we can get more context. You don't have to share it, I can view it in Turbowarp.
cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

RL1123 wrote:

Yeah, pasting the project link here would help a lot in solving the issue if we can get more context. You don't have to share it, I can view it in Turbowarp.
https://scratch.mit.edu/projects/625171459/ There ya go. I really need a resolution to this, honestly.
RL1123
Scratcher
1000+ posts

Project Variables Not Hiding or Changing

Can you describe in which sprite does this problem occur?
cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

RL1123 wrote:

Can you describe in which sprite does this problem occur?
In Thumbnail.
RL1123
Scratcher
1000+ posts

Project Variables Not Hiding or Changing

Sorry for the long reply time, this might be the issue.

This script continuously resets the timer back to zero, meaning that this script

will never actually fire, due to the fact that the timer never gets above 0.15.

I think you may have to change the way that your FPS counter works or get rid of it altogether.
cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

RL1123 wrote:

Sorry for the long reply time, this might be the issue.

This script continuously resets the timer back to zero, meaning that this script

will never actually fire, due to the fact that the timer never gets above 0.15.

I think you may have to change the way that your FPS counter works or get rid of it altogether.

The point of it is to combine a FPS system and a thumbnail showing system. I can remove the FPS system since it tends to be a pain for me.
cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

RL1123 wrote:

Sorry for the long reply time, this might be the issue.

This script continuously resets the timer back to zero, meaning that this script

will never actually fire, due to the fact that the timer never gets above 0.15.

I think you may have to change the way that your FPS counter works or get rid of it altogether.

It didn't work for me, the variables still refused to disappear!
cs2975871
Scratcher
100+ posts

Project Variables Not Hiding or Changing

cs2975871 wrote:

RL1123 wrote:

Sorry for the long reply time, this might be the issue.

This script continuously resets the timer back to zero, meaning that this script

will never actually fire, due to the fact that the timer never gets above 0.15.

I think you may have to change the way that your FPS counter works or get rid of it altogether.

It didn't work for me, the variables still refused to disappear!

actually nevermind, I accidentally found a solution, or I may have not found one. I decoupled the Go To Front Layer forever loop and it seems to have remedied it.

Powered by DjangoBB