Giter Club home page Giter Club logo

spriterplusplus's People

Contributors

dabbertorres avatar dark7god avatar fats avatar fuzzybinary avatar jeremyjh avatar labsin avatar lucidspriter avatar rainerdeyke avatar rfadeev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spriterplusplus's Issues

Possible issue with rotation during animation.

Hey, I've recently added support for Spriter to my game via this sprite engine, but I had a peculiar issue when it was all set up.. everything was placed properly, but things were spinning crazy like on their pivot points.

What fixed it for me, was to dig into angleinfo.cpp and have the spinDirection swap between 1/!1 if reverseAngleOnLoad was used when loading (as I set that to false for my game.) I assume that the direction of the animation's interpolation isn't taken into account when it's reversed at load, and things are 'snapping' the wrong way?

Typo in spriterdocumentloader.cpp

spriterdocumentloader.cpp (line 90):
att = fileElement->getFirstAttribute("heigt");

should be

att = fileElement->getFirstAttribute("height");

Z-order flickering

Z-order seems to be inconsistent. I tried importing the example asset "GreyGuy", in Spriter everything is working as expected. When testing the character in Unity or cocos2d-x with provided walk animation (walking right) characters right hand goes over the head and behind the body at some frames.

Same issue is mentioned here:
mythgarr/Spriter2Unity#5

How to download Spriter C++ and use it to create 2D Skeletons for live 2D animations?

Hi currently I am trying to download Spriter C++ to use for 2D Skeletons for live 2D animations and for basic 2D sprite creations.

How do I download Spriter C++ and is there a way I can download Spriter as an entire project and not as separate individual files?

How do I create a sprite using Spriter and how do I add limbs that I can rotate?

I plan on using the add limbs to rotate and move to create live animations when my game is running such as running, walking, and aiming which would cause the limb to rotate according to the mouse cursor

Memory leak because of non-virtual destructor

Got some interesting warning from GCC.
There is possibly a memory leak.
(For instance, the destructor of QuinticEasingCurve won't be called.)

timeinfo/timeinfo.cpp:17:10: warning: deleting object of abstract class type ‘SpriterEngine::EasingCurveInterface’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]

Quickly fixed by adding to timeinfo/easingcurveinterface.h:

virtual ~EasingCurveInterface() = default;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.