104 Commits

Author SHA1 Message Date
badlogic
d521339bfe Merge branch 'ts-modules' into 4.0 2021-09-06 22:39:52 +02:00
Harald Csaszar
dfa2513f3d [csharp][unity] Added spine-csharp .meta files to git. Required for UPM package. See #1676. 2021-09-06 17:39:58 +02:00
Mario Zechner
79f0abf765 [ts] Refactor module resolution, switch to esbuild 2021-08-25 19:30:46 +02:00
Mario Zechner
ca6b3d0bac [ts] Modularize spine-canvas, fixup rollup setup 2021-08-25 01:32:39 +02:00
Mario Zechner
8831c7d96e Add index.ts for core, scripts for dev and build. 2021-08-20 16:59:48 +02:00
Mario Zechner
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00
badlogic
7cbb924d9d [cocos2dx] Minor fix-ups. 2021-07-01 11:27:56 +02:00
badlogic
30702a3bff [c][cpp] Fix AnimationState::clearNext() 2021-06-21 17:45:34 +02:00
badlogic
f70363b1a6 [solar2d] Closes #1749, check if removeSelf is available on draw group 2021-06-10 13:44:23 +02:00
Nathan Sweet
963da7561e [csharp] Code style update.
* `else` on same line as `if` brace.
* `var` only when the type is shown.
* Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`.
* Don't indent `case`.
* ExposedList for EventQueue just so iteration can use array indexing.
* EventQueue, inner members (struct/enum) after methods.
* No braces for single line `if/else/for`.
* Removed comments noting ref impl code, eg `// abc.setSize(xyz);`.
* Removed comments that didn't add to what the code shows, eg `// Pooling`.
* Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`.
* Removed commented code we are not using.
* Use local with list.Items when iterating.
2021-05-31 01:26:41 -04:00
badlogic
0fa20f151f Merge branch '3.8' into 3.9-beta 2019-10-29 17:29:06 +01:00
badlogic
55fde3217d [as3][starling] Removed FDT support, added Visual Studio Code support instead. See the updated READMEs for spine-as3 and spine-starling for more information on required software and how to run and compile the examples and SWCs. 2019-10-29 17:28:51 +01:00
Tomski
4005b4dee9 Support for Gradle building, installing, and jitpack (#1431) 2019-08-08 15:52:01 +02:00
badlogic
5f13f1b8e6 Exported all examples with 3.8.25-beta to include file format changes in .json and .skel files. 2019-06-19 16:56:47 +02:00
Harald Csaszar
4c9d80926c [unity] gitignore - minor update. 2019-06-17 18:10:43 +02:00
Harald Csaszar
ac1e12e268 [unity] Added a spine-unity tests subdir to .gitignore 2019-06-17 18:07:03 +02:00
Harald Csaszar
996dba9d45 [unity] Corrected .gitignore file for unity-csharp subdir, it still referenced the old directory structure. 2019-06-17 17:53:28 +02:00
badlogic
990ccc4606 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-11-15 15:58:42 +01:00
badlogic
c95af40579 Updated all exports, using PMA now where possible in all examples. Did not update UE4 and Unity assets, these need to be updated manually. 2018-11-15 10:58:30 +01:00
badlogic
72d6be6a21 [ts] Port of fix for tangents at position 0 in PathConstraint. See #1198. 2018-10-26 17:18:05 +02:00
badlogic
bb1bdd7046 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-10-26 17:12:08 +02:00
badlogic
f12728f0d2 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-09 15:18:15 +02:00
Mario Zechner
13924a04e9 Final ignores. 2018-08-01 16:16:10 +02:00
Mario Zechner
141b0035c6 And more ignores. 2018-08-01 16:15:37 +02:00
Mario Zechner
2d52ca9673 More git ignores. 2018-08-01 16:07:07 +02:00
79d1876cba Added .metadata to .gitignore. 2018-08-01 15:51:03 +02:00
badlogic
9d8e5d4cd3 Fixed gitignore for differences between 3.7-beta and 3.7-beta-cpp. 2018-07-24 13:07:14 +02:00
badlogic
42344c90b3 [ue4] Fixed up build system and README. 2018-06-05 15:10:30 +02:00
badlogic
9c166de8e1 Added cmake build dir to gitingore 2018-05-24 15:53:49 +02:00
badlogic
88a1a58813 Added Clion/CMake build dir to gitignore. 2018-02-20 14:24:37 +01:00
badlogic
200bb7765d Updated .gitignore to exclude new dependency directories.g 2018-02-08 13:19:14 +01:00
badlogic
a5d2519f86 [xna] Added SkeletonDebugRenderer, modified sample to reproduce clipping issue. 2017-07-21 15:54:55 +02:00
badlogic
15011e81b7 [ue4] Added simple C++ example 2017-07-04 11:21:12 +02:00
badlogic
81f5b3fa79 [monogame] Added two color tinting. 2017-05-24 17:23:30 +02:00
badlogic
9c38d3faf0 Merge branch 'master' into 3.6-beta 2017-05-24 11:26:04 +02:00
badlogic
09fbf32ece Excluded new VS2017 file 2017-05-24 11:22:05 +02:00
badlogic
bb13b3d0f2 Updated .gitignore for MonoGame & cocos2d-x on Windows 2017-03-15 13:57:32 +01:00
badlogic
c081f8f6d4 Fixed .gitignore to ignore new VS temporary file 2017-01-31 14:14:05 +01:00
badlogic
7f96e2350b [ue4] Updated .gitignore 2016-11-30 16:39:34 +01:00
badlogic
96af30c8b9 [ue4] More gitignore fixes, changes to sample map 2016-11-29 14:46:42 +01:00
badlogic
7721863294 [ue4] More fixes to gitignore 2016-11-29 14:40:31 +01:00
badlogic
104fcdd583 [ue4] Fixed up .gitignore for ue4 2016-11-29 14:38:35 +01:00
NathanSweet
6e09ef7320 [ts] Updated loading screen. 2016-09-13 12:01:23 +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
1c19365325 [csharp][monogame][unity][xna] Updated to 3.3.x (#623)
* [spine-csharp] Ported 3.3 changes of Animation and inner classes. Added MathUtils.Clamp

* [spine-csharp] Ported 3.3 changes of AnimationStateData. Updated .gitignore to exclude .meta files from spine-csharp

* [spine-csharp] Ported 3.3 changes of Bone

* [spine-csharp] Ported 3.3 changes of BoneData

* [spine-csharp] Ported 3.3 changes of Event

* [spine-csharp] Ported 3.3 changes to IKConstraint. Also got rid of the hideous labeled break. Replaced with while and sprinkled continues and break :D

* [spine-csharp] Mario is not good with labeled breaks. Fixed with goto

* [spine-csharp] Ported more 3.3 changes, only SkeletonJson and SkeletonBinary left. Unity runtime also needs updating with new changes

* [spine-csharp] fixed compilation errors initially not reported by Mono CS

* Minor clean up.

Every space has its place.™

* Match csharp 3.3 refactorings.

* [Unity] Minor cleanup in SkeletonBaker.

* Better exception messages.

* Removed extra usings. Matched whitespace style.

* Fixed Bone.cs method PascalCase and xml documentation.

* Fixed Exception ctor arguments.

* Fixed single bone IK mixing.

Matched libgdx commit:
e0ee18a088

* [spine-csharp] Port of 3.3 changes to SkeletonJson, incomplete

* [Unity] Ragdoll: account for shear and new constraints.

* [spine-csharp] Ported 3.3 changes to SkeletonJson

* [spine-csharp] Ported 3.3 changes to SkeletonBinary. Time for testing and debugging

* [spine-csharp] Fixed up XNA runtime

* Added simple example data in new exports/ folder

* [spine-csharp] Fixed bug in Slot construtor, wasn't assigning index. Fixed bug in CurveTimeline, argument guard was wrong. Fixed bugs in SkeletonJson, indexing to get duration of a timeline was wrong. Added simple example to spine-xna for easier debugging

* [spine-csharp] Fixed porting bug in ColorTimeline#apply, indexing was wrong

* [spine-csharp] Fixed SkeletonJson#ReadVertices, calling resize on temp lists was wrong. Updated goblin sample in spine-xna, fixed mesh attachment rendering in spine-xna.

* [spine-xna] Added binary exports, modified XNA game

* [spine-xna] Added tank example

* Some cleanup. Relabeled generic todos.

* Prevent SpineEditorUtilities from orphaning failed instantiations.

* Ignore PathAttachment when checking for required atlas regions.

* [spine-csharp] the great spaces to tabs battle

* [spine-csharp] Fixed inherit deform.

* [spine-csharp] Match Skeleton.java properties and stuff.

* [spine-csharp] Fixed enums, all upper cased now, using Enum.ParseType in case-insensitive mode

* [csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks

* [csharp] Updated README.md

* [xna] [monogame] [unity] Updated README.md

* Revert "[csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks"

This reverts commit 175216868dd00b4ae31cc717022242308c150f6a.

* [csharp] Fix to AttachmentTimeline#apply, fix for the fix for the fix for the revert for the fix

* [csharp] Matched and fixed more comments, summaries, exception messages and formatting.

* [csharp] Fix deformed weighted vertices condition + match libgdx closer.

* [csharp] Use internal ExposedList array for critical methods.

* [csharp] SkeletonJson and SkeletonBinary minor formatting and fixes.

* [unity] Match changes and fixes in spine-csharp 3.3 + better editor messages.

* [unity] Updated sample scenes and files.

* [csharp] Some formatting got left behind.

* [unity] New readme links + Removed redundant info.

* [exports] Remove dummy project.
2016-06-30 04:29:33 +08: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
John
c7c2715ce8 Updated .gitignore to ignore build dirs of C runtime 2016-05-25 10:13:13 +02:00
NathanSweet
cc40f1be93 Clean up. 2016-04-03 18:16:17 +02:00
Randolph Burt
a0f59c43c8 Update MonoGame iOS example in line with recent changes.
* Migrate to unified API to support 64 bit platforms.
 * Remove call to game.exit() in ExampleGame.cs as this is no longer supported.
 * Use MonoGame.ios Nuget package instead of relying on external repo being present on the machine.
2016-03-17 22:16:22 +00:00
NathanSweet
a7b08fe8c2 Updated spine-starling to Spine v3 and Starling 1.7 and for use with PowerFlasher FDT. 2016-02-17 04:57:59 +01:00