Coding issues with tappable dressing game. Help please!

I appreciate you for helping so much :two_hearts:.

The reader picks an outfit in the previous episode. Now I am adding a necklace in the middle of a scene in the next chapter. The outfit the readers previously pick will gain a necklace. So I made similar outfits but with the necklace added. I just know where to add in this template.

If that makes any sense.

Also how would i right it in the next chapter

ARROWS DRESSING GAME - 3 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_3
} “RIGHT_ARROW” {
&ui CHOOSE opacity 0.8 in 0.1
goto tap_outfit_1
}

label tap_outfit_1
@FAITH =1
################## CHANGE OUTFIT NAME TO YOUR 1ST OUTFIT ###############
@FAITH changes into Option 1

tappable
“LEFT_ARROW” {
goto tap_outfit_3
} “RIGHT_ARROW” {
goto tap_outfit_2
} “CHOOSE” {
goto tap_outfit_choose
}

label tap_outfit_2
@FAITH =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@FAITH changes into Option 2

tappable
“LEFT_ARROW” {
goto tap_outfit_1
} “RIGHT_ARROW” {
goto tap_outfit_3
} “CHOOSE” {
goto tap_outfit_choose
}

label tap_outfit_3
@FAITH =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@FAITH changes into Option 3

tappable
“LEFT_ARROW” {
goto tap_outfit_2
} “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
@FAITH is primp_neutral
@speechbubble is 158 222 to 100%
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
@FAITH is kiss_blow_happy_atcamera
} “No, let me try the others” {
&FAITH starts idle
&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 (Character =1) {
goto tap_outfit_1
} elif (Character =2) {
goto tap_outfit_2
} else {
goto tap_outfit_3

}
}

ARROWS DRESSING GAME - 3 OUTFITS }

1 Like

Use the if/elif/else that’s in the template. This is what remembers which outfit was chosen.

What if I am adding something to the outfit from a previous episode such as a necklace with the same outfit?

So you’re just adding a necklace to the outfit the reader chose? You would use that if/elif/else and make the character change into the outfit with the necklace

if (CHARACTER =1) {
@CHARACTER changes into Outfit1_withnecklace
} elif (CHARACTER =2) {
@CHARACTER changes into Outfit2_withnecklace
} else {
@CHARACTER changes into Outfit3_withnecklace
}

1 Like

omg thank you so much!

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