Skip to main content
Question

Preserve components/variants option when changing pages


Leony

Hi, so basically I want to try making a “dress up generator game” where you can change clothes/hairstyle/pants/etc

The reference I had in my mind is something like,

  • theres an avatar at the top and the outfit options on the bottom.
  • there will be 2 or more sections for “hair, clothes, pants” section where in each section, there will be a multiple option for hairstyle, variations of clothes

I have tried using components for only ONE section where you can click option hair 1 / hair 2 / hair 3 and it went well.

But I was wondering how do I save this option state (lets say I choose hair 2) and now I want to move/click the other section example pants, which obviously I want the “hair 2” still there without getting resetted when I’m choosing the Pants section.

Is there anyone can help or have a tips on this? Thankyou so much

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings