Hello.
I need to put a watermark on the right corner of the screen (to indicate the copyright of the program I use to create the art). At the beginning of each label, I show it in the corner, with "show watermark at right" (there is a pic watermark.png in image folder). But it disappears with scene change.
Is there any smarter way to put a watermark on the "start" label, so it would stay on the screen all the time? But in a way that the player can remove it in real-time from the screen with an option?
EDIT: Following suggestions, I created a screen that shows the watermark. On the label "start", I used "show screen watermark". Now the watermark appears throughout the game, which is my first goal.
Now I have created an option in the preferences menu where the player can turn off this watermark. However, in order for it to work, the player must restart the game. Is there any way to make the watermark on / off in real time as the player chooses the option?
Better way to display a watermark?
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.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Better way to display a watermark?
I'd suggest simply making it conditional in the screen. Something like:
Something like that.
Code: Select all
screen watermark():
if persistent.watermark:
add "watermark_image"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: Better way to display a watermark?
You could add it to the interface via the quick menu. That way when someone hides the interface, they can see the art sans watermark and during normal gameplay, it'll show on screen.
However, the screenshot function could render that watermark pointless if it can be removed.
What kinda crazy license requires you to watermark your images though? Wouldn't it be more normal to put the software in the credits?
However, the screenshot function could render that watermark pointless if it can be removed.
What kinda crazy license requires you to watermark your images though? Wouldn't it be more normal to put the software in the credits?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Who is online
Users browsing this forum: Google [Bot]