Opposite of 'behind'

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
usul
Veteran
Posts: 415
Joined: Mon Oct 29, 2007 12:35 pm
Projects: Teachings of the Buddha, System-Addict, Generation XxX
Location: Quebec
Contact:

Opposite of 'behind'

#1 Post by usul »

I have a character image that needs to slide over another character image but since it is displayed before, it appears behind it. I know you can show some images behind others, but how to you tell it to display above another image?
"The universe is non-simultaneously apprehended"
— Buckminster Fuller

Asphodel
Regular
Posts: 28
Joined: Sat Jan 17, 2009 1:40 am
Contact:

Re: Opposite of 'behind'

#2 Post by Asphodel »

I think I would use "behind" when showing the second character, so that when it comes time to slide the first, the layering is right.

yummy
Miko-Class Veteran
Posts: 733
Joined: Fri Jul 07, 2006 9:58 pm
Projects: Suna to Majo
Location: France
Contact:

Re: Opposite of 'behind'

#3 Post by yummy »

If I remember well, it's possible to configure layers.
After a small search, I pinpointed this section in the reference.
I suppose you could add an on layer, but I think it's deprecated.

User avatar
usul
Veteran
Posts: 415
Joined: Mon Oct 29, 2007 12:35 pm
Projects: Teachings of the Buddha, System-Addict, Generation XxX
Location: Quebec
Contact:

Timer

#4 Post by usul »

The problem seems to be that once an image is designated as being behind another i cant change it (unless i hide it?). I need a way to go back and forth without hiding either image.
"The universe is non-simultaneously apprehended"
— Buckminster Fuller

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Opposite of 'behind'

#5 Post by PyTom »

you can hide an image, and immediately show it again. This won't be visible to the user.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users