Colludium wrote:@lucid - thank you for that, it has fixed half of my problem! However, I am struggling to import the full Spriter project into c2 - when I try the character maps sprites are missing. As you can see from my example above, there are only 3 red sprites in the project, but for the character maps to function properly during run time the others should be imported as well. What did you do to enable the export of these extra sprites in your example? Thanks.
Edit: I suspect that I am missing something completely obvious here because you managed it. If I bake the character map to an entity (which creates an extra entity in Spriter) and then the import the scml into c2 then the import brings the extra sprite images as well so they become available during run time.
Edit 2. I guess that this is a public demonstration of my learning - I see that baking the character map to the entity is the way to go! If I do that then there is no problem here. I guess I have answered my own question.... Thanks for your great support!
I didn't reimport to fix the capx, or even open the project in Spriter. If you look at the capx I sent back, all I did was add an action to set the Entity (your first entity doesn't have a character map), and then on left click, append the character map.
Your Spriter project was already imported correctly. Character maps images are added to sprites for the original images. So if you have 'head.png', and you have a character map that changes 'head.png' into 'evilHead.png', then they will both be added to the same sprite in C2. Since the character map replaces the image, you will never need both 'head.png' and 'evilHead.png' at the same time on screen for the same character. Also, if you have an event 'on collision with Head', you don't have to write it twice for both of the versions of the head sprite.
I'm a little confused as to what you're trying to do, though. It seems like you just want a separate character as opposed to a character map. You can of course, use in other creative ways, but the most basic examples of usage would be to do things like make it so your character can get an armor or clothing pickup in game so you can actually see the character wearing the new outfit. Another example would be customize-able characters so you can change out body parts or the entire image set to make the characters look different from each other.
Baking the character map out makes the change permanent, so it's no longer a character map, and is now a separate character. Please let me know if this makes things more clear.