Yeah I use Gdevelop too! Great for organization. And the perfect engine for variable handling
I can 100% agree, I use variables for saying when doors are open, instead of just asking what animation it's in (yes, I was originally going to ask what animation the door was in) i use it for how Freddy, Foxy and golden Freddy chooses what side they're attacking from. I use it for their attack phases / how many times they've had a successful movement opportunity. I just use a lot of variables.
Sometimes I like to add together animation checking with variables just for some extra safety. If that makes sense. This method pretty good if you'd like the animations to play more smoothly. Although it'll make the animation changes feel more "slow".
An example would be-
- "If DoorState = 1 and The animation of Door != Open"
- Then Change DoorState = 0 and The animation of Door = Open
Hard to write Gdevelop code in text but hopefully this explains what I meant!