Images show up behind other images. (solved)

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
Melkoshi
Regular
Posts: 156
Joined: Tue Jun 02, 2009 8:56 pm
Projects: Jewels of Sytinane
Location: U.s.a.
Contact:

Images show up behind other images. (solved)

#1 Post by Melkoshi »

This is my code.

Code: Select all

    m "hello there!"
    show somine away happy at left
    
    s "Hi there!"
    m "big thingy of text that is like a l m s o t off the screen omg wtf bbq!!!!! like omg it's almsot off screen!!! omg it is almsot off"
    menu:
        "did this work?"
        "yes":
                "yes it worked!"
                $ melanieoutfit = 'school'
        "no":
                "no it didn't work"
    show melanie close mad at melanieclosepos  with dissolve    
this is what appers on screen.

https://dl.dropbox.com/u/2216024/screenshot0001.png

They are live composites. I am unsure as to WHY it's doing this when it calls the newer image. cause shouldn't it apper infront of an older called image? O-o;

is there some infront code I can use? I tried even tacking on "behind" to the somine tag(the blue haired girl) the first time she appers, just incase. but no luck. the blonde girl(Melanie,) still shows up behind her. O_o;
Last edited by Melkoshi on Tue Feb 16, 2010 10:59 pm, edited 1 time in total.
--- My DeviantArt.
Game in Progress for demo-teaser:
story(script) = 45%
sprites = 100%
programming(interface) = 35%
CGs = 0%
Backgrounds = 5%
Music/sound = 0%

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: Images show up behind other images. O.o

#2 Post by PyTom »

Was melanine on the screen when somine first appeared? Images keep their ordering relative to each other when changed. (You can hide then show again to change this.)
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

Melkoshi
Regular
Posts: 156
Joined: Tue Jun 02, 2009 8:56 pm
Projects: Jewels of Sytinane
Location: U.s.a.
Contact:

Re: Images show up behind other images. O.o

#3 Post by Melkoshi »

hmmm, did not know that.

this worked. thank you PyTom. ^^ sucha simple anwser is always nice XD
--- My DeviantArt.
Game in Progress for demo-teaser:
story(script) = 45%
sprites = 100%
programming(interface) = 35%
CGs = 0%
Backgrounds = 5%
Music/sound = 0%

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: Images show up behind other images. (solved)

#4 Post by chronoluminaire »

Or if you don't want to hide all your other images, you can use "behind":

Code: Select all

 show melanie close mad behind somine 
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

Post Reply

Who is online

Users browsing this forum: No registered users