|
9.
|
|
|
A displayable object must be pickleable, which means it may not contain references to objects that cannot be pickled. Most notably, Render objects cannot be stored in a creator-defined displayable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:129
|
|
10.
|
|
|
Since we expect you to override the methods of the displayable class, we'll present them with the `self` parameter.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:133
|
|
11.
|
|
|
Base class for creator-defined displayables.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:138
|
|
12.
|
|
|
A subclass may override the constructor, perhaps adding new parameters. If it does, it should pass all unknown keyword arguments to the renpy.Displayable constructor, using code like::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:142
|
|
13.
|
|
|
Subclasses must override this, to return a :class:`renpy.Render` object. The render object determines what, if anything, is shown on the screen.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:151
|
|
14.
|
|
|
`width`, `height`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:157
../../source/udd.rst:230
../../source/inc/udd_utility:37
|
|
15.
|
|
|
The amount of space available to this displayable, in pixels.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:156
|
|
16.
|
|
|
`st`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:162
../../source/udd.rst:194
|
|
17.
|
|
|
A float, the shown timebase, in seconds. The shown timebase begins when this displayable is first shown on the screen.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:160
|
|
18.
|
|
|
`at`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/udd.rst:168
|