chobolabs / spine-cpp Goto Github PK
View Code? Open in Web Editor NEWA C++11 runtime for skeletal animation from Spine by Esoteric Software
License: Other
A C++11 runtime for skeletal animation from Spine by Esoteric Software
License: Other
I have just tried to compile spine-cpp, but this header is missing. I have downloaded from here:
https://janbar.github.io/cppmyth/doxygen-dev-docs/html/sajson_8h_source.html
but it's a different version, the compiler is complaining that:
class "sajson::value" has no member "get_string_value"
I also had to change every sajon::... reference with ::sajson::...
If there are no playing animations on track, AnimationState::addAnimation
method won't fire an Anim_Start callback. AnimationState::setAnimation
always fires it.
If there is a delay between two animations, all evens of the first one will be fired each frame. lastTime
becomes higher than time
. Method EventTimeline::apply
treats this case as if the first animation has passed the whole loop.
I was looking for the method that was the equivalent of spine-c's spAnimationState_setEmptyAnimation
, but I couldn't find any method in AnimationState
that is called setEmptyAnimation
, as suggested by the official Spine API reference. Where can I find it? And if it doesn't exist, how can I get an equivalent result in my project? Thank you in advance.
There are few typos preventing usage of transform constraints:
In file SkeletonJson.cpp
, line 334:
transform.offsetTranslation.x = jtransform.get_safe_float_value_of_key(literal("y")) * m_scale;
should be
transform.offsetTranslation.y = jtransform.get_safe_float_value_of_key(literal("y")) * m_scale;
In file Bone.cpp
, line 344:
outWorld.y = local.x * c + local.y * d + worldPos.x;
should be
outWorld.y = local.x * c + local.y * d + worldPos.y;
Hey! Just thought you might be interested to know that the spine-c runtime has been compatible with 3.2 for a while. We're currently updating to 3.3 and it's almost done.
Hi I'd like to use it, but i do't know how to use it ,and need a demo, thanks alot, @iboB
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.