nycgio There is an additional way to import Spriter files in both C2 and C3. Instead of using individual sprites, the plugin draws all of the images itself. The plugin runs much faster and uses less ram with this method, so unless you need separate sprite objects (for instance, to add an effect to some of the sprites that make up your character, but not others), you should always use this method. The import process is completely different than the other method. It looks like a lot of steps, but it's easy and quick to do once you know how.
The first step is to have Spriter figure out the bounding boxes of each animation. This tells the scml plugin how much space it needs to draw each animation.
To do this, click here:
Use these settings:
You only need to do this the first time you export it, or when you add a new animation. This only affects the bounding box of the animation (anything outside this box isn't drawn), so if you're tweaking animations and testing the game repeatedly, you don't need to do this every time.
When you're ready to export, go here:
The settings I've marked in red are all mandatory. The other settings on the left you can tweak as you like. Spriter saves all of the settings in this dialog, so you don't have to check these every time.
Next, click the dots next to base filename to choose the filename. You need to save it to a separate folder from your main project, and the filename you choose will apply to both the spritesheet and the scon file. Click Ok to complete the export.
In Construct, create your scml file as you would any other object. Right click - insert new object - scml.
When you add the object, C2 will open up the image editing dialog the same way it does when you add a standard sprite object.
In the image editing dialog, click the folder icon to load an image, and choose the spritesheet png that you just exported.
Import the corresponding scon file by right clicking on Files in the Project Pane and choosing Import Files, and selecting the file:
And lastly, in the properties pane, set scml filename to the name of the scon file, and make sure that draw self is set to true.
That should do it. Lemme know if you have any issues.
Why I can't save it?