#Any tutorials on making a customizable character with hundreds of different combinations?

7 messages · Page 1 of 1 (latest)

languid summit
#

I want to start working on a game where you can unlock items after each stage and can equip those items on your character. You can make multiple characters to set up and army and have them battle for you on each stage.

There should be a preview of the character you are making in real-time that also shows their stats and abilities as you add/remove items from them.

How can I set up a system like this? Any tutorials on this would be very helpful, thanks!

cosmic iron
#

Well, it's unlikely that you can find a tutorial that exactly implements your entire idea, but you can probably find tutorials for the subsystems that you are interested in. Maybe you could start by looking up an inventory system tutorial for the items thing. I would also read about object oriented programming and specially composition, because that will help you a lot when thinking about how your army is composed of characters, and how to make the items interact with the characters to up their stats

#

https://www.youtube.com/results?search_query=inventory+godot

here are some inventory tutorials, some are more complex and allow item stacking, some try to reproduce diablo/RE4-like inventory management. It all depends on what you want to achieve, but try to start with the most simple subsystem in your game and slowly build up on it

languid summit
cosmic iron
#

you will probably want to have separate sprites for each limb of each armor set, as well as separate sprites for each body part of your "nude" character

#

when equipping the items you can either just swap the texture of the corresponding limb sprite, or layer them on top of eachother

#

while your animation player applies the same set of animations to the limb sprites regardless of their current textures