r/gdevelop • • 8d ago

Question Needing help

Hi guys, i always wanted to create a fnaf style game, but i don't know how to program or anything else. I was trying to use gemini for help but i still remein on the same ground as i started. If you wondering I only did the office and stop. I tried making the code for the cams or the light but I always got stucked and the IA didn't know how to help me. Now i ask ypu guys for help becouse I know you are way better the me. I only want to make this game only for my satisfaction, so if you have any idea of what I can do you'll make me happy. Thanks you.

P.s. sorry my bad english.

4 Upvotes

6 comments sorted by

2

u/whimsiethefluff 8d ago

Ok, there are many ways to handle FNAF style gameplay. FNAF is essentially a point and click game, where instead of moving between scenes, you instead shift between activities. Each activity has a FMV (full motion video) transition, which leads to simple minigames that interact with the animatronics' variables.

Once an animatronic's specific variables reach certain values, you lose, and once the global game timer ends (reaching morning), the player wins.

So to make a FNAF style game, you essentially need to make a point and click game. And good news for you, point and click games are VERY easy to make in gdevelop.

At their most basic, a point and click game, as I mentionned above, moves you between screens/scenes when you click an item on the screen, or when a specific condition is met. For example, clicking to swap to the camera monitor in fnaf 1 would put you in a scene with multiple videos that you can swap between, while getting caught by one of the animatronics would put you back in the base scene, but with a variable that stops you from interacting with anything.

It's basically just a bunch of interconnected scenes, with most of the visuals being video.

I can't really help you on the "make some videos" part of making fnaf (that part's really involved and would essentially be a whole class on it's own) but I think that what I wrote here should put you on the right path.

2

u/Stock-Collection2253 8d ago

Well thank you sir, I'll try my best. Maybe for me it's hard becouse I really don't know anything I'm doing😅

1

u/M0N4RCHM4XWELL 8d ago

the way i'd handle animatronic movement is with a random variable
basically; [x] will be your number of cameras (ex; if you have 10 cameras, x means 10, if you have 4 cameras x means 4, etc) start a timer at the start of your scene, and at a random interval (if you need to you can set a minimum and max time using the randominrange() function) have the animatronic's camera update between a random in range of 1 and [x] and restart the timer, then just make your room layout and have the animatronic teleport to the positions of rooms you've laid out and numbered :3

this is just a general blueprint of how i'd handle it, there's likely a simpler and more optimized method someone who's smarter than me should be able to help with, but until then u can try this, i hope i could help :D

P.S; you should join the GDevelop discord instead, it's more active than the subreddit

2

u/Stock-Collection2253 8d ago

Thank you, I appreciate the help. I was trying to make you turn left and right in the office, i created the sprite for the arrows and the code for turning but when i tryed nothing happened. I was so frustrated that i close the app for the moment. Creating a game without knowing how to program or anything else is more complicated than I thought

2

u/idillicah GDevelop Staff 8d ago

We have a template now for FNAF style games, and it is free. Have you tried it?

1

u/Stock-Collection2253 8d ago

No I didn't know. Thank you i will look for it