Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
- Posts: 88
- Joined: Wed Aug 22, 2018 1:22 am
I made a picture of what I'm trying to achieve:
There's an hbox with name labels in it. Then you click the left and right arrows, it cycles through the names while showing data of each name in the center.
Does anyone know an example somewhere out there already made that I can learn from?
Here is my code so far:
Code: Select all
align (0.5, 0.2)
#LEFT ARROW BUTTON
#RIGHT ARROW BUTTON
# based upon name show the following data
text "data for nameX"
- Posts: 80
- Joined: Fri Nov 28, 2014 10:22 am
- Completed: Carmilla
- Skype: kantonija
- itch: visualgothic
- Location: Berlin
Since no one posted a solution yet, you could try this:
Use the code from the Ren'Py example game's 'Help' screen. It has tabs at the top which you could rename to your names. Style them and add your arrows.
That's just an idea though if you can't find a better way.
Users browsing this forum: Bing [Bot], Danah