plugin changelog 11/18/13
Fixed a bug that made it so setting a the object's size ratio before the character loaded would be ignored
[QUOTE=Roccinio] @lucid also when i set pixel rounding on NEW PROJECT TAB and i preview, my animation gets distorted. its like pixels move back and forth while he animates.[/QUOTE] Thanks for the bug report, will have to look into this.
[QUOTE=akumaGouki] Hi, I just import a scml object like I used to do. and I get this error when I run the layout
Unexpected token <
[/QUOTE]Please watch the video above to make sure you have all of the instructions, but I believe the problem is that in the object's properties the default is .scml, rather than .scon. The new plugin requires the .scon file to be specified there. This is just a temporary thing. I forgot to mention this to Ashley, but I'll let him know, as this is a C2 side thing.
1)i still have the exact same problems with the new plugin.
no matter what animation i set at "properties" -> "starting animation" it always plays the first default animation that i saved in spriter. e.g "idle" instead of "run".
this problem is "solved" only with the "wait 0" command during sprite initialisation. this also applies for the size of the character as well.
2)the proper animations play ONLY when a certain condition is met in the code (e.g "platform on moved")the SECOND time.
possibly the problem has to do with the way the sprite is initialised?[/QUOTE]
I tried to reproduce your bug, and I did!, but originally thought it was a plugin problem, I ended up fixing it by removing the quotes from my default animation name, I had "walk", and in the debugger it came up as ""walk"", and it couldn't find an animation named that. let me know if that was the problem, if not please send me the capx if possible, because it's working for me.
On initialized>> Set object scale - isn't working anymore. I updated the C2 plugin and imported scon-files and everything is now unscaled.[/QUOTE] I don't remember if Mike covers it in the video, but you should no longer use on-initialized to set the objects anymore. That should now only trigger once per file on a layout. However there was another issue probably stopping from working at least once, or from working At Start of Layout, where I recommend you move those initialization actions. That's fixed with the new version of the plug.
Thanks again everyone for the bug reports.