renpy.list_images()

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
saguaro
Miko-Class Veteran
Posts: 560
Joined: Sun Feb 12, 2012 9:17 am
Completed: Locked-In, Sunrise, The Censor
Organization: Lucky Special Games
itch: saguarofoo
Location: USA
Contact:

renpy.list_images()

#1 Post by saguaro »

If I print renpy.list_images() I get three additional items at the end of the list:

black
text
vtext

It looks like they might be related to the Interactive Director, which I am unfamiliar with, and I wondered why they are on the list. It does not impact my project, I am just curious. Does anyone know?

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: renpy.list_images()

#2 Post by Remix »

They are just three variables that Ren'Py automatically registers as images during init

black - a solid with colour #000 used for missing images and for a GL test during boot. Both can be altered through config
text and vtext - ParameterizedText images that allow use of `show vtext "Words"` syntax in labels (both with default centered styles)
Frameworks & Scriptlets:

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], snotwurm