How is the gui's image imported
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.
How is the gui's image imported
The dir( game/gui) is default . But I can't find where the images are imported to
- Attachments
-
- QQ图片20170313115618.png (9.95 KiB) Viewed 1308 times
- SuperbowserX
- Veteran
- Posts: 270
- Joined: Sat Jan 07, 2017 3:09 pm
- Contact:
Re: How is the gui's image imported
Sorry, what are you asking here? Phrase your question clearly. What are you trying to do?
Re: How is the gui's image imported
If you were looking for sprite/bg images, you could find them under the "images" folder, not the "gui" folder
My avatar is courtesy of Mellanthe
Re: How is the gui's image imported
No, really, you're not posing any question.
If you change those gui images, without changing any name, you don't have to "import" anything.
If you're trying to use images with different names, you have to specify the WHOLE path.
If you change those gui images, without changing any name, you don't have to "import" anything.
If you're trying to use images with different names, you have to specify the WHOLE path.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: How is the gui's image imported
I guess you're looking codes where gui button images are defined, but you couldn't find them.
In fact, there's no obvious code to define button styles.
They're defined in screens.rpy as the following style:
I personally don't like this style definition. Because it's not written how styles are defined. Anyway, these lines import button images from gui/button images into your scripts.
read https://www.renpy.org/doc/html/gui.html ... -functions for more information
Edit:
I noticed, there're no description about this function on screen/style section on the ren'py document.
In fact, there's no obvious code to define button styles.
They're defined in screens.rpy as the following style:
Code: Select all
style button:
properties gui.button_properties("button")
read https://www.renpy.org/doc/html/gui.html ... -functions for more information
Edit:
I noticed, there're no description about this function on screen/style section on the ren'py document.
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: How is the gui's image imported
This is my main problem with RenPy documentation: each item only exist in a single place. So if it is in quickstart, do not expect it to show up anywhere else. There are almost no crosslinking. It would be nice, if pages devoted to some topic contained at least links to everything related to this topic (e.g. Saving, Loading and Rollback page containing list of screen actions related to savind and links to them, allowing you to follow them for full description.)nyaatrap wrote: noticed, there're no description about this function on screen/style section on the ren'py document
< < insert Rick Cook quote here > >
Re: How is the gui's image imported
Yes, that's my puzzles。if i want to customize the style of Save/Load , it is difficult for me。But anyway ,thank you every body! I studied Renpy just two weeks,i'm trying now
Who is online
Users browsing this forum: No registered users