31 Commits

Author SHA1 Message Date
Mario Zechner
7d7d43843c [sfml] Clean-up and refactoring. 2025-08-28 13:38:51 +02:00
badlogic
7180f17af2 [cpp] All Spine objects derrive from SpineObject so we can override new/delete, which in turn calls SpineExtension allocation methods (not implemented yet). Refactored SpineExtension, removing use of macros, introducing use of templated static methods for more comfort. Rewired all allocation code throughout the runtime. See #1046. 2018-02-01 17:40:55 +01:00
badlogic
90e1a5ca5a Updated owl. 2018-01-19 13:15:31 +01:00
badlogic
18eec077e4 Updated owl to key blink animation properly. 2018-01-18 15:52:09 +01:00
badlogic
b547280eb9 Updated samples, added owl. 2018-01-18 15:18:31 +01:00
badlogic
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
badlogic
18b63d18a6 [c] Added ClippingAttachment and loading code 2017-04-21 11:16:06 +02:00
badlogic
8920840ecf [starling] Fixed renderer, ignores path attachments. Fixed samples, click on sprites to advance to next sample. Updated assets 2017-04-11 13:11:02 +02:00
badlogic
0b40dd7a9f Updated exports 2017-03-27 10:19:51 +02:00
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
ab226ab681 [runtimes] re-exported examples with Spine 3.5.03-beta 2016-10-17 14:08:00 +02:00
badlogic
02130d242e [runtimes] Updated examples to beta exports 2016-10-17 12:48:15 +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
Pavel Platto
278dfba922 [c] Implement binary skeleton loader. (#680)
* [c] Implement binary skeleton loader.

* [sfml] Use skeleton binary loader in example.

* [c] Remove spAnimation_createWithTimelines.
2016-08-24 10:42:08 +02:00
badlogic
f4f4c3ee91 [c] Fixed resizing of world vertices array for open paths in PathConstraint.c 2016-07-18 14:31:44 +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
4e87a8c461 Fixed bounding hit detection example. 2016-03-05 10:32:34 +01:00
NathanSweet
b2f09b352b Reanedm goblins-ffd example to goblins-mesh. 2014-10-05 18:53:47 +02:00
NathanSweet
9749db7a0a Added IK keys to raptor example. 2014-09-01 18:41:43 +02:00
NathanSweet
593956b51d Added IK, refactoring.
Skeleton moved from Slot to Bone.
Attachments no longer take x,y to compute vertices.
Bezier curves are calculated up front.
2014-08-31 15:24:36 +02:00
NathanSweet
3910298c91 SFML requires images without premultiplied alpha. 2014-05-02 10:21:40 +02:00
NathanSweet
82ea243dbb Meshes for spine-sfml.
No FFD or skinning yet.
2014-04-29 00:32:19 +02:00
NathanSweet
63f8e4ddaf Keyable draw order for spine-c. 2013-09-24 11:29:58 +02:00
NathanSweet
906ed5f0aa spine-c: inherit scale and rotation implemented. Allow to parse latest JSON. 2013-09-23 20:35:43 +02:00
NathanSweet
64a0a07373 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 16:54:13 +02:00
NathanSweet
dd27ee184c Changed Spine export format.
There are no longer separate animation files, they are now inside the skeleton file. This means there is just one file to manage, which is cleaner. Now that animations are stored in SkeletonData, they can be looked up by name which leads to cleaner runtime APIs.

cocos2d and cocos2d-x runtimes got a cleaner ObjC/C++ API.
2013-04-04 04:00:45 +02:00
NathanSweet
9412949ae0 Fixed skins and color/image timelines. 2013-04-03 17:13:45 +02:00
NathanSweet
a398fe6201 Atlas now prefixes images referenced in the atlas file with the directory containing the atlas file. 2013-04-03 03:37:52 +02:00
NathanSweet
b4c67812e9 Animation state example for SFML to match other runtimes. 2013-04-03 02:15:58 +02:00
NathanSweet
d3949288f8 Separated SFML from spine-cpp. 2013-03-20 14:08:54 +01:00