Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

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!

What I do is when you click the button, it changes a variable. And so that will say if an animation should be changed a.k.a. if the door is open or closed.

Yeah I figured. I can't imagine making a FNAF game using anything else except variables for animation handling t_t

Variables are kind of an important thing for my fnaf game. If one of them is off by just one, it's broken.

 i also have to handle idiots on the G developed website because of the fact that people can't read descriptions. So I'm updating the game to tell you to read the description.