Code Monkey home page Code Monkey logo

spine-spritekit's People

Contributors

simonkim 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

spine-spritekit's Issues

Memory leak issue

After getting some crashes I verified the demo code using Apple's instruments tool to detect leaks and it keeps showing a leak on:

extention.c - line 43 :

void* _malloc (size_t size, const char* file, int line) {
if(debugMallocFunc)
return debugMallocFunc(size, file, line);

return mallocFunc(size);
}

Any idea how to solve this issue? it basically leaks every time I upload a skeleton which eventually causes the app to run out of memory and crash...
Thanks for your help!

screen shot 2015-06-10 at 12 34 04 pm
screen shot 2015-06-10 at 12 33 44 pm
screen shot 2015-06-10 at 12 33 26 pm

Drawing order follows bone declaration order in .json

After much trial and error, it seems that the drawing order for the SKSpriteNodes follows the order that the skeleton's bones are defined in the .json file (rather than any draw order defined in Spine, or the .atlas file). Is this deliberate, and/or the result of technical limitations working with Sprite Kit?

Triggering an animation outside of initialisation

I've been reading the docs trying to find an answer, but I'm still not sure how to trigger an animation on a skeleton once the scene has loaded. Would I need to set up a reference to the animation and call that, or is there something more straightforward that I'm missing?

Separate repositories

Hi,
I intend to build a UIKit renderer library, to use it in a project which has iOS 6 as a requirement.
I'm basing most of my code in spine-spritekit and I've noticed it's already separated in an Objective-C wrapper library and SpriteKit specific classes.

So I thought maybe it would be better to separate the wrapper files in a "spine-obj-c" repo and add it as a pod requirement in both our projects. So than it would be easier for us both to keep the spine-obj-c up-to-date and also other people would be able to create other renderers more easily (e.g OpenGL, Metal?). And of course, more people using it means more Pull Requests with enhancements and bug fixes. It's a big win-win I think.

many errors relying on the new sprite-c runtime

The spritekit runtime in the demo about spritekit on this official website is already very old. There will be many errors when relying on the new sprite-c runtime. Has anyone modified it by himself? thank you

这个官网上有关spine-spritekit的demo里的 spine-spritekit的运行库已经是很老的了,依赖新的spine-c运行库会有很多的报错,有没有人自己修改过的,或者有人有和之前的spine-spritekit相对应的spine-c的运行库,有的话请附上链接。谢谢

Demo project compilation issue

Demo project has 2 compilation issues :

/Users/admin/Downloads/spine-spritekit-master 2/spine-spritekit/spine_adapt.h:12:10: 'spine/spine.h' file not found

and

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

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.