116 Commits

Author SHA1 Message Date
Mario Zechner
119b739a6d [flutter] Fix CHANGELOG.md 2024-07-02 14:09:17 +02:00
Mario Zechner
50f3490046 [flutter] Release 4.2.30 2024-07-02 14:08:19 +02:00
Mario Zechner
e669f799a8 [flutter] Update pubspec.lock 2024-06-28 14:42:31 +02:00
Mario Zechner
0337d4a029 [flutter] Release 4.2.29 2024-06-19 14:34:03 +02:00
Mario Zechner
be0e364388 [flutter] Dart analyzer fixes. 2024-06-19 14:20:44 +02:00
Mario Zechner
49c7196eb3 [flutter] Release 4.2.28 2024-06-19 14:10:42 +02:00
Mario Zechner
18c1f69459 [flutter] Fix incompatibility with Gradle 8.x, closes #2553 2024-06-19 14:10:01 +02:00
Denis Andrašec
0d5c3e3b18
Spine iOS (#2504)
* Add `spine-iOS` SPM package & example app (#1)

* Basic Mesh Rendering (#2)

* Spine C++ Swift Wrapper (#3)

* Load `Atlas` & `SkeletonData` (#4)

Load & dispose `Atlas` & `SkeletonData` from bundled files.

* Generate Swift classes from `spine-cpp-lite.h` (#5)

* Draw `SkeletonData` render commands (#6)

- Use `SkeletonData` render commands in the renderer
- Simple loop for animation support

* Add `BoundsProvider` (#7)

- Implement & support `BoundsProvider` classes
- Introduce alignment and content mode
- Update c to swift script to return optional for find prefixed methods

* Support `SpineController` & `Event` callbacks (#8)

- Support SpineController callbacks
- Support Event callbacks
- Apply tint color in renderer

* Support `DressUp` sample (#9)

- Add `DressUp` sample
- Move SpineViewController to SpineUIView
- Implement SpineUIView export to image

* Remove unused file

* Add `Physics` sample (#10)

- Add `Physics` sample
- Fix offsets in `IKFollowing` sample
- Fix `SpineView` background color

* Add `DebugRendering` sample (#11)

- Add `DebugRendering` sample
- Make `SpineUIView` transparent

* Move remaining files to SPM package (#12)

- Move remaining files to SPM package
- Rename `SpineWrapper` to `SpineCppLite`

* Load assets from different sources (#13)

- Load from bundle, file, http & drawable
- Apply correct blend mode & pma in renderer

* Add `Obj-C` + `UIKit` sample (#14)

- Add `Obj-C` + `UIKit` sample
- Update `Spine` to be usable in Obj-C code base

* Support CocoaPods (#15)

* Metal Best Practices (#16)

- Tripple Buffering
- Buffer Bindings
- Shared Objects

* Annotate functions that should return optional (#17)

* Add option to disable drawing when out of viewport (#18)

- Add option to disable drawing when out of viewport
- Move update clock to controller so multiple views can share it

* Add docs for public Spine classes/methods (#19)

* Fix various regressions (#20)

- Fix retain `SpineController` retain cycle
- Fix issue wehre images were not rendered
2024-06-18 10:02:25 +02:00
Mario Zechner
5c0cf0af45 [flutter] Port: Added TrackEntry#isNextReady() #2547, fix ffigen 2024-06-11 15:17:17 +02:00
Mario Zechner
c0efb545bd [flutter] Fixes #2546, fix drawing before controller initialized drawable 2024-06-11 14:07:50 +02:00
Mario Zechner
e1d7310511 [flutter] Skeleton.getBounds() takes clipping into consideration (see #2515) 2024-05-21 12:42:10 +02:00
Mario Zechner
cb0fc7adaa [flutter] Closes #2526, fix use after free error in dress-up.
When setting a new skin in _toggleSkin, we first dispose the old skin, then set the new skin. However, setting the new skin will compare attachments against the still set but already freed old skin. We end up with use after free memory access.
2024-05-16 16:31:02 +02:00
Mario Zechner
a911384e67 Re-export examples and copy to runtimes 2024-05-16 16:08:40 +02:00
Mario Zechner
5017bbf2aa [flutter] Closes #2525, fix build to include spine-cpp-lite. 2024-05-14 11:27:14 +02:00
Davide Tantillo
b3435430b8 [examples] Updated mix-and-match not inheriting rotation on feet 2024-05-03 09:24:01 +02:00
Mario Zechner
b41e9377bb [flutter] Release 4.2.24 2024-04-30 12:37:16 +02:00
Mario Zechner
0e00ce4f07 [flutter] Closes #2438, support static linking of native libraries. 2024-04-30 12:30:13 +02:00
Mario Zechner
ac7f0654a6 [cpp][flutter] Added spine-lite-cpp, changed spine-flutter to use spine-lite-cpp. 2024-04-19 14:43:00 +02:00
Mario Zechner
072c2c0965 Update README.mds, preprare spine-flutter for publication 2024-04-16 15:33:55 +02:00
Mario Zechner
b7ee102dda [flutter] Add physics example. 2024-04-09 12:05:57 +02:00
Mario Zechner
f1d6515e26 [cpp] Fix unitialized variable 2024-04-09 11:21:21 +02:00
Mario Zechner
ff9a6cde8b [godot] Fix runtime.sh and export.sh scripts. Reexport all assets with latest editor version. 2024-04-09 11:03:10 +02:00
Mario Zechner
3b4e6eff65 [flutter] Ported 4.2 changes in native code. PhysicsConstraint(Data) missing on Flutter side. 2024-04-04 17:30:25 +02:00
Mario Zechner
32952de12d [cpp] Fixed parsing, physics, re-exported all assets and copied to runtime examples. 2024-04-02 17:51:14 +02:00
Mario Zechner
f1052e2906 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/example/pubspec.lock
#	spine-flutter/pubspec.yaml
#	spine-unity/Assets/Spine/package.json
2024-03-19 16:28:30 +01:00
Mario Zechner
bd781912da [flutter] Fixes #2479, use default FilterQuality.none 2024-03-19 16:03:30 +01:00
Mario Zechner
dcb73ec24e Updated example exports 2024-03-19 10:04:06 +01:00
Nathan Sweet
ecbc6329a9 Updated example exports to 4.2.32-beta. 2024-03-07 22:41:09 -04:00
Harald Csaszar
651611b573 Merge branch '4.1' into 4.2-beta 2024-03-07 16:06:59 +01:00
Hán Trung Kiên
8e200efdbb
flutter: fix memory cleanup is slow due to not destroying shaders (#2470) 2024-03-06 03:43:09 +01:00
Kaisei
5edc53f2b0
[flutter] Fix missing definition of Blend mode set function (#2458)
* Fix skeleton.getY() and skeleton.getScaleY()

* [flutter] Fix missing definition of Blend mode set function.
2024-03-06 03:27:13 +01:00
Harald Csaszar
540319e1d4 Merge branch '4.1' into 4.2-beta 2024-01-24 17:18:11 +01:00
Kaisei
2c6d10bef8
Fix skeleton.getY() and skeleton.getScaleY() (#2454) 2024-01-22 15:14:26 +01:00
Harald Csaszar
7aeb4c3a27 Merge branch '4.1' into 4.2-beta 2024-01-10 17:16:26 +01:00
Steven Burns
dfec98895f
Update README.md (#2437)
Small fix in the documentation, it was mentioning spine-godot when it should mention spine-flutter.
2024-01-08 00:35:02 +01:00
Mario Zechner
1547e09eab [sfml] Add celestial circus and sack skeleton 2024-01-03 07:50:16 +01:00
Mario Zechner
bdf6d6293d Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/pubspec.yaml
2024-01-03 06:23:20 +01:00
Mario Zechner
0ae969e43b [flutter] Release 4.1.13 2024-01-03 06:20:41 +01:00
Mario Zechner
5279da1f80 [flutter] Fix multiply blend mode
See https://esotericsoftware.com/forum/d/25369-spine-flutter-slot%E6%B7%B7%E5%90%88%E6%A8%A1%E5%BC%8F%E5%90%8Ealpha%E4%B8%A2%E5%A4%B1/2
2024-01-03 06:19:30 +01:00
Mario Zechner
b8f3a8b8ae [ts] Fix SkeletonJson physics constraints and timelines parsing. 2023-12-19 15:09:48 +01:00
Mario Zechner
402b4a3094 [flutter] Fix CHANGELOG.md markup 2023-12-11 14:28:28 +01:00
Mario Zechner
1134d2c44e Merge branch '4.1' into 4.2-beta 2023-12-11 14:28:06 +01:00
Mario Zechner
8233af4e16 [flutter] Fix CHANGELOG.md markup 2023-12-11 14:27:53 +01:00
Mario Zechner
0e5dff8138 [flutter] Release 4.2.21 2023-12-11 14:26:46 +01:00
Mario Zechner
a6f52313c7 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/pubspec.yaml
2023-12-11 14:26:22 +01:00
Mario Zechner
18af88725f [flutter] Release 4.1.12 2023-12-11 14:25:15 +01:00
Mario Zechner
73d892740d [flutter] Properly invoke track entry listeners, closes #2349 2023-12-11 14:24:54 +01:00
Mario Zechner
49f3e6c542 [flutter] Make texture atlas page filter quality configurable, see #2362 2023-12-11 14:19:35 +01:00
Mario Zechner
f0f0f8afeb [flutter] Updated WASM binary 2023-12-11 14:17:03 +01:00
Mario Zechner
3cde66b65c [flutter] Release 4.2.20 2023-12-11 14:14:09 +01:00