Layering image over textbox

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
city
Newbie
Posts: 23
Joined: Mon Jul 04, 2016 6:30 pm
Contact:

Layering image over textbox

#1 Post by city » Mon Aug 08, 2016 1:00 pm

I have a lot of images that are set up to layer. For example:
character_full (entire body & face)
character_eyeclose (literally only an image of closed eyes already positioned in file to layer over the full)
character_happy (happy face set to go over the face of "character_full")

I have a lot of these, and so I have a ton of different combinations.

Is the best way to do this to define each combination as a character with a side image, or is there a function to just have images overlay the textbox?

city
Newbie
Posts: 23
Joined: Mon Jul 04, 2016 6:30 pm
Contact:

Re: Layering image over textbox

#2 Post by city » Wed Aug 10, 2016 3:45 pm

Bumping for help.

Will the overlay function help place images over the textbox?

de_nederlander
Newbie
Posts: 21
Joined: Thu Aug 04, 2016 8:26 am
Contact:

Re: Layering image over textbox

#3 Post by de_nederlander » Wed Aug 10, 2016 4:24 pm

city wrote:Bumping for help.

Will the overlay function help place images over the textbox?
its easier to just have every combination in your image folder, it would also prevent a lot of problems.
I've had a similair thing in a previous game.

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Layering image over textbox

#4 Post by trooper6 » Wed Aug 10, 2016 5:55 pm

Are you using a LiveComposite and/or ConditionSwitch? How are you defining your images/side images at the moment?
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

Post Reply

Who is online

Users browsing this forum: Hojoo