From 06931e61a1a031f2251acaa2b1aa70b0b0fab914 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 8 Mar 2023 10:21:12 -0700 Subject: [PATCH] Fix nameOnRight for intercut scenes --- src/test/source/Test.hollywoo | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/test/source/Test.hollywoo b/src/test/source/Test.hollywoo index 1008b74..398c1dd 100644 --- a/src/test/source/Test.hollywoo +++ b/src/test/source/Test.hollywoo @@ -51,17 +51,21 @@ ADDCHARACTER "black" Right FacingLeft // Speaker name not being bumped to right side for stage-right actors while intercutting: (preload (newFlxSet "intercutSet" AssetPaths.whiteBackground1280x720__png) - (newSceneFromSet "intercutScene" "intercutSet")) + (newSceneFromSet "intercutScene" "intercutSet" Day Exterior)) SETSCENE "intercutScene" -ADDCHARACTER "black" right FacingLeft -INTERCUT [=>"white" basicSceneKey "black" "intercutScene"] +ADDCHARACTER "black" Right FacingLeft +INTERCUT [=>"white" basicSceneKey =>"black" "intercutScene"] (prop &mut speakerNameTextLeftX 0.0) {(delay 0.01 ->:Void (set speakerNameTextLeftX flxDirector.speakerNameText.x))(cc)} NORMALSPEECH "white" "" "Testing line one" {(delay 0.01 ->:Void {(assert (> flxDirector.speakerNameText.x speakerNameTextLeftX))})(cc)} NORMALSPEECH "black" "" "Testing line two" +{(delay 0.01 ->:Void (set speakerNameTextLeftX flxDirector.speakerNameText.x))(cc)} +ONPHONESPEECH "white" "" "Testing line one" +{(delay 0.01 ->:Void {(assert (> flxDirector.speakerNameText.x speakerNameTextLeftX))})(cc)} +ONPHONESPEECH "black" "" "Testing line two" ENDINTERCUT