Hi !
First of all, i need to thank you all for the big content on this forum.
I started my renpy adventure last month and this website help me a lot and my project is really advanced.
What is my problem :
I need to write a permanent overlay for the player's number of coin.
until now, i success with i guess to much code.
Can u just show me with a little exemple how having an indication of amount of gold permanently in the game ?
excuse me for the language, english is not my native language.
Permanent Overlay
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.
- SuperbowserX
- Veteran
- Posts: 270
- Joined: Sat Jan 07, 2017 3:09 pm
- Contact:
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Permanent Overlay
Code: Select all
screen gold_overlay():
# Add real displayables showing your gold
text 'You have [gold_amount] gold' align (0.95, 0.05)
init python:
config.overlay_screens.append('gold_overlay')
< < insert Rick Cook quote here > >
Re: Permanent Overlay
@SuperbowserX : thanks to ure response but it doesnt work.
@Ocelot : Thanks, its exactly what i need. i will build ahead.
love u guys.
@Ocelot : Thanks, its exactly what i need. i will build ahead.
love u guys.
Re: Permanent Overlay
Just a thing,
the overlay doesnt work when i'm in imagemap i guess its standart.
the overlay doesnt work when i'm in imagemap i guess its standart.
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Permanent Overlay
Add zorder 100 to the gold screen to force it above all other screens.
< < insert Rick Cook quote here > >
Re: Permanent Overlay
Just perfect.
Thank u so much.
Thank u so much.
Who is online
Users browsing this forum: DewyNebula