6815 Commits

Author SHA1 Message Date
Mario Zechner
1d5bf3bd75 [ts][canvas] Closes #2008, incorrect setting of global alpha. 2022-01-19 16:06:34 +01:00
Mario Zechner
c312c373c0 [cocos2dx] Fix culling of clip attachments. See https://github.com/EsotericSoftware/spine-runtimes/pull/2011 2022-01-19 16:01:10 +01:00
MikalDev
b1d396cf55
feat (loadTextureAtlas) add option to use file alias (#2019)
For Construct 3, in preview mode, the texture file names are changed to blobs with completely different filenames. So, loadTextureAtalas will not work because the file names don't match the page.name.  When Construct 3 is not in preview mode, the normal file names will match the page.name.

To get around this issue, added an optional parameter to loadTextureAtlas, fileAlias, this will allow the Construct 3 plug-in to create a fileAlias object which maps between page.name and the C3 project file names, whether they are aliased or not. If this is not needed, the function performs as it did before.

Co-authored-by: MikalDev <keg@kindeyegames.com>
2022-01-19 15:31:23 +01:00
Mario Zechner
bf260a43ec [c] Fixes #2017, use REALLOC macro instead of realloc. 2022-01-19 11:31:03 +01:00
Harald Csaszar
9e54dc4faa [unity] Increased version number of Spine URP Shaders UPM package in package.json. 2022-01-18 19:06:47 +01:00
Harald Csaszar
8a30203ab9 [unity] Fixed incorrect normal orientation for lighting in URP 2D shaders. Closes #2023. Fixed compile error of URP/2D/Spine/Sprite shader on Unity 2021.2. Closes #2022. 2022-01-18 19:03:12 +01:00
Matt Roelle
0407bd8302
Fix bad string concat in error messages in spine lua runtime. (#2021) 2022-01-15 16:20:06 +01:00
Luke Ingram
2ca3b6462b [ts] Fixed development setup documentation 2022-01-12 13:39:26 -04:00
Harald Csaszar
ae186964a2 [unity] Timeline: Removed editor warning when SpineAnimationStateTrack 'Track Index' is identical at different tracks, different skeleton objects can be targeted. Timeline API prevents a target object check. See commit 7db783c. 2022-01-12 16:01:56 +01:00
Harald Csaszar
1233bce55e [unity] Support fix prefab override via mesh filter global settings. Closes #1938. 2022-01-10 18:21:55 +01:00
badlogic
d065c88ca8 [ue4] Fixes #2006
Users project recursively generates UIs, which leads to extremely long resource names. Eventually, assigning such a name to a brush results in an assertion being triggered, as the name is too long. Fixed on our end by creating a custom resource name instead of reusing the name of the material. User still has to clean-up their code.
2021-12-23 17:04:57 +01:00
Harald Csaszar
7400da8896 [unity] Fixed BoundingBoxFollowerGraphic vertices being 0.0 in some occasions, closes #1999. Problem introduced in commit 506a1ab, see issue #1990. 2021-12-21 13:07:48 +01:00
Mario Zechner
1544b6cca9 [ue4] Update documentation to describe adding SpinePlugin to Build.cs 2021-12-21 11:28:41 +01:00
Harald Csaszar
ceade3f804 [unity] Minor: unified TextureType of all example skeleton atlas textures to Default. Some were set to Sprite (2D and UI) which caused confusion. 2021-12-16 11:22:32 +01:00
Harald Csaszar
a77f9010f3 [unity] minor formatting, format checks failed after commit 193882f. 2021-12-15 17:01:56 +01:00
Harald Csaszar
193882f2c6 [unity] BoneFollower and BoneFollowerGraphic now provide an additional Follow Parent World Scale parameter. 2021-12-15 16:52:14 +01:00
Mario Zechner
3bace5406e [ts] Update version to 4.0.17 2021-12-15 15:01:37 +01:00
Mario Zechner
44e34cb264 [ts] Fixes #2003, ensure all fields are initialized as per reference implementation. 2021-12-15 15:00:19 +01:00
Harald Csaszar
0e2fe5c6c9 [unity] Minor: documentation improvement of SpineAtlasAsset.CreateRuntimeInstance method description. 2021-12-13 17:24:10 +01:00
Harald Csaszar
4b42f23fc4 [unity] Fixed incorrect rendering of OutlineOnly shader in URP with HDR option enabled. Closes #2001. 2021-12-10 16:04:08 +01:00
Harald Csaszar
3025b370f5 [Unity] Fixed MaterialChecks to correctly check for Sprite material settings. Closes pull request #2000. 2021-12-09 18:56:26 +01:00
Harald Csaszar
bb7804ac9e [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 19:16:28 +01:00
Denis Claros
3044ef1156
Implement new mesh:update() function (#1989) 2021-12-03 13:41:19 +01:00
Harald Csaszar
7db783c660 [unity] Timeline: Added editor warning when SpineAnimationStateTrack 'Track Index' is identical to target 'Track Index' of other track. 2021-11-29 19:36:48 +01:00
Harald Csaszar
9dfd69e49d [unity] Fixed json files starting with array brackets not being detected as json. Closes #1992. 2021-11-24 15:00:13 +01:00
Harald Csaszar
ac9c83f7d7 [unity] Added missing license header to test class. 2021-11-22 19:30:24 +01:00
Harald Csaszar
d1b1e32bbf [unity][csharp] Minor cleanup of last commit. 2021-11-22 19:25:21 +01:00
Harald Csaszar
3b061eaa5f [unity][csharp] Moved automated tests out of the spine-unity Assets directory to a UPM package (to prevent potential compile errors upon incomplete setup). Updated spine-csharp tests to be usable as a UPM package. 2021-11-22 19:12:18 +01:00
Harald Csaszar
506a1abf53 [unity] Fixed extension method VertexAttachment.GetLocalVertices ignoring deform timelines. Closes #1990. 2021-11-15 16:12:11 +01:00
Harald Csaszar
fe635d9a79 [unity] Minor cosmetic: updated GameObject name in example scene according to changed example script name in commit 1517ffcd. 2021-11-11 17:33:03 +01:00
Harald Csaszar
a67fd18293 [unity] Fixed NaN issue when SkeletonGraphic.MatchRectTransform() is called after manual Initialize() without following Update(0). 2021-11-11 15:09:22 +01:00
Harald Csaszar
a182cdb169 [unity] Fixed MeshGenerator not updating triangle indices when inactive bone implicitly clears attachment. Closes #1984. 2021-11-10 19:32:52 +01:00
Harald Csaszar
42142a4561 [unity] Minor importer improvement: Fixed required atlas region list containing duplicates. 2021-11-10 16:29:28 +01:00
Harald Csaszar
1517ffcde4 [unity] Renamed example script DataAssetsFromExportsExample to RuntimeLoadFromExportsExample and performed minor cleanup. 2021-11-10 11:03:23 +01:00
Harald Csaszar
618e20dc9a [Unity] Fixed Initial Flip not updating mesh in Editor mode. Closes #1953. 2021-11-09 20:06:16 +01:00
Harald Csaszar
ead89c9c35 [unity] Fixed a Timeline bug (not pausing) when Don't end at clip end is enabled and PlayableDirector.pause is called. Closes #1980. 2021-11-09 17:39:13 +01:00
Harald Csaszar
d3a2a65513
Merge pull request #1981 from vhristov/fix_1973
[unity] Fix skleton mesh "Identifier uniqueness violation" warning
2021-11-08 18:19:50 +01:00
Harald Csaszar
2c535b65c7 [unity] Fixed SkeletonGraphic RectTransform bounds not being applied at submeshes in match call. Closes #1983. 2021-11-08 17:20:37 +01:00
Vladislav Hristov
9c106ca5f5 Fix skleton mesh "Identifier uniqueness violation" warning
To remove the warning a new unique name is created for each mesh, where
an index is added after the renderer name.

Closes #1973
2021-11-07 14:56:54 +02:00
Mario Zechner
77575a66d1 [ts] Updated to version 4.0.16. 2021-11-04 17:26:57 +01:00
Mario Zechner
d9bc3b010e [ts] Process status code 0 properly, closes #1969 2021-11-04 17:24:37 +01:00
Mario Zechner
f1a72be01b [lua] Fix typo in AnimationState, closes #1978 2021-11-04 17:21:51 +01:00
Harald Csaszar
c94cad7403 [unity] Minor: formatting fixes. 2021-11-03 20:03:49 +01:00
Harald Csaszar
e11dea1497 [unity] Minor refactoring: renamed a preprocessor constant. 2021-11-03 19:57:14 +01:00
Harald Csaszar
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +01:00
Cesar Guirao
c92bca135f
Fix AABB calculation (#1971) 2021-11-02 22:23:11 +01:00
Harald Csaszar
dfa52de90d [unity] Fixed URP shader compile error at Unity 2021.2 (with URP 12.0 and newer). Closes #1912. Added commented-out include references to spine-core include files using package name, to be used when spine-unity is used via UPM package. 2021-10-29 16:16:12 +02:00
Harald Csaszar
5052b727de [unity] Removed unnecessary URP shader variants that lead to very high compile time. Closes #1974. 2021-10-29 13:20:45 +02:00
Harald Csaszar
4b70b1489c [unity] Fixed IAnimationStateComponent missing (destroyed) component exception due to interface null check instead of using overloaded UnityEngine.Object.operator==. Closes #1972.
IAnimationStateComponent throws exception due to interface null check #1972
2021-10-27 18:06:37 +02:00
badlogic
12cd0d7c0b [ts] Fix formatting. 2021-10-20 00:26:13 +02:00