werdnaegni yazdıHard to fit the question into a topic title, but I tried.
Anyway, I'm using GameMaker and making a platformer with many weapons and armor. I don't want to make a skin for every possible combination, so I thought I'd just export ONLY the weapon (make the character invisible) for each animation, and have them run separately in GameMaker.
It would be better to put all your weapon images in a separate subfolder. You can create a pack.json
file in that folder and set them to be ignored.
Please see Texture Packing - Spine User Guide: Other and read about Folder Structure
below.
werdnaegni yazdıI thought unchecking 'export' on the images I didn't want exported would do it, but I guess not.
Unchecking Export
will stop it from exporting UNLESS, you have a key set on the attachment.
werdnaegni yazdıI'm new, so any advice would be really appreciated. Maybe I'm going about this all wrong and there's a better way?
Skins are best used to switch between attachments that are not shared between multiple characters. For example, in the goblins example project, the weapons they carry are not placed in skin placeholders and can be shared between all skins.
You also don't need to set keys for every weapon or armor type. You can place all the different weapons under the same slot (possibly a slot for every weapon/armor type) and then at runtime switch which weapon or armor is active.
werdnaegni yazdıedit: so I tried just making a skin and deleting all the images for that skin. Then realized I can't draw the weapon between the right arm and the torso unless I export every body part individually. Yeesh. How do people do systems like this?
It's not all bad, you gain a lot of flexibility in other areas.