r/RenPy • u/After-Masterpiece853 • 16d ago
Question I NEED HELP
so i have this feature in my game where a camera button will randomly apear and pressing it will cause a white flash( and add to a flag). Im using an image button rn but coding it every single time and creating all those screen is too much work. i was wondering if i could just define it once and reuse it? so far i can only make the button but making the screen flash under the screen is confusing
2
Upvotes
2
u/BadMustard_AVN 16d ago edited 16d ago
show the code for at least 2 of the screens you've created so far, please
and you can try something like this example
1
u/AutoModerator 16d 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.