Thank you so much for your help! You are all gems. I really appreciate it. We finally got the glossary working and I am so relieved! I'll mark this as solved.m_from_space wrote: ↑Tue May 31, 2022 6:39 amMello-Knight wrote: ↑Mon May 30, 2022 2:11 pmWe're dabbling with this. The code works, but is there an easy way to position the image? We tried inputting some positioning/anchoring adjustments, but it just crashed the game. If possible, where would we put the code?
Of course you can position the image, I just gave you a very basic example. ^^
What exactly lead to the game crashing? You should provide useful information to let others help you.
Looking at your game code I assume the glossary screen should look like this:
Code: Select all
screen glossary_screen(word): modal True # the following line only works with renpy 7.5/8.0 dismiss action Hide("glossary_screen", transition=dissolve) # play sound once the screen shows on "show" action Play("sound", audio.sfx_pause) # show the glossary image using ATL transform "glossary" add word at glossary: # positioning of the glossary image in the center of the screen xalign 0.5 yalign 0.5 # alternative: make the image a button, so the player can leave the screen by clicking on it # (if the dismiss command above does not work for your game version) # imagebutton idle word at glossary: # action Hide("glossary_screen", transition=dissolve) # xalign 0.5 yalign 0.5
[Solved] Glossary Issue - Starts Bugging 4 days into the Game
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.
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.
- Mello-Knight
- Regular
- Posts: 43
- Joined: Fri Feb 24, 2017 10:42 am
- Projects: Band Camp Boyfriend
- Tumblr: lovebirdgames
- Contact:
Re: Glossary Issue - Starts Bugging 4 days into the Game
Who is online
Users browsing this forum: No registered users