So I've been looking for ages and can not seem to get this one, even though it seems like the answer should be easy to figure out.
I'm extremely new to this... but get the feeling if there is a way I'm going to do a face palm because I should have been able to figure it out...
Is there a way to apply a zorder to one image, so that whenever I use the "show ___" it always shows above the other characters?
(Or some other way other then zorder, just some way to make it go on top.)
Thanks for any help!
[solved] Apply zorder to image?
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.
- Elta
- Regular
- Posts: 72
- Joined: Sun Jun 02, 2019 6:28 pm
- Tumblr: limitelta
- Deviantart: limitelta
- itch: limitelta
- Contact:
[solved] Apply zorder to image?
Last edited by Elta on Fri Jun 28, 2019 11:40 am, edited 1 time in total.
- xavimat
- Eileen-Class Veteran
- Posts: 1460
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Contact:
Re: apply zorder to image?
Have you tried this?
https://www.renpy.org/doc/html/displayi ... ght=zorder
EDIT (it doesn't):
Never tried this, maybe it works:
image primadona:
"primadonna.png"
zorder 999
Code: Select all
show myimagewithprimadonnacomplex zorder 999
EDIT (it doesn't):
image primadona:
"primadonna.png"
zorder 999
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- Elta
- Regular
- Posts: 72
- Joined: Sun Jun 02, 2019 6:28 pm
- Tumblr: limitelta
- Deviantart: limitelta
- itch: limitelta
- Contact:
Re: apply zorder to image?
Oh my goodness... As I thought I was just being very slow minded I was using the wrong number! Thank you so much this works just fine!xavimat wrote: ↑Fri Jun 28, 2019 10:58 am Have you tried this?Code: Select all
show myimagewithprimadonnacomplex zorder 999
(Why is it always the simple things that trip me up! XD)
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: apply zorder to image?
You can assign tags to specific zorders using:
Which would always show eileen tag images in front of lucy tag ones...
If you were just looking for a way to bring the "current speaking character" to the front (and you set the image="tagname" bit in your Character definitions) you could automate it by using something like the snippet in this post
Code: Select all
init python:
config.tag_zorder["eileen"] = 10
config.tag_zorder["lucy"] = 8
If you were just looking for a way to bring the "current speaking character" to the front (and you set the image="tagname" bit in your Character definitions) you could automate it by using something like the snippet in this post
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Elta
- Regular
- Posts: 72
- Joined: Sun Jun 02, 2019 6:28 pm
- Tumblr: limitelta
- Deviantart: limitelta
- itch: limitelta
- Contact:
Re: apply zorder to image?
Oh wow, this is really lovely to know! Thank you so much! I'll defiantly be using the info you just shared in the future, that helps out a ton!Remix wrote: ↑Fri Jun 28, 2019 11:47 am You can assign tags to specific zorders using:Which would always show eileen tag images in front of lucy tag ones...Code: Select all
init python: config.tag_zorder["eileen"] = 10 config.tag_zorder["lucy"] = 8
If you were just looking for a way to bring the "current speaking character" to the front (and you set the image="tagname" bit in your Character definitions) you could automate it by using something like the snippet in this post
Who is online
Users browsing this forum: Google [Bot]