Help: Dress up game help

So, I’ve been trying to make a boba tea dress up game, but I’m stuck on this part. What I want to happen is have the player open up one of the menus (which I made into a movie clip) and pick from the choices within that menu (which is within the movie clip that I set as buttons), and I want to have the tea/object of choice that player picks still be on the table EVEN when the menu isn’t displayed!

Idk how to do that the only thing I try so far is to have it when the menu button is clicked again the menu just goes back to the first frame (where its gone along with the tea). I’m using the 1.19.3 editor (switching between the online and the downloaded version because the online version freezes less)
but here’s a small vid of the problem I’ve having
https://streamable.com/128e2m
Along with the file if anyone wants to see (my poorly done code): https://tinyurl.com/4mdsdmnu

:wave: Welcome to the Wick Editor forums, glad you’re here!
You can use clip controls!
Take the tea object out of the menu clip
Make it a separate clip
Add “stop()” the the default script of every frame in the clip
Give the clip a name like “teaObject”

Now, make it so that when you click a menu button, it does something like
teaObject.gotoAndStop(2)
To take you to the 2nd frame of the tea clip.

3 Likes

This design is really nice, @GameDevPeach

1 Like

very nice game and graphic
watrmeln gave you a good suggestion
I’ll add another
to target clips use absolute paths in the form:
project.yourMovieClipName.gotoAndStop(xxx);
this way you can avoid some issue due to relative paths.

2 Likes