5512 Commits

Author SHA1 Message Date
badlogic
9ab8c3817b [cocos2dx] Merged SkeletonRenderer code for v3 and v4. Only the batchers remain in separate source files. 2019-12-10 15:00:32 +01:00
badlogic
d8f94bc18a [cocos2dx] Unified SkeletonRenderer.h 2019-12-10 13:38:20 +01:00
badlogic
d950c32ba2 [cocos2dx] Unify SkeletonRenderer interface. 2019-12-10 13:38:01 +01:00
badlogic
bf14723dcc [cocos2dx] Initial cocos2dx v4 support. Need to fix formatting, ensure v3 and v4 work on all supported platforms, unify headers where possible and minimize code duplication. 2019-12-10 13:30:06 +01:00
Harald Csaszar
68bf9d60df [unity] Fixed error when querying outline properties at LWRP shaders. Closes #1565. 2019-12-09 15:54:56 +01:00
badlogic
154849484c [ts] Updated threejs backend to version r111. Closes #1560. 2019-12-05 14:07:58 +01:00
Harald Csaszar
a239aee367 [unity] Import: Fixed Skeleton not being updated when atlas page texture count changed. Closes #1562. 2019-12-05 12:57:29 +01:00
Harald Csaszar
dbdaafc6a0 [unity] Fixed Timeline SpineAnimationStateTrack not showing Track Index parameter in Inspector at older Unity versions. Closes #1558. 2019-12-02 19:10:22 +01:00
Harald Csaszar
1802f7319a [csharp] Fixed an error in Skin where Skin.setAttachment() did not work as expected on 3.8 branch (See #1485). 2019-12-02 18:01:33 +01:00
Harald Csaszar
237b33d82f [unity] Fixed Skin extension methods not copying skin bones and constraints. Closes #1556. 2019-11-28 14:39:39 +01:00
badlogic
a2bae9dea4 [ts] Generator background image UI and application. 2019-11-28 10:35:16 +01:00
badlogic
c37916a731 [ts][player] Only accept background image bounds if fully specified. 2019-11-27 15:15:56 +01:00
Harald Csaszar
847ec12e3d [unity] Added Outline Shaders example scene to demonstrate switching to outline materials. See #1531. 2019-11-27 13:47:51 +01:00
Harald Csaszar
c771fabf5d [xna] Fixed another (not so apparent) bug in multi pass rending (item texture reference was cleared to null and added to free pool too early). See #1554. 2019-11-27 12:20:05 +01:00
Harald Csaszar
cb59d8d78b [csharp] Fixed RegionAttachment copy method, did not copy color. Closes #1555. 2019-11-27 10:36:35 +01:00
badlogic
bdad0c7170 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-11-26 18:12:19 +01:00
badlogic
fca2f0c7af [ts] web player generator. 2019-11-26 18:12:13 +01:00
Harald Csaszar
0b3db3142a [xna] Fixed multi pass rending (was not working, did nothing after first pass). Closes #1554. 2019-11-26 13:36:03 +01:00
Harald Csaszar
873ed56e4b [Examples] Removed previously merged and now redundant spine-unity/hero example asset. 2019-11-26 13:36:03 +01:00
Harald Csaszar
68ae7bd441 [unity] Added SkeletonRenderer.EditorSkipSkinSync property for setting custom skins in editor scripts. Only affects inspector synchronisation of skin with initialSkinName, not startup initialization. Closes #1469. 2019-11-25 19:19:52 +01:00
badlogic
98f18b4d53 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-11-21 16:36:13 +01:00
badlogic
11d32da100 [ue4] Subclass FSlateBrush directly and do not clean up resources manually. The FSlateMaterialBrush implementation in UE 4.22 and below wrongfully frees resources it should not, leading to flickering artifacts on mobile. This was fixed in UE 4.23.1+. The fix in this commits emulates the engine source fix for lower UE4 versions. Closes #1458. 2019-11-21 16:35:55 +01:00
Harald Csaszar
7da21aff7a [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:03:40 +01:00
Harald Csaszar
572560d313 [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:33:35 +01:00
Harald Csaszar
915273d458 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:50:31 +01:00
Harald Csaszar
fa712fc325 [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:10:35 +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
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
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
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
Mario Zechner
2255cf2450
Initial workflow 2019-11-15 13:09:58 +01:00
badlogic
5eb76df99f [ts] Fixed curve parsing in SkeletonJson. Closes #1537. 2019-11-15 12:57:36 +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
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
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
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
4e96ebcda2 [ts][webgl] Added . When it will disable the corresponding WebGL pixel store behaviour. 2019-10-31 17:10:22 +01:00
Harald Csaszar
f3bcd6e28f [unity] Fixed duplicated SkeletonUtilityBones not following properly. Closes #1536. 2019-10-31 12:18:22 +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
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
badlogic
d2da9e795c Updated CHANGELOG. 2019-10-29 17:41:46 +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
badlogic
5c71955e73 [as3][starling] Removed FDT project files and .swc files in old locations. 2019-10-29 17:14:48 +01:00
badlogic
015de8ed4c [cocos2d-objc] Added IK example. Also added SkeletonAnimation preUpdateWorldTransformListener and postUpdateWorldTransformsListener which allow modifying a skeleton pre- and post-calculation of the world transformations. See #1532. 2019-10-28 15:34:53 +01:00