Hi, I'm a pretty new to Ren'py, so I think this should be an easy question.
I want to put an icon in a corner on the screen that links to my website. This icon should be visible and clickable through all the game, except for some scenes.
Anyone could explain me how could I do this?
Thanks in advance!
How to add an icon in 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.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: How to add an icon in the game?
The "icon" you refer to should be an imagebutton (https://www.renpy.org/doc/html/screens.html#imagebutton) inside a new screen, which will perform the action (https://www.renpy.org/doc/html/screen_a ... ml#OpenURL) you want.
That new screen which contains the imagebutton (https://www.renpy.org/doc/html/screens. ... n-language) can be shown or hidden whenever you want.
That new screen which contains the imagebutton (https://www.renpy.org/doc/html/screens. ... n-language) can be shown or hidden whenever you want.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: How to add an icon in the game?
Oh okay, I'll give it a try. Thank you very much!
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How to add an icon in the game?
For simplicity / design aesthetic, it might be prudent to simply place it in the quick menu.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]