[SOLVED]Question regarding image button (greyed out button)

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
tokya2502
Regular
Posts: 36
Joined: Thu Apr 24, 2014 4:44 am
Completed: Princesses's Maid
Projects: Princess's pet, PUGATE
Organization: Toki Production
Tumblr: toki-aah
Deviantart: tokya2502
Contact:

[SOLVED]Question regarding image button (greyed out button)

#1 Post by tokya2502 »

Hello everybody, newbie here! I'm currently having trouble with image button. I have two buttons with Skip and Rollback function but let's say it the beginning of the game, the player can't either skip or Roll Back and I want to grey them out but I don't know what to name the greyed out image files. Please help me~
Thank you and pls excuse the awkward wording, English is my second language
Edit: I have changed my grey image file's name to "quick_skip_ground.png" but nothing happens....
Last edited by tokya2502 on Sun Feb 15, 2015 10:25 am, edited 1 time in total.

User avatar
shivanshs9
Regular
Posts: 54
Joined: Sun Jul 20, 2014 1:59 pm
Projects: The Destiny(http://thedestiny-cxz.blogspot.com)
Organization: Cyber-X-Zone
Location: India
Contact:

Re: Question regarding image button (greyed out button)

#2 Post by shivanshs9 »

Use "quick_skip_insensitive.png" if you have used:

Code: Select all

imagebutton auto "quick_skip_%s.png"
From: Screens and Screen Language - Ren'Py documentation
"Destiny is a no matter of chance
It is a matter of choice
It is not a thing to be waited for
It is a thing to be achieved..."

-William Jennings Bryan
If you can dream and not make dreams your master;
If you can think and not make thoughts your aim,
If you can meet with Triumph and Disaster;
And treat those two impostors just the same,
Only then can you ever win against yourself...

User avatar
tokya2502
Regular
Posts: 36
Joined: Thu Apr 24, 2014 4:44 am
Completed: Princesses's Maid
Projects: Princess's pet, PUGATE
Organization: Toki Production
Tumblr: toki-aah
Deviantart: tokya2502
Contact:

Re: Question regarding image button (greyed out button)

#3 Post by tokya2502 »

Omg That worked. Thank you so much!!!
Check my itch.io page out!
Image

Post Reply

Who is online

Users browsing this forum: Alex, Ocelot