Tapabble dressing game with gems

Hey guys :two_hearts: I’m using Dara amarie Tapabble dressing game with simple arrows and I want to add to one outfit gems choice (5 gems) and I’m confused where should I put that gems choice I’m using the one with 3 Outfits and I want to make the first outfit only with gems so, can you please help figuring out where should I put that gems choice

1 Like

It was easier to edit dara’s code not my own, so here you go!

# 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
@HOPE=1
################## CHANGE OUTFIT NAME TO YOUR 1ST OUTFIT ###############
@HOPE changes into OUTFIT_1

tappable
"LEFT_ARROW" {
goto tap_outfit_3
} "RIGHT_ARROW" {
goto tap_outfit_2
} "CHOOSE" {
goto tap_outfit_choose_premium
}

label tap_outfit_2
@HOPE =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@HOPE changes into OUTFIT_2

tappable
"LEFT_ARROW" {
goto tap_outfit_1
} "RIGHT_ARROW" {
goto tap_outfit_3
} "CHOOSE" {
goto tap_outfit_choose
}

label tap_outfit_3
@HOPE =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@HOPE changes into OUTFIT_3_PREM

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
@HOPE is primp_neutral

        NARRATOR
    Are you sure you want to wear this outfit?

choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@HOPE is kiss_blow_happy_atcamera

goto end_outfits

} "No, let me try the others" {
&HOPE 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 (HOPE =1) {
goto tap_outfit_1
} elif (HOPE =2) {
goto tap_outfit_2
} else {
goto tap_outfit_3
}
}

label tap_outfit_choose_premium
&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
@HOPE is primp_neutral

        NARRATOR
    Are you sure you want to wear this outfit?

choice (premium_outfit_1)
<GEMS:5> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@HOPE is kiss_blow_happy_atcamera

goto end_outfits

} "No, let me try the others" {
&HOPE 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 (HOPE =1) {
goto tap_outfit_1
} elif (HOPE =2) {
goto tap_outfit_2
} else {
goto tap_outfit_3
}
}

# ARROWS DRESSING GAME - 3 OUTFITS }

label end_outfits

#The rest of the story....

I think you also need to put some kind of dressing_game_end label between free and premium choice, because if someone chooses the free option, the script will automatically go to label tap_outfit_choose_premium after accepting free option :hugs:

2 Likes

Oh, yeah! I added in mine, but forgot to add in this one. Thank you! 🩶

1 Like

Where should I put that exact in the template please?

1 Like

@KikiMoon already edited this, so you can just copy :hugs:

1 Like

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