Open daose opened 4 years ago
We do not currently support choosing between two unnamed animations (cc @JLSJamesShi). The reasoning being that we don't know how someone would want to select between them if they don't have a name. Also, we'd really rather them just name their animations rather than add support for that.
spritec binding assumes that a None for animation name means we don't want animations
Maybe you could represent this with an empty string instead?
Two issues:
animation_0
that spritec doesn't understand)Need to read
.load(...).parser.json.animations[i].name
instead of.load(...).animations[i].name
None
for animation name means we don't want animations, but it could be that we just want to use the unnamed animation instead (which spritec does support, although not sure if they support choosing between 2 unnamed animation)Need to widen granularity from
animation.name
toanimation
itself that could be null and handle it in spritec_binding. This will allowanimation
to containanimation.name
which is null.