AyaRob
March 26, 2020, 7:14pm
1
Hey! I’m currently having some trouble with coding tappable overlays, I want the reader to be able to choose whether they want to go right or left with arrows. I’ve seen youtube tutorials but none show what I need, so I hope you can help me please. Thank you!
AyaRob
March 26, 2020, 7:28pm
3
( part of a choice btww )
}“Solve it yourself”{
FIRSTNAME (read_phone_loop_rear)
I should probably just save my battery.
FIRSTNAME
Where should I go?
AyaRob
March 26, 2020, 7:29pm
4
Also I want her to be facing rear! ty
AnnSza
March 26, 2020, 8:07pm
5
Ok, I would make it look something like this
AyaRob:
}“Solve it yourself”{
FIRSTNAME (read_phone_loop_rear)
I should probably just save my battery.
FIRSTNAME
Where should I go?
goto arrows
}
label arrows
#create your overlays here and place them correctly
btw, if you want them to stick to the screen, pretty much like pinning them, use @ui OVERLAYNAME instead of @overlay OVERLAYNAME
tappable
“LEFT ARROW”{
@CHARACTER walks to spot x y in t
gain go_left1
}”RIGHT ARROW”{
@CHARACTER walks to spot x y in t
gain go_right1
}
@pause for a beat
if (go_left1){
@zoom on character (or cut to the zone they’re in)
#since the overlays are pinned to the screen, you don’t need to re-scale them
@pause for a beat
tappable
#do the arrow direction choices again…
#just put different gain names
…
}elif (go_right1){
@zoom to the character
#do the arrow direction choices again…
#with different gains …
**…}else{
#leave this blank
}
And do it so on, there’s probably easier or shorter ways to do it, but this is the most simple coding wise, may take up a lot of space tho. Also can’t really concentrate rn, sorry, I can code it for ya tomorrow if you want!!!
1 Like
AyaRob
March 26, 2020, 9:23pm
6
Tysm 4 this!! I think i’ll be fine with the coding you just sent me, but you are amazing!
AnnSza
March 26, 2020, 9:26pm
7
Aw, thanks so much, please PM me if any errors occurred or you have any questions or are in need of help!
1 Like
system
Closed
April 26, 2020, 7:26am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.