|
521.
|
|
|
The previous way of customizing the behavior of the game menu, the layout system, had problems, especially when using imagemap layouts. Screens were single-purpose, and it would be difficult to (for example) load a quick-save game from the main menu, without extensive Python code.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1755
|
|
522.
|
|
|
The screen system addresses this by providing a pool of functionality, in the form of Actions and BarValues. This makes it possible to pick and choose functionality, and add it to screens as is deemed necessary.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1760
|
|
523.
|
|
|
If a transform does not define one of the position properties :propref:`xpos`, :propref:`ypos`, :propref:`xanchor`, or :propref:`yanchor`, that property will be taken from the transform's child, if the defines that property.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1767
|
|
524.
|
|
|
This makes it possible to have one transform control a displayable's vertical motion, and the other control the horizontal. But this is incompatible with previous behavior, and so can be disabled with the :var:`config.transform_uses_child_position` variable.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1772
|
|
525.
|
|
|
The new config.default_transform variable allows a transform to specify the initial transform properties of an image that does not have a more specific transform applied to it. Its default value is center, a transform that shows the image at the center-bottom of the screen.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1777
|
|
526.
|
|
|
This can lead to a behavior change. When an image is shown, and then shown transforms, the transform will be initialized to the bottom center of the screen, not the top-left. The reset transform can be used to reset the position to the top-left.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1782
|
|
527.
|
|
|
Transform (and ui.transform) have been changed so that their arguments can now be prefixed with a style prefix. One can write ui.transform(idle_rotate=30, hover_rotate=90) and have it work.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1787
|
|
528.
|
|
|
Added the rotate_pad transform property, which controls how Transform pads rotated displayables. When set to False, _not_ the default, it's now possible to rotate a (100, 50) displayable by 90 degrees, and have the result be (50, 100) in size.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1791
|
|
529.
|
|
|
The Ren'Py documentation is in the process of being rewritten. This changelog is now being maintained as part of the Ren'Py documentation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1799
|
|
530.
|
|
|
Added support for composite style properties, that allow several style properties to be set using a single parameter. The new composite style properties are:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:1802
|