Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hello Fiona! This template doesn’t have support for it out of the box, but I THINK it shouldn’t be too difficult for you to try and add… I’ll write down some of my own thoughts on how I would approach adding this feature:

Firstly, you probably don’t want the buttons to be draggable anymore, which means almost all of the code in the draggable script isn’t needed anymore! It’d probably be easier to make a new script from scratch.

I would probably still keep the texture button nodes, but I would make them toggles (toggle mode ON) and assign all the buttons of the same category to a unique button group (under base button, bottom right of your screenshot) - this way you could only assign one shirt at a time or one hairstyle, etc

I would remove the draggable.gd script and make a new one that references a Sprite2d Node, and hides / shows that sprite based on the buttons toggle status. ( I can go into more detail if you want)

Then I would drag each texture into the scene (which would add them as Sprite2D nodes) position them how I want them to be worn and then connect that sprite node with the button node of the same texture. I would probably put the sprites under the containers node and not inside it, the buttons would stay under their panels just like the template.

I would then make sure each item of the same type(shirts, dresses, shoes, etc, get their own button group (there can only be one button toggled in a group at a time).

I’d probably also have something in the script to hide them automatically on start and a way for each button to listen for a reset command.

Then I would position all of the buttons in a pleasing way using the same setup as the template.

I’m happy to try and help you out more if you want, just let me know! ^^ (discord is basicbean123)

Your art looks absolutely adorable btw I’m excited to play it!!

(+1)

sorry for the late reply, but thank you for the feedback! i would appreciate it if you could walk me through making the new Sprite2d Node script - I'm a noob when it comes to coding, lol. 

btw, my discord is tenkubashis! just letting you know that if u get a friend request from that name it's me.

Awesome! I also sent a friend request!