Search found 704 matches
- Fri Apr 12, 2019 9:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Namebox for Different Characters? [Solved]
- Replies: 16
- Views: 1871
Re: Custom Namebox for Different Characters?
It should show the image "name tag blue.png" in the "gui/textbox/" folder. I just checked in one of my projects and it works. I don't know what you're talking about with " the same colour that I've set it as under the "style namebox:" section of code ". Image...
- Fri Apr 12, 2019 8:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Namebox for Different Characters? [Solved]
- Replies: 16
- Views: 1871
Re: Custom Namebox for Different Characters?
It should be: define boy = Character("Boy", namebox_background="gui/textbox/name tag blue.png", image="boy", ctc="ctc", ctc_position="fixed") I've tried that, but it isn't changing the namebox's color. It's staying the same colour that I've set it a...
- Fri Apr 12, 2019 7:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Namebox for Different Characters? [Solved]
- Replies: 16
- Views: 1871
Re: Custom Namebox for Different Characters?
Not textbox, namebox. They should be different files and different style definitions. Textbox is for the dialogue, namebox is... well, for names. I am using a namebox art asset. I basically took Per K Grok's code and edited/placed it as: define boy = Character("Boy", window_background=&qu...
- Fri Apr 12, 2019 5:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Namebox for Different Characters? [Solved]
- Replies: 16
- Views: 1871
Re: Custom Namebox for Different Characters?
You could just use window_background when define the character. define De = Character("Delivery man", what_color="#ff6", window_background="gui/textbox3.png", image="DM") I'm trying that out, but it ends up replacing the entire textbox image with the namebox ...
- Fri Apr 12, 2019 3:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Namebox for Different Characters? [Solved]
- Replies: 16
- Views: 1871
Custom Namebox for Different Characters? [Solved]
I'm trying to customise the namebox on the textbox so that it changes art assets (.png files) depending on who is speaking: A green namebox for character A, a blue namebox for character B, and a pink for everyone else. Know how to edit the Say screen to use one namebox colour, but I don't know how t...
- Fri Apr 12, 2019 12:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
My bad, I never did something like this. What I said would work to put it in a label (with show instead of add). You have to define it as a transform in order to put in the main menu, Same method, though. Outside label or screen, no indentation. transform slideshowfade: "yellow.png" with ...
- Fri Apr 12, 2019 11:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
I said outside a label with no indentation. Label start is still a label. Try something like this: image slideshowfade: "gui/main menu item 1.png" with dissolve 2.0 "gui/main menu item 2.png" with dissolve 2.0 "gui/main menu item 3.png" with dissolve 2.0 repeat label s...
- Fri Apr 12, 2019 11:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
Put it anywhere outside a label or a screen. I'd put it at the start of the script, where you declare variables with default and such things. No indentation. I've placed it here in the script: label start: image slideshowfade: "gui/main menu item 1.png" with dissolve 2.0 "gui/main me...
- Fri Apr 12, 2019 10:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Making a Layered Image a Side Image? [Solved]
- Replies: 2
- Views: 626
Re: Making a Layered Image a Side Image?
Isn't it just layeredimage side image_name: {layeredimage code} ? Thanks! I'm trying that now, but I'm still having the issue where the character asset is still showing up at the top-left corner of the screen, even though I've included a custom position. Edit: Ah, I closed and restarted the VN and ...
- Thu Apr 11, 2019 10:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
In a screen you don't use show "image" and don't use transitions, those things are used inside the game. For what you want to do, you first have to define the image outside any label or screen with atl. Your code for that seems right, but better check it if you're not sure. https://www.re...
- Thu Apr 11, 2019 8:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
maybe this article would help? Thank you. I found that section of code in the screen.rpy file and added this, and the image showed up properly! :D screen main_menu(): tag menu style_prefix "main_menu" add gui.main_menu_background image "gui/main_menu image.png"#This is what I ad...
- Thu Apr 11, 2019 8:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to Stop Button Resizing and Stretching? [Solved]
- Replies: 3
- Views: 564
Re: How to Stop Button Resizing and Stretching?
I had a similar issue and I found for me at least defining the sizes in the gui helped. define gui.choice_button_width = 1280 #width of Game define gui.choice_button_height = 57 #Height of Choicebox Image If you aren't using an image try and set it to the w/h you want of the actual button. Might ha...
- Thu Apr 11, 2019 4:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
Re: A Main Menu with Multiple Images?
Just use "add" as if they were regular images. Place the ones you want in front, nearer the bottom. Where in Ren'Py's default code for the Main Menu (screens.rpy file) should I insert them? I've tried playing the slideshow code in places like right under the background "gui/overlay/m...
- Thu Apr 11, 2019 4:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making a Layered Image a Side Image? [Solved]
- Replies: 2
- Views: 626
Making a Layered Image a Side Image? [Solved]
I'm following this document on making a character sprite that is a layered image, but how do I turn it into a side image so that it's placed next to the textbox, with the custom position you've chosen? The layered image looks like this: layeredimage boy: group base auto: attribute body default "...
- Thu Apr 11, 2019 1:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Main Menu with Multiple Images? [Solved]
- Replies: 13
- Views: 1941
A Main Menu with Multiple Images? [Solved]
I'm trying to create a custom Main Menu in Ren'Py. I've figured out how to program the various elements, but I'm not sure how to combine them all into a Main Menu. The side menu (Start, Load, Quit, etc). A slideshow of images of various objects that dissolve from one to another. The player "unl...