Hiding Layered Image attribute

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
BigBucket
Regular
Posts: 26
Joined: Wed Aug 21, 2019 9:19 pm
Contact:

Hiding Layered Image attribute

#1 Post by BigBucket » Tue Sep 29, 2020 6:47 pm

How can I hide just one attribute of a layered image? I have an image that I want to hide one of it's attribute and currently I'm changing it to a transparent pixel in order to hide it.

Is there a command like "hide image attribute"?

User avatar
Jackkel Dragon
Veteran
Posts: 269
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Re: Hiding Layered Image attribute

#2 Post by Jackkel Dragon » Tue Sep 29, 2020 7:37 pm

You hide an attribute by putting a dash in front of it:

Code: Select all

show ayuka smile -blush
The above code will set the smile attribute, but also remove the blush attribute.
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

Post Reply

Who is online

Users browsing this forum: Google [Bot]