From 8b6627f588fc4a3049c77f5bf9bb0d18f2ec9d6e Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:00:42 +0100 Subject: [PATCH] Improve ATL syntax use the dedicated xycenter property avoid setting the previous end-interpolation values before starting the new one, to avoid a jump if the player advances too quickly (also shortens the code) add subpixel True, even though it doesn't seem very effective prepare improvement in next renpy version --- game/scripts/characters/luna/events/intro.rpy | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/game/scripts/characters/luna/events/intro.rpy b/game/scripts/characters/luna/events/intro.rpy index 720e67d6..46f2290c 100644 --- a/game/scripts/characters/luna/events/intro.rpy +++ b/game/scripts/characters/luna/events/intro.rpy @@ -71,24 +71,21 @@ label luna_intro_E1: $ luna.set_face(mouth="soft", eyes="closed", eyebrows="low", pupils="mid") show CG luna as cg zorder 17: - align (0.5, 0.5) - pos (-520, -300) + xycenter (-520, -300) with fade gen "Who is--" show CG luna as cg zorder 17: - align (0.5, 0.5) - pos (-520, -300) + subpixel True easein_quad 5.0 pos (-520, 150) gen "... A girl?" lun "*Mmh*" show CG luna as cg zorder 17: + subpixel True zoom 1.0 - align (0.5, 0.5) - pos (-520, 150) - easein_quad 3.0 align (0.0, 0.0) pos (0, 0) zoom 0.5 + easein_quad 3.0 align (.0, .0) pos (0, 0) zoom 0.5 # pos (0, 0) not necessary in next renpy version gen "What are you doing in my office?" gen "Did Snape send you here? Surely--"