Hi, hi, how you doing?
Well, I’ve been trying to figure out how to code this for a while now, I have no idea how to use points to remember choices, specially with tappable overlays.
So here’s the thing, I got @Dara.Amarie’s dressing template, and I don’t know how to remember my outfit for later.
My script:
ARROWS DRESSING GAME - 5 OUTFITS {
&ui LEFT_ARROW create and ui LEFT_ARROW scales to 0.8 0.8 in 0 and ui LEFT_ARROW shifts to 7 187 in 0 and ui LEFT_ARROW opacity 1 in 0
&ui RIGHT_ARROW create and ui RIGHT_ARROW scales to 0.8 0.8 in 0 and ui RIGHT_ARROW shifts to 250 187 in 0 and ui RIGHT_ARROW opacity 1 in 0
&ui CHOOSE create and ui CHOOSE scales to 0.4 0.4 in 0 and ui CHOOSE shifts to 75 110 in 0 and ui CHOOSE opacity 0 in 0
tappable
“LEFT_ARROW” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_outfit_5
} “RIGHT_ARROW” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_outfit_1
}
label tap_outfit_1
@HALEY changes into HALEY_Costume1
@DRESSING =1
tappable
“LEFT_ARROW” {
goto tap_outfit_5
} “RIGHT_ARROW” {
goto tap_outfit_2
} “CHOOSE” {
goto tap_outfit_choose
}
label tap_outfit_2
@HALEY changes into HALEY_Costume2
@DRESSING =2
tappable
“LEFT_ARROW” {
goto tap_outfit_1
} “RIGHT_ARROW” {
goto tap_outfit_3
} “CHOOSE” {
goto tap_outfit_choose
}
label tap_outfit_3
@HALEY changes into HALEY_Costume3
@DRESSING =3
tappable
“LEFT_ARROW” {
goto tap_outfit_2
} “RIGHT_ARROW” {
goto tap_outfit_4
} “CHOOSE” {
goto tap_outfit_choose
}
label tap_outfit_4
@HALEY changes into HALEY_Costume4
@DRESSING =4
tappable
“LEFT_ARROW” {
goto tap_outfit_3
} “RIGHT_ARROW” {
goto tap_outfit_5
} “CHOOSE” {
goto tap_outfit_choose
}
label tap_outfit_5
@HALEY changes into HALEY_Costume5
@DRESSING =5
tappable
“LEFT_ARROW” {
goto tap_outfit_4
} “RIGHT_ARROW” {
goto tap_outfit_1
} “CHOOSE” {
goto tap_outfit_choose
}
label tap_outfit_choose
&ui LEFT_ARROW opacity 0 in 0.1 and ui RIGHT_ARROW opacity 0 in 0.1 and ui CHOOSE opacity 0 in 0.1
@HALEY is primp_neutral
NARRATOR
Are you sure you want to wear this outfit?
choice
“Yes!” {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
} “No, let me try the others” {
&HALEY starts idle and ui LEFT_ARROW opacity 1 in 0.1 and ui RIGHT_ARROW opacity 1 in 0.1 and ui CHOOSE opacity 0.8 in 0.1
if (DRESSING =1) {
goto tap_outfit_1
} elif (DRESSING =2) {
goto tap_outfit_2
} elif (DRESSING =3) {
goto tap_outfit_3
} elif (DRESSING =4) {
goto tap_outfit_4
} else {
goto tap_outfit_5
}
}
Then, this is what I’m using to remember the outfit. It doesn’t remember the right one
if (DRESSING =1) {
@HALEY changes into HALEY_Costume1
} elif (DRESSING =2) {
@HALEY changes into HALEY_Costume2
} elif (DRESSING =3) {
@HALEY changes into HALEY_Costume3
} elif (DRESSING =4) {
@HALEY changes into HALEY_Costume4
} else {
@HALEY changes into HALEY_Costume5
}
Thank you so much for your time <3