5655 Commits

Author SHA1 Message Date
Harald Csaszar
ffb4425e42 [unity] Fixed reappearing incorrect draw order issue under some circumstances when using LWRP and 3+ submeshes with alternating materials. Now disabling GPU instancing at affected materials when fixDrawOrder parameter is enabled. Closes #1486. 2019-11-21 16:07:48 +01:00
Harald Csaszar
10ac204b1f [unity] Updated Hero skeleton assets to new combined one with sword and morning star skins. Added example scene "SkeletonUtility Platformer HingeChain Physics" for demonstration of hinge chain physics. 2019-11-20 14:34:31 +01:00
Harald Csaszar
1aaf1446ac Example scenes: Updated Hero example character project. Merged spine-unity/Hero and ./Hero to a single new Hero project by Soren. The new project provides separate skins for morning star and sword. Updated other spine-unity example project versions. 2019-11-20 13:52:44 +01:00
Harald Csaszar
0006cd8b3c [unity] Fixed Spine/Skeleton Lit shader not being affected by point lights. Closes #1550. Also fixed outline 4 vs 8 neighbourhood parameter being ignored (due to #pragma multi_compile / #pragma shader_feature not being evaluated in included cginc files, too late in preprocessor stage). 2019-11-19 17:15:06 +01:00
badlogic
c90ca1b08c Merge branch '3.8' into 3.9-beta 2019-11-19 16:36:36 +01:00
badlogic
41cfd38049 [cpp][cocos2dx] Skin and attachment setters now handle empty strings correctly. Closes #1543. 2019-11-19 16:36:25 +01:00
badlogic
a69d7be17f Merge branch '3.8' into 3.9-beta 2019-11-19 15:32:11 +01:00
badlogic
707cd66c09 [cpp] Dispose renderer object in HasRendererObject::setRendererObject if dispose callback is set, and new value is not equal to old value. Closes #1549. 2019-11-19 15:31:59 +01:00
badlogic
93bc9dcf4e Merge branch '3.8' into 3.9-beta 2019-11-19 15:28:47 +01:00
badlogic
8362074681 [ue4] Null check for track entry at specific index. Closes #1548. 2019-11-19 15:28:32 +01:00
badlogic
9d2353bc46 [ts] workflow test. 2019-11-19 15:08:26 +01:00
badlogic
82433093b4 Added spine-libgdx and spine-ts Github Actions workflows. 2019-11-19 15:01:38 +01:00
Harald Csaszar
e07e4fb773 [unity] Added changelog entry of last commit (outline at shaders) to 3.9 section as well. 2019-11-18 19:19:09 +01:00
Harald Csaszar
66a4a5a60b [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:17:05 +01:00
Harald Csaszar
83e03e9c49 [unity] Additional outline shader variant for all shaders. Added outline section to shader inspector GUIs. Closes #1531. 2019-11-18 19:14:22 +01:00
NathanSweet
34ad58febe Use linear search to find keys.
Linear consistently outperforms binary using a wide sampling of real world data.
2019-11-16 18:08:33 +01:00
Mario Zechner
2255cf2450
Initial workflow 2019-11-15 13:09:58 +01:00
badlogic
62e17f7a65 Merge branch '3.9-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.9-beta 2019-11-15 12:57:58 +01:00
badlogic
f956dc4bfc Merge branch '3.8' into 3.9-beta 2019-11-15 12:57:48 +01:00
badlogic
5eb76df99f [ts] Fixed curve parsing in SkeletonJson. Closes #1537. 2019-11-15 12:57:36 +01:00
Harald Csaszar
507687e205 [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:31:16 +01:00
Harald Csaszar
a5bcb324ff [unity] Fixed mask interaction materials not working when changing skins dynamically. Closes #1546. 2019-11-11 19:30:52 +01:00
badlogic
16bd92f443 [ts][player] Added asset embedding examples for Spine Web Player. 2019-11-07 15:42:14 +01:00
NathanSweet
faf22ce3cc Removed clamping.
It wasn't used in all code paths anyway.
2019-11-05 21:51:48 +01:00
NathanSweet
4762954446 Fixed bug with interpolation of first Bezier segment. 2019-11-05 19:02:19 +01:00
NathanSweet
c23eb470e6 Minor cleanup, javadoc. 2019-11-05 18:40:08 +01:00
badlogic
99cf213152 Updated CHANGELOG.md. 2019-11-05 15:22:47 +01:00
badlogic
2d5145cb49 Merge branch '3.9-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.9-beta 2019-11-05 15:21:15 +01:00
badlogic
60c9d8c252 Merge branch '3.8' into 3.9-beta 2019-11-05 15:21:06 +01:00
badlogic
8e0a2e0c75 [ts][player] Added AssetManager.setRawDataURI(path, name). Allows to set a path and corresponding raw data URI which enables embedding of resources like skeletons, atlases, and so on directly in HTML/JS. Added SpinePlayerConfig.rawDataURIs, see the player example for a demonstration. Also closes #1541, closes #1539. 2019-11-05 15:20:50 +01:00
NathanSweet
d72add1370 Timeline cleanup.
* More code moved into getCurveValue/Percent.
* Avoid doing work where possible, eg few comparisons, don't access `frames` when the value is not needed.
* Binary searches return lower index rather than greater and return the frame index without multiplying by the number of entries.
2019-10-31 23:17:03 +01:00
badlogic
cf2df6b5f4 Updated CHANGELOG. 2019-10-31 19:28:59 +01:00
badlogic
1f8402c69e Merge branch '3.9-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.9-beta 2019-10-31 19:28:02 +01:00
badlogic
bc2816867e Merge branch '3.8' into 3.9-beta 2019-10-31 19:27:56 +01:00
badlogic
1a64423876 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-10-31 19:27:44 +01:00
badlogic
b81f77b993 [ts] Added AssetManager#setRawDataURI(path, data). Allows to set raw data URIs for a specific path, which in turn enables embedding assets into JavaScript/HTML. See #1535. 2019-10-31 19:27:33 +01:00
Harald Csaszar
bcc7cb2da0 [unity] Added changelog section added in last commit to 3.9 section as well (physics hinge chain support). 2019-10-31 18:02:53 +01:00
badlogic
f68f8c401b Merge branch '3.8' into 3.9-beta 2019-10-31 17:56:29 +01:00
badlogic
9ce953a194 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-10-31 17:56:08 +01:00
badlogic
b43fbdd4ce [ue4] Fix private include in SpineWidget.h. Closes #1538. 2019-10-31 17:55:57 +01:00
Harald Csaszar
179bb49f52 [unity] Real physics hinge chains for both 2D and 3D physics. Create hinge chain` now create proper setup for Unity physics, including flipping support. Closes #1515. 2019-10-31 17:54:38 +01:00
badlogic
114dd18c46 Merge branch '3.8' into 3.9-beta 2019-10-31 17:10:50 +01:00
badlogic
4e96ebcda2 [ts][webgl] Added . When it will disable the corresponding WebGL pixel store behaviour. 2019-10-31 17:10:22 +01:00
Harald Csaszar
739b4884d6 [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:19:32 +01:00
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +01:00
Harald Csaszar
72bf9b25ff [unity] Fixed path name backslashes in Path.GetDirectoryName(), replaced by slashes. Due to pathname differences, SetDefaultTextureSettings was not called on import on Unity 2019.1 and 2019.2. See #1514. Added asset context to some log statements to quickly jump to corresponding asset. 2019-10-30 17:32:08 +01:00
Harald Csaszar
226d551594 [unity] Fixed path name backslashes in Path.GetDirectoryName(), replaced by slashes. Due to pathname differences, SetDefaultTextureSettings was not called on import on Unity 2019.1 and 2019.2. See #1514. Added asset context to some log statements to quickly jump to corresponding asset. 2019-10-30 17:30:53 +01:00
badlogic
9b63c65522 Merge branch '3.8' into 3.9-beta 2019-10-30 15:49:14 +01:00
badlogic
479c236835 [cpp] Change traversal order of Json::~Json(). Old order would grow stack much more than needed, leading to crashes when freeing big Json trees. 2019-10-30 15:48:55 +01:00
NathanSweet
72f6943970 Timeline binary search for stride 2. 2019-10-29 21:54:46 +01:00