diff --git a/game/examples/start.rpy b/game/examples/start.rpy index e988c94..cb88109 100644 --- a/game/examples/start.rpy +++ b/game/examples/start.rpy @@ -51,6 +51,9 @@ label start: "Tooltip": jump tooltip + "Transform": + jump transform_example + "Voice": jump voice diff --git a/game/examples/transform.rpy b/game/examples/transform.rpy new file mode 100644 index 0000000..72cc96e --- /dev/null +++ b/game/examples/transform.rpy @@ -0,0 +1,33 @@ +transform fadein: + alpha 0.0 + easein 1.0 alpha 1.0 + +transform flip: + xzoom -1.0 + +transform unflip: + xzoom 1.0 + +transform resize(x, y): + size (x, y) + +transform scale(ratio): + zoom ratio + +transform tint(color): + matrixcolor TintMatrix(color) + +transform ypos(position): + ypos position + +label transform_example: + + show eileen happy at left, flip, fadein + + e "I'm on the left." + + show eileen vhappy at right, unflip, scale(1.5) with ease + + e "I'm on the right." + + jump start