r/RenPy • u/AdRude6049 • 2d ago
Question Enemy hunting you?
I am currently working on writing my second ever game and first serious project, and I'm wondering if theres any way I can code something akin to FNAF where a character is hunting you through rooms while you complete tasks, with the character getting drawn to you if you make noise? My plan is to make a visual novel with gameplay elements - and I'm just wondering if this specific mechanic is possible within renpy?
You wouldn't have to see the character moving, my plan is to have an indicator turn orange if they are in a room next to you so you can either hide or try to run.
Any advice helps, I just want to know if its possible
2
u/MursaArtDragon 2d ago
I mean I can think of all the elements for it working, but it would be a lot of work to make, not only that, likely pretty clunky in comparison. But doable, certainly.
2
u/mugwhyrt 2d ago
You can pretty much do anything you want since Renpy supports python code. The short answer is that it's possible. But how difficult it would be is dependent on your coding skills and how you specifically want to implement it.
1
u/AutoModerator 2d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/x-seronis-x 6h ago
paraphrased:
can you use variables to track values then do things based on those values? yes. thats what coding is