Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Greetings, I am doing an in-game guide. It is a visual guide that marks the way with circles (very similar to that of School days). The problem is that I don't know how to make the path that the player follows. I have thought about making a variable counter, but in that case it would affect all routes. Any ideas ?
Here you have a visual example. https://ibb.co/QpxXWwv
In this code all works fine, but when the player advance a lot, all the previous circles are gray, and there should only be one gray line, indicating the current path of the player
zabuzaeldemonio wrote: ↑Thu Sep 26, 2019 4:18 pm
Greetings, I am doing an in-game guide. It is a visual guide that marks the way with circles (very similar to that of School days). The problem is that I don't know how to make the path that the player follows. I have thought about making a variable counter, but in that case it would affect all routes. Any ideas ?
Here you have a visual example. https://ibb.co/QpxXWwv
In this code all works fine, but when the player advance a lot, all the previous circles are gray, and there should only be one gray line, indicating the current path of the player
What's with mecanica variable and other variables in the condition?
I think your best bet is to set more flags or variables (boolean), I mean each path should have its own flags so that you can recreate the condition more specifically. Which most likely to result in other paths not being affected.
In the image example you can see three circles, yellow is normal, red means that the player is already there and gray means that has already been there. So in my code I try to use analyze that, buts its kinda hard
Last edited by zabuzaeldemonio on Sat Sep 28, 2019 5:40 pm, edited 1 time in total.
isobellesophia wrote: ↑Thu Sep 26, 2019 9:08 pm
Are you relating to lock the previous one that the player plays?
I use variables in each decision, so I can analyze where the guideline is. The problem is that I don't know how to leave the trail that indicates the path the player has taken.
isobellesophia wrote: ↑Thu Sep 26, 2019 9:08 pm
Are you relating to lock the previous one that the player plays?
I use variables in each decision, so I can analyze where the guideline is. The problem is that I don't know how to leave the trail that indicates the path the player has taken.
If variables can do.. you need an if and elif that changes the trail that player has taken, like a gray color for example that they completed that guide. I cannot give some examples today so..
I am a friendly user, please respect and have a good day.
It doesn't seems so hard. Use a list and indexes.
the index is the scene id (first scene index 0, second scene index 1, ...), then assign a default value of 0 (not seen), and 1 (there) or 2 (end of the scene, so already seen once ) in the labels.
Then, in such screen, cycle with a for cycle in the whole list, and show accordingly.
The harder thing to grasp is that you don't actually need to put such event id in any "storywise" order.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.