K
-
Posts
5 -
Joined
-
Last visited
Content Type
Forums
Store
Gallery
Downloads
Posts posted by K
-
-
On 4/7/2015 at 11:28 PM, Dengar said:
v1.0.4:
Fixes:
-AnimationEvents are now preserved between reimports
-SpriteSwapper renamed to TextureController to avoid confusion
-Fixed a z-position issue with the SortingOrderUpdater
Hey Dengar,
I have an issue with the z-position, and have made a post with regards to the issue:
I do not mean to spam but since you encourage users to inform you of issues, so i would like to try my luck here.
Regardless, the tl;dr version of the post is:
- when I instantiate a spriter prefab, one of the sprite which is supposed to be at the far back, is now in the far front
- I instantiated the spriter prefab in more than 1 "scenes", and one of it works fine
- both of them are instantiated the same way, using the same methods/functions.
Any input is appreciated, thanks in advance!
-
Hey Mike, thanks for the quick reply.
I am sorry for the misunderstanding.
There is no change in the Z Order at any point in time. In other words, all the frames stayed in their z order throughout.
I would also like to iterate that, in one of my game screens, the z order stayed in the right place throughout the whole animation.
Do you have another possible solution?
-
I am using Spriter Pro with Unity, with the help of https://github.com/Dharengo/Spriter2UnityDX exporter
I have some issue with the sorting of the sprite's Z Order.
The problem:
Sprite that are assigned to be at the back is appearing in the front after exporting.
Additional Notes:
-
The spriter prefabs are generated via code. In other words, they are not placed in using the Unity Editor.
-
I did set the exported prefab as a child of another object.
-
Now this is the weirdest part,
I have 2 game screens that displays the Spriter Prefab.
However, in one of the screen, it is displaying fine, but on the other screen, it is not. Everytime.
The methods used to display the display each time is exactly the same. (Using the same function).
-
With some research, one of the solution is to switch on the "Apply Spriter Z Order" checkbox.
This does resolve the Z Order issue, BUT, it also makes the Spriter Prefab always behind everything else. I need the prefab to be above some objects so that will not do.
The request:
I hope for an alternate solution to resolve the Z Order issue. Any help is appreciated. Thanks!
-
The spriter prefabs are generated via code. In other words, they are not placed in using the Unity Editor.
Spriter2Unity Animation Glitch
in Spriter
Posted
What I am using:
Steps to replicate The Problem:
To illustrate the glitch better, this is a workaround I found:
https://www.reddit.com/r/Unity2D/comments/46q08c/spriter_pro_animations_glitch/
The workaround suggested by Alparra works.
However, it is quite tedious to execute, and the worst part is, each time you have an update for the sprite gameObject, you have to go through the stops for individual bone all over again.
Do let me know the proper solution to the glitch. Thanks.