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.
The subject is debatable as we must understand the code logic applied by the core designer.
To my understanding of the thing, the second was implemented to open for users the chance of having both a generic Displayable that control the behaviour of the object, and a child of it (the rendered image), creating the base for the UDD.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
zmook wrote: ↑Tue Feb 16, 2021 1:05 pm
I've seen a lot of references to "UDD" but can't find a definition. Is it the same thing as "Creator-Defined Displayable"? ("User-Defined"?)
I dunno why, but is the same thing that changed name thru time. Probably as by "user" someone meant the one playing the game, and "creator" the one that's doing it.
====
As for the OP: a CDD/UDD is nothing but a PyGame child class, so to use it the best way is to learn how PyGame work.
You don't have to render directly or create a controller for state, but once you know how to manipulate a PyGame object, you own the proper know how.
Is a vast subject, and not really well documented as Renpy wasn't mean to use it a lot.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.