Making characters fade into scene

I’ve got the same issue again but now it’s making a character fade into a scene. The characters appear quickly and not fading into the scene, I need some guidance, please.

Code
&zoom reset
&overlay QA_BUTTON opacity 0 in 1

&overlay CC_BUTTON opacity 0 in 1

&overlay SKIP_BUTTON opacity 0 in 1

&overlay PTSD_MENU opacity 0 in 1

&overlay START_BUTTON opacity 0 in 1

&overlay SHANE_NAME opacity 0 in 0

&overlay JACKIE_NAME opacity 0 in 0

&SHANE spot 1.280 232 1 in zone 1 AND SHANE faces left AND SHANE moves to layer 1

&JACK spot 1.280 98 -1 in zone 1 AND JACK faces right AND JACK moves to layer 1

&SHANE is arms_crossed AND SHANE moves to layer 3

&JACK is idle_happy AND JACK moves to layer 3

@overlay PTSD_CODE opacity 1 in 1.2

if you’re making them fade in, shouldn’t the overlay be opacity 0?

1 Like
  1. set the overlay that shoudl cover them on higher layer then the characters - its seem you do not have the overlays on laysrs (but I dont see the whole code

  2. set the opacity of the covering overlay to 1 on the start

  3. change the opacvity to 0 in time to make them fade in (you have it vice versa)

just to understand it:
0 opacity = the overlay is completly transparent = you do not see it
1 opacity = the overlay is fully visible and not at all transparent

1 Like

I’ve tried but it’s still not working it’s set to layer 4 but then I got it to change to layer 2

EXT.PTSD_MENU with PTSD_CODE to 1.000 0 0 in zone 1 at layer 4

&overlay QA_BUTTON opacity 0 in 1

&overlay CC_BUTTON opacity 0 in 1

&overlay SKIP_BUTTON opacity 0 in 1

&overlay PTSD_MENU opacity 0 in 1

&overlay START_BUTTON opacity 0 in 1

&overlay SHANE_NAME opacity 0 in 0

&overlay JACKIE_NAME opacity 0 in 0

@overlay PTSD_CODE to layer 2

@overlay PTSD_CODE opacity 0 in 1.2

&SHANE spot 1.280 232 1 in zone 1 AND SHANE faces left AND SHANE moves to layer 1

&JACK spot 1.280 98 -1 in zone 1 AND JACK faces right AND JACK moves to layer 1

&SHANE is arms_crossed AND SHANE moves to layer 3

&JACK is idle_happy AND JACK moves to layer 3

you must spot the characters before you change the opacity of the overlay.

gime few minutes I am heading home then I can on my pc redo the code

So if you set layer of the overlay next to the background you do not need to set it one more time.

Also all the other overlays you set on 0…but you havent created them in the scene so there is no reason to set opacity for them - they are not there anyway.

Or have you forgoten to create them?

Also you set the characters twice on different layers - again unnecessary and you let it happen in the same time which might conflict in the coding

I deleted the unnecessary code

EXT.PTSD_MENU with PTSD_CODE to 1.000 0 0 in zone 1 at layer 2
&SHANE spot 1.280 232 1 in zone 1 AND SHANE faces left
&JACK spot 1.280 98 -1 in zone 1 AND JACK faces right
&SHANE is arms_crossed AND SHANE moves to layer 1
&JACK is idle_happy AND JACK moves to layer 1
@overlay PTSD_CODE opacity 0 in 1.2

1 Like

They’re meant to be there because they’re tappable overlay buttons. They disappear afterwards but again it didn’t work because the still pop up.

is the overlay that should cover them covering whole screen? Can you maybe show me the overlay PTSD_CODE?

Also try to make the time longer like 3 seconds instead of 1.2 if you want them to fade in slowly.

if they are ment to be there then you must create them you have just used opacity command but forgot to create them.

Eather write them next to the background like the other overlay or use command

&overlay NAME create

1 Like

The PTSD_Code overlay is the same as the background but just an overlay

Code Before The CC_Button Tappable

EXT.PTSD

&zoom reset

@transition fade in green 0.9

@pause for a beat

label menu
EXT.PTSD_MENU with PTSD_MENU to 0.945 9 465 in zone 1 with START_BUTTON to 1.000 -9 398 in zone 1 with CC_BUTTON to 1.000 64 290 in zone 1 with QA_BUTTON to 1.000 -12 172 in zone 1 with SKIP_BUTTON to 1.000 156 77 in zone 1 with PTSD_CODE to 1.000 0 0 in zone 1 at layer 2

&overlay PTSD_MENU opacity 0 in 0

&overlay START_BUTTON opacity 0 in 0

&overlay CC_BUTTON opacity 0 in 0

&overlay QA_BUTTON opacity 0 in 0

&overlay SKIP_BUTTON opacity 0 in 0

&overlay PTSD_CODE opacity 0 in 0

label return_here
&remove SHANE

&remove JACK

&zoom reset

volume music 50 2000

music music_strolling

@transition fade in green 0.9

&speechbubble is 162 292 to 100%

&overlay PTSD_MENU opacity 1 in 2
@pause for 1

&overlay START_BUTTON opacity 1 in 2
@pause for 1

&overlay CC_BUTTON opacity 1 in 2
@pause for 1

&overlay QA_BUTTON opacity 1 in 2
@pause for 1

&overlay SKIP_BUTTON opacity 1 in 2
@pause for 1

does the script gives any error?

Also go to the spotdirecting and find there the PTSD_CODE overlay and try to move it before it should fade away …is it there on right spot and is the overlay visible?

Another thing try to not to create this overlay next to background but create it with using

&overlay NAME create
& NAME moves to layer 2
&overlay NAME opacity 1 in 0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.