341 Commits

Author SHA1 Message Date
badlogic
fe8eae4b8e [c] Ported 3.6 changes, two color timeline, changed updateWorldVertices to computeWorldVertices, point attachment, transform constraint local and relative mode. Does not actually render two color tinted slots yet. Also updated example exports 2017-01-30 16:31:16 +01:00
badlogic
4dacc8c67c [cocos2dx] Updated README 2016-12-27 11:06:59 +01:00
badlogic
b9ee3bfc5d [cocos2dx] Add missing new AnimationState methods. Closes #807 2016-12-20 10:45:24 +01:00
badlogic
e37416d935 [cocos2dx] Fixed up Visual Studio project for new spine-c location 2016-11-28 16:19:20 +01:00
badlogic
9960402e39 [cocos2dx][cocos2dobj] Fixed up cocos2d-x and cocos2d-objc xcode projects for new spine-c directory 2016-11-28 16:15:35 +01:00
badlogic
387b0afb80 [c] Added spine-c-tests (thanks @jpoag), fixed up CMake build 2016-11-28 16:00:46 +01:00
badlogic
7fc9d1a26a [c] fixed bug in spAnimationState_addPropertyID, didn't keep track of #properties. Closes #774 2016-11-24 15:01:23 +01:00
badlogic
a7fe570148 [ts] Ported AnimationState changes 2016-11-24 12:48:45 +01:00
NathanSweet
d52d2e72ee Updated READMEs, supported version is 3.5.xx. 2016-11-15 23:29:27 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
f63561085a List explicit Spine editor version that is supported. 2016-10-13 22:55:04 +02:00
badlogic
ef50131431 [runtimes] Updated all LICENSE files and README.mds 2016-10-13 15:21:05 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
badlogic
32b022d0bc [cocos2dx] Clean-up 2016-10-11 16:06:49 +02:00
badlogic
c2274020be [cocos2dx] Updated README.md 2016-10-11 15:10:59 +02:00
badlogic
b34e6dbb78 [cocos2dx] Added Android project for testing, see README.md for instructions 2016-10-11 14:44:36 +02:00
badlogic
25be5370b2 [cocos2d-x] Fixed up binary loader support 2016-10-03 14:18:57 +02:00
badlogic
89d9ee00dc [cocos2d-x] Cleaned up #716, added #712 manually to fix shared data rendering 2016-10-03 13:57:12 +02:00
Ricardo Quesada
efe0b55dbb Adds Binary support to cocos2d-x (#716)
- it simplifies the constructors/initializors
- the binary API is ::createWithBinaryFile()
- the JSON API is :: createWithJsonFile()
- the old API ::createWithDataFile() is deprecated and calls
createWithJsonFile()
2016-10-03 13:37:34 +02:00
Wilson E. Alvarez
3c12d54653 Fix mismatched memory deallocator in SkeletonRenderer.cpp (#702) 2016-09-23 12:57:53 +02:00
halx99
2f5e549475 Fix memory leak of c++ objects (#697)
We used C malloc/free which can't properly destruct C++ objects.
2016-09-13 11:28:17 +02:00
badlogic
48c5b06676 [cocos2dx] Closes #611, cocos2d-x v3 auto-batcher does it's work, makes SkeletonBatch a lot simpler 2016-09-11 13:26:51 +02:00
badlogic
48568cda2f [cocos2dx] Updated to cocos2dx 3.13 2016-09-05 15:40:39 +02:00
badlogic
030a28022a [cocos2dx] Fixed GL context attribute initialization for iOS 2016-09-05 15:32:29 +02:00
badlogic
cb949715f3 [cocos2dx] Added dependency on CoreText to iOS example 2016-09-05 15:27:26 +02:00
badlogic
eb3cb8a700 Cleaned up assets in runtime examples, runtimes.sh now copies all assets to the required locations, except for spine-unity. 2016-09-05 15:05:23 +02:00
badlogic
93dd99a4a4 [cocos2dx] Closes #685, used FLT_MIN incorrectly in bounds calculation 2016-08-26 10:34:14 +02:00
badlogic
819bb4cf0c [cocos2d-x] Closes #650, don't deep copy data read from file on cocos2d-x 3.12+ 2016-08-05 10:09:07 +02:00
Mario Zechner
2b29f9b5b6 Merge pull request #659 from ricardoquesada/issue_650
[cocos2d-x] Apply PR #650 correctly
2016-08-05 10:07:04 +02:00
samael
6241a19839 fix Wrong URL 2016-08-03 12:32:23 +08:00
Ricardo Quesada
55c576e560 fix: applies PR #650 correctly
instead of passing and `int` to `takeData()` it passes a `ssize_t`
preventing a possible stackoverflow certain 64-bit platforms
2016-08-02 16:05:49 -07:00
badlogic
c8b72e382f [cocos2d-x] Closes #580, temporary storage of color was wrong in SkeletonRenderer 2016-08-02 10:42:55 +02:00
badlogic
2a32c3e113 [cocos2d-x] Closes #612, added SkeletonBatch::destroyInstance for testing purposes 2016-08-01 12:16:43 +02:00
badlogic
82adb733cb [cocos2d-x] Closes #657, update to latest Cocos2d-X 3.12 2016-08-01 12:05:29 +02:00
badlogic
e3e122b3fc [cocos2d-x] Reverted takeBuffer PR so we are compatible with both 3.12 and < 3.12 cocos2d-x. 2016-08-01 11:43:22 +02:00
mogemimi
aca157afda [cocos2d-x] Add missing switch case 2016-07-29 07:10:15 +09:00
halx99
4f3a82834c #Use Data::takeBuffer replace deep copy data.
Avoid unnecessary memory alloc & copy
2016-07-28 11:21:34 +08:00
badlogic
ffafd67873 [cocos2dx] Added SkeletonAnimation::findAnimation, closes #285 2016-07-18 17:01:47 +02:00
badlogic
103ba493d6 [cocos2dx] Closes #370, fix primitives deprecation in debug renderer 2016-07-18 16:50:02 +02:00
badlogic
db05421930 [cocos2dx] Closes #605, crash on iOS when system UI is triggered. 2016-07-18 16:19:55 +02:00
badlogic
8ec8212c5d [cocos2dx] Closes #610, closes #627 2016-07-18 16:03:15 +02:00
badlogic
6e09fb8512 [cocos2dx] Closes #378, bounding box will have zero width/height if all attachments are invisible 2016-07-18 15:23:38 +02:00
badlogic
1c192cc3fb [cocos2d-x] Closes #472, fail gracefully if file is not found 2016-07-18 15:08:45 +02:00
badlogic
17a08e674c [c][sfml][cocos2d-objc][cocos2d-x][csharp][monogame][xna][unity] Updated README.mds to reflect version compatibility 2016-07-12 17:07:30 +02:00
Mario Zechner
eb540387e6 [c][sfml][cocos2d-x][cocos2d-objc] Updated to 3.3.07 (#629) 2016-07-05 19:53:24 +02:00
John
b9bd66b36b Updated spine-c, spine-sfml, spine-cocos2d-objc and spine-cocos2dx to 3.2.01
- Updated spine-c to 3.2.01, adding shearing and transform constraints plus various bug fixes
- Introduced CMake based system to generated IDE projects for spine-sfml, and download dependencies for all other runtimes
- Updated all spine-c based runtime READMEs with new usage and example instructions
- Moved spine-cocos2d-iphone v2 and spine-cocos2dx v2 to separate branches. These will no longer be updated
- Renamed spine-cocos2d-iphone to spine-cocos2d-iphone

Removed cocos2d-ios v2 Spine runtime. See branch cocos2d-ios-v2 for legacy apps

Moved cocos2d-ios v3 Spine runtime to top-level sphine-cocos2d-iphone directory

Added Visual Studio support to CMake build

Added Linux support for spine-sfml. Do apt-get install sfml-dev as a prerequisit, makes everyone's life easier

Refactored Mac OS X framework detection and linking, added SFML_STATIC define for Win32 build

Removed spine-cocos2dx v2 runtime. See cocos2dx-v2 branch on Github

Moved spine-cocos2dx v3 runtime to root of spine-cocos2dx

spine-c, spine-cocos2d-iphone, spine-cocos2dx, spine-sfml updated to 3.2.00

* Added CMake build for spine-c and spine-sfml
* Removed spine-cocos2dx v2 and spine-cocos2d-iphone v2. See the cocos2dx-v2 and cocos2d-ios-v2 branches if you need these runtimes still
* Added transform constraint rotate, scale, and shear offsets and mixes
* Added spTransformConstraintTimeline
* Added bone shearing
* Added spShearTimeline
* Changed spSkeleton_updateCache
* Changed JSON format, see http://esotericsoftware.com/spine-json-format

Ported 1be89d1c5766fedb91f080a23bffaef6609b86c3 to spine-c

Cleaned up spine-c, removed IDE specific files and unnecessary data/ folder. Use CMake to import into your most beloved IDE

Added spine-cocos2d-iphone to CMake, only downloads cocos2d-objc dependency. Use Xcode project in spine-cocos2d-iphone/ to run examples

Added -std=c98 -pedantic -Wall to spine-c CMake file, fixed up all warnings, fixed up .gitignore

Fixed warnings, replaced calls to stdlib cos/sin/atan2 with macros

New cocos2dx example project, for Windows, Linux and Mac OS X. Doesn't work on Windows/Linux yet

Fixed spine-cocos2dx Visual Studio projects

Reworked cocos2dx dependency resolution

Fixed up src/header paths in CMake files. Dependencies are only downloaded if you build a specific runtime example

Updated spine-sfml README with instructions for Windows

Updated spine-sfml README with instructions for Linux and Mac OS X

Fixed README formatting

More formatting, sorry, can't preview markdown...

More README changes

Renamed spine-cocos2d-iphone to spine-cocos2d-objc, fixed up Xcode project and README

Updated spine-cocos2d-objc README

Added context when exceptions are thrown during attachment and animation parsing.

Added JsonRollback, a tool for converting newer JSON so it can be loaded by an older Spine version.

[Unity] Update BoneFollower

Added coverting linkedmesh to weightedlinkedmesh.

[LUA] AnimationState trackCount bugfixes (#466)

* resolved conflict

* made trackCount keep count, not maximum track index.

Prettier with varargs.

Updated .gitignore to exclude cocos2dx dependencies

Fixed up READMEs of spine-c based runtimes with proper version info. Fixed cocos2d-x CMake build to delete outdated Spine runtime shipped by cocos2d-x
2016-06-22 15:23:31 +02:00
NathanSweet
05d60e5377 Clean up.
#565
2016-06-01 01:46:27 +02:00
serhtt
972f70c6ac fix memory leak(Cocos2dAttachmentLoader) (#565) 2016-06-01 01:38:12 +02:00
NathanSweet
8d7f761311 spine-libgdx updated to 3.2.00.
* Added transform constraint rotate, scale, and shear offsets and mixes.
* Added TransformConstraintTimeline.
* Added bone shearing.
* Added ShearTimeline.
* Changed Skeleton#updateCache.
* Changed JSON and binary formats. Some binary format fields and enums were rearranged for consistency -- sorry, but it's better for the long term. Docs for both are up to date.
http://esotericsoftware.com/spine-json-format
http://esotericsoftware.com/spine-binary-format
2016-04-26 22:51:04 +02:00