353 Commits

Author SHA1 Message Date
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
534ffc8d1d Back to constant speed.
It's better.
2016-06-12 03:55:59 +02:00
NathanSweet
021dfe288b Renamed constant speed to accurate. 2016-06-11 05:04:43 +02:00
NathanSweet
ae4ac8210f Check default skin, fixed crash. 2016-06-10 04:14:19 +02:00
NathanSweet
92d7ef32f4 Multiple constrained bones for transform constraints. 2016-06-10 03:21:54 +02:00
NathanSweet
8b3b0169ad Added Slot#getIndex. 2016-06-10 00:27:56 +02:00
NathanSweet
52545f262b Fixed update order for path weights.
Not super happy with having to do this, but it seems necessary.

badlogic/spine-internal#72
2016-06-10 00:27:46 +02:00
NathanSweet
8d19504bd7 Fixed binary path loading. 2016-06-09 19:31:05 +02:00
NathanSweet
07bb307b72 Fixed loader scale for paths. 2016-06-09 18:22:23 +02:00
NathanSweet
40950eded7 JSON and binary path attachment and constraint loading. 2016-06-09 03:33:48 +02:00
NathanSweet
a6ccff5fde Better path debug rendering. 2016-06-09 03:33:14 +02:00
NathanSweet
3511d7664b Fixed path constraint crash. 2016-06-08 16:19:49 +02:00
NathanSweet
b3f84390c5 Separate path timelines. 2016-06-07 13:15:08 +02:00
NathanSweet
b41dead263 Path constraint refactoring + position mode. 2016-06-06 17:29:44 +02:00
NathanSweet
2bb702e2be BOZO removal. 2016-06-06 12:38:01 +02:00
NathanSweet
932808bd06 Minor improvements.
Think she's done! Just need 3 path timelines.
2016-06-06 11:52:49 +02:00
NathanSweet
5cfa647ce2 Added path constraint spacing, spacing mode, rotate mode. 2016-06-06 11:30:50 +02:00
NathanSweet
b3fdaca019 Fixed child IK bone not being updated when IK mix = 0. 2016-06-05 01:44:35 +02:00
NathanSweet
7729d423f7 Improved non-constant speed paths. 2016-06-05 01:36:32 +02:00
NathanSweet
633432647b Clean up, optimization. 2016-06-05 00:58:07 +02:00
NathanSweet
3d8b674444 Removed appliedScaleX/Y.
These existed because TransformConstraint used to manipulate the local transform. Now that it manipulates the world transform, they aren't used.
2016-06-05 00:57:49 +02:00
NathanSweet
7e7aaad550 Clean up. 2016-06-05 00:56:56 +02:00
NathanSweet
b94e04a7a5 Don't change IK constraint indices. 2016-06-03 22:38:10 +02:00
NathanSweet
99c41f7581 Removed resetChildren. 2016-06-03 22:14:05 +02:00
NathanSweet
5dcf6b3b02 Update cache now handles all constraint configurations.
Can also apply constraints in a specific order, except for IK which must always be first.
2016-06-03 21:46:02 +02:00
NathanSweet
8538e793d6 Clean up, convenience methods to get local rotation from world. 2016-06-01 15:58:50 +02:00
NathanSweet
86e9a75846 Improved updateLocalTransform. 2016-06-01 14:44:11 +02:00
NathanSweet
a990d6dfdd Clean up. 2016-06-01 02:37:41 +02:00
NathanSweet
bcee9ede8d Improved parameter checking. 2016-05-31 18:08:48 +02:00
NathanSweet
de2b7674c4 Better use of constants, formatting. 2016-05-31 17:52:43 +02:00
NathanSweet
62ae3c83b5 Optimizations. 2016-05-31 01:46:38 +02:00
NathanSweet
c4810e23d6 Path constraint optimization. 2016-05-29 05:58:23 +02:00
NathanSweet
cdbc878f31 Scale mix for path constraints. 2016-05-29 02:33:14 +02:00
NathanSweet
05b3e66dc0 Start of multi bone path constraints. 2016-05-28 20:30:12 +02:00
NathanSweet
e50b591558 Added updateLocalTransform. 2016-05-28 01:34:02 +02:00
NathanSweet
1fa2b35e09 Clean up. 2016-05-28 01:33:45 +02:00
NathanSweet
463020e254 Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:58:31 +02:00
NathanSweet
ceb86b597b Fixed bendPositive in IK timelines.
Should be optional, false if omitted.
2016-05-27 17:57:29 +02:00
NathanSweet
4748b5bbea Fixed close path looping. 2016-05-26 13:36:50 +02:00
NathanSweet
903fbf1340 Clean up. 2016-05-26 02:18:53 +02:00
NathanSweet
00c5313bd1 Support for path constraint rotation, closed paths, outside curve position. 2016-05-25 17:19:35 +02:00
NathanSweet
c406e44785 Improved vertex attachment, paths. 2016-05-25 01:16:37 +02:00
NathanSweet
c976f8038b Fixed IK mix rotating the wrong direction. 2016-05-25 01:16:11 +02:00
NathanSweet
a84e3379d8 Much better paths. 2016-05-23 04:07:33 +02:00
NathanSweet
ee29123dfa Spine v3.3 WIP 2016-05-21 00:40:07 +02:00
NathanSweet
1be89d1c57 Fixed single bone IK with nonuniform scale. Improved two bone IK. 2016-05-06 23:09:50 +02:00
NathanSweet
a92b54b7f0 Clean up. 2016-04-29 23:18:01 +02:00
NathanSweet
55f6db3af9 Mix transform constraint scale and shear offsets. 2016-04-29 20:02:50 +02:00
NathanSweet
188bf8dc03 Fixed TransformConstraint constructors. 2016-04-28 20:39:26 +02:00
NathanSweet
27958c145b Fixed setBonesToSetupPose not reseting shearMix. 2016-04-28 19:16:27 +02:00