image Onlayer on game menu fix?
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
image Onlayer on game menu fix?
So whenever I click options or save/load screen my character that uses "show m_neutral at onlayer ml" is on top of the screen and it's blocking the return button. how to make it overlap everything except the game menu screens?
Re: image Onlayer on game menu fix?
Why did you put this character on layer that is higher than 'screens'-layer? Didn't it overlap your game's gui?
If you need it to overlap your gui but not the menus, try to make another layer and show bgs and sprites on 'master'-layer, your gui screens on that another layer, your character on 'ml'-layer that must be lower than 'screens'-layer.
If you need it to overlap your gui but not the menus, try to make another layer and show bgs and sprites on 'master'-layer, your gui screens on that another layer, your character on 'ml'-layer that must be lower than 'screens'-layer.
Re: image Onlayer on game menu fix?
sorry, i'm quite the noob. would you elaborate? TTAlex wrote: ↑Thu Dec 17, 2020 1:34 pm Why did you put this character on layer that is higher than 'screens'-layer? Didn't it overlap your game's gui?
If you need it to overlap your gui but not the menus, try to make another layer and show bgs and sprites on 'master'-layer, your gui screens on that another layer, your character on 'ml'-layer that must be lower than 'screens'-layer.
Re: image Onlayer on game menu fix?
Mmm, you've said that you show your character like "show m_neutral at onlayer ml" - why do ou show it on layer 'ml'?
Is there any special purpose? Otherwise show it like
Code: Select all
show m_neutral
Re: image Onlayer on game menu fix?
well it's because it's a protagonist side image and it needed to overlap the textbox. I couldnt use the side image from renpy tutorial because the name of the protagonist is a renpy.input [name] and it's also a conditional switch between male and female sprite depending on what you choose. I couldn't figure out the side image code for that so I decided to go with onlayer ml. my only purpose is to overlap the textboxAlex wrote: ↑Fri Dec 18, 2020 12:00 pmMmm, you've said that you show your character like "show m_neutral at onlayer ml" - why do ou show it on layer 'ml'?
Is there any special purpose? Otherwise show it likeCode: Select all
show m_neutral
Re: image Onlayer on game menu fix?
Try it like:
https://www.renpy.org/doc/html/dialogue.html
Code: Select all
define mc = Character("[my_char_name]", image="my_char")
image my_char normal:
Solid("#00c")
size(350, 650)
image my_char happy:
Solid("#c0c")
size(350, 550)
image side my_char normal:
Solid("#00c")
size(250, 350)
image side my_char happy:
Solid("#c0c")
size(250, 350)
# The game starts here.
label start:
show my_char normal
$ my_char_name = renpy.input("Enter your name:", default="???", length=10)
"Hello, [my_char_name]."
mc happy "Hello!.."
show my_char at right with move
mc normal "...World?"
"~~~"
Re: image Onlayer on game menu fix?
ohh you're right, i should've just gone with the default instead of onlayer ^^ thanks
Who is online
Users browsing this forum: No registered users