simonkim / spine-spritekit Goto Github PK
View Code? Open in Web Editor NEWUnofficial Spine 2D Runtime for iOS 7 SpriteKit
License: BSD 3-Clause "New" or "Revised" License
Unofficial Spine 2D Runtime for iOS 7 SpriteKit
License: BSD 3-Clause "New" or "Revised" License
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!
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?
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?
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.
Hi. Is there any way to integrate this library into our existing project? Thank you
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的运行库,有的话请附上链接。谢谢
HI. Is there an example with swift integration of spine in Spritekit?
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
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.