324 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
pharan
16011c2eb1 [Unity] Update BoneFollower 2016-06-16 15:44:46 +08:00
John
c311a5aa2e [Unity] Fix SkeletonUtility debug bone scale. 2016-06-12 10:39:15 +08:00
John
5cceb22406 [unity/tk2d] Update editor code. Some cleanup and fixes. (#608)
* Initial cleanup and review.

* More cleanup and review.

* Removed missing atlas warnings for TK2D. Better button labels. Separated specialized/utility shaders.

* Clearer wording. More checks.

* Fix for Inspector reflowing between GUI events.

* Basic TK2D warning message.

* Fix play buttons. Removed useless reimport button for TK2D. Minor fixes.
2016-06-10 16:40:10 +08:00
John
4b9d1b4f69 [Unity] Ragdoll fix (#596)
* Initial cleanup.
* More cleanup and debugging. Not fixed yet, but core task identified (probably).
* [Unity] Fixed Ragdoll2D and copied to 3D.
2016-06-01 00:05:08 +08:00
John
b6e502d653 [Unity] SkeletonDataAssetInspector minor fixes. 2016-05-31 19:33:02 +08:00
John
a2729ce3d0 Opt-in C# events for SkeletonAnimator. 2016-05-19 11:18:52 +08:00
John
dba0245753 Opt-in C# events for SkeletonAnimator. 2016-05-19 11:03:42 +08:00
John
0b00800e39 [Unity] Update basic json validity check. 2016-05-13 13:03:33 +08:00
John
e5b36f4180 [Unity] Update serialized custom materials
* SkeletonRendererCustomMaterials: correctly reapply changes when slot name changes (#554)
* Made sure private methods are private. Editor uses reflection.
* Also removed public properties.
2016-05-13 12:47:02 +08:00
pharan
4a36a95f06 [Unity] Remove dynamic meshes in prefabs by default. 2016-05-12 13:31:25 +08:00
John
f695cf19c2 [Unity] Fixed no renderables causing errors. 2016-05-09 03:18:07 +08:00
John
e493054028 [Unity] Cleanup SkeletonUtilityKinematicShadow. 2016-05-04 19:22:34 +08:00
John
4e730f0209 Spine.Unity namespace. 2016-05-03 21:37:15 +08:00
pharan
f14e898d2d [Unity] Fix extra renderers check. 2016-04-19 05:45:10 +08:00
pharan
6316879c1c [Unity] Fix attachment match check. 2016-04-18 17:37:19 +08:00
pharan
7a3c24b4fb [Unity] 3.1.05 compatibility and cleanup for SkeletonExtensions. 2016-04-14 03:40:50 +08:00
pharan
bf35d4979e [Unity] Workflow cleanup for serialized custom materials module. 2016-04-14 03:36:36 +08:00
Serhii Yolkin
a634d39765 Improved material overrides (#536)
* per-material material overrides, separate MonoBehaviour for setting overrides from inspector

* clean-up and fix SkeletonRendererMaterialOverride

* SkeletonRendererCustomMaterials: initialize SkeletonRenderer to ensure skeletonRenderer.skeleton != null

* rename SkeletonRendererCustomMaterials folder for consistency
2016-04-14 00:56:32 +08:00
John
5f6deea7a0 Replaced Begin-End with using scopes 2016-04-08 16:00:24 +08:00
John
1e45b87e51 BoneFollower inspector fixes. 2016-04-05 12:30:53 +08:00
pharan
8896eef030 More resetter extension methods. 2016-03-26 10:09:40 +08:00
pharan
1589d147f9 Per-MeshRenderer Custom Material Override 2016-03-25 02:43:44 +08:00
pharan
ec268a50e0 Minor SkeletonExtensions update. 2016-03-24 03:46:48 +08:00
pharan
129a92afec Updated sample scenes. 2016-03-24 01:58:10 +08:00
pharan
cc95db8e6c All scripts now in Spine.Unity and Spine.Unity.Modules namespace 2016-03-24 01:53:22 +08:00
pharan
c0eb1a5237 SkeletonRenderer update. 2016-03-24 00:37:52 +08:00
pharan
aea0c1a923 HelpURL for main Component types. 2016-03-24 00:37:06 +08:00
pharan
fdf07aed92 Removed Mesh Generation Samples. 2016-03-24 00:36:08 +08:00
pharan
46ee116ee3 RenderSeparator update. 2016-03-24 00:35:19 +08:00
pharan
9254e18801 Spine.Unity and Spine.Unity.Editor namespace 2016-03-24 00:34:22 +08:00
pharan
80d8e9e276 Cleanup and improved inspector workflow. 2016-03-20 00:49:13 +08:00
pharan
9e8fdeef6c Spine.Unity namespace and some editor tweaks. 2016-03-19 16:54:43 +08:00
pharan
50a0960a7d Arrays Mesh Generators now share code. 2016-03-16 22:22:24 +08:00
pharan
bf4511c8de Merge remote-tracking branch 'esotericsoftware/master' into unity-skeletonrenderer 2016-03-16 02:48:15 +08:00
pharan
8e8b5e3904 Multiple submeshes per part. 2016-03-16 02:47:22 +08:00
John
143b750dc9 Exclude BuildTargetGroup.Unknown 2016-03-15 16:01:57 +08:00
pharan
345f45d8a5 Merge branch 'master' of https://github.com/EsotericSoftware/spine-runtimes 2016-03-15 12:09:34 +08:00
pharan
a734671090 Removed old raptor sample binary. 2016-03-15 12:05:34 +08:00
John
476ce5165d SkeletonDataAssetInspector null checks & helpbox. 2016-03-15 01:47:44 +08:00
John
5570e2b5d0 Fixed backwards slider-validated values. 2016-03-12 14:50:39 +08:00
John
2f3a572ff6 Mecanim Dummy Clip Generation Warning
There was a Unity bug causing an internal Dictionary add to fail, and thus prevent existing generated Mecanim controller from being updated.
Posted on the Unity forums here: http://forum.unity3d.com/threads/bug-hidden-duplicate-animationclips.391202/
2016-03-12 09:49:41 +08:00
John
6950832d1e Fix SkeletonUtility Bone SceneGUI 2016-03-09 05:14:45 +08:00
pharan
852102ab8f Cleanup BoneFollowerInspector 2016-03-08 12:00:32 +08:00
pharan
0687826542 SpineRenderSeparator 2016-03-08 12:00:19 +08:00
John
5538c0adde Cleanup SkeletonRenderer.cs
Cleaned up the SkeletonRenderer code. Clearly outlines mesh generation steps. Abstracted double-buffering and paired meshes with the information used to generate them (for easy checking) See "SmartMesh" and "Instruction" classes. Fixed some long-standing bugs and removed unnecessary normals, tangents and flips updates. Renamed old variables to reflect new logic.

Also marked spots where triangle winding was considered (frontFacing and flip). This is a candidate for removal.
2016-03-08 07:13:21 +08:00
pharan
f4d9a66d56 Cleaned up BoneFollower 2016-03-07 10:12:12 +08:00
pharan
4f6fd8aa48 SkeletonUtilityBone v3.0 fix for basic cases. 2016-03-07 05:29:29 +08:00
pharan
a964ea71a6 Fixed v3 FrontFacing. Cleaned up comments. 2016-03-07 04:12:33 +08:00
pharan
123d15b1e4 Baking should be hidden by default. 2016-03-06 21:37:17 +08:00