Hey ppl,
Spine and cocos2d effects don't play with each other out of the box, but my good friend, Deep, just managed to get them working together for our upcoming revamp.
https://www.dropbox.com/s/he33gls99qorofh/dynamic-lighting-cocos-spine.mp4?dl=0
(there are plenty of minor changes needed, just ignore those - only showing off the lighting)
Changes he had to do - (still a bit hacky, will need to refactor before we send it back to respective repos)
https://github.com/makkajai/spine-runtimes/commits/master
https://github.com/makkajai/cocos2d-objc/commits/v3.4
What's not yet working -
The flip is not handled yet - that's why when the hero turns (00:37), his back is still lighted, instead of his face.
We still don't have shadows - if anyone has any ideas on that, please share.