6557 Commits

Author SHA1 Message Date
badlogic
294e8dc52b [maven-release-plugin] prepare release 4.0.02.1 4.0.02.1 2021-07-05 12:48:25 +02:00
Harald Csaszar
490ca753c9 Merge branch '3.8' into 4.0 2021-07-02 17:46:26 +02:00
Harald Csaszar
52ecc9349c [unity] Fixed Timeline and AnimationReferenceAsset in general not updating animations after skeleton asset updated. Closes #1915. 2021-07-02 17:44:30 +02:00
badlogic
0dcdfd411d [ue4] Prevent clang-format from reordering includes
.generated.h files must come last, but there's no way to specify this to clang-format.
2021-07-01 12:13:15 +02:00
badlogic
509f3a9f60 Make sure spotless does not format cocos2dx checkouts 2021-07-01 12:02:53 +02:00
badlogic
fa2dd77305 [ue4] Revert header order imposed by spotless. 2021-07-01 11:46:54 +02:00
badlogic
7cbb924d9d [cocos2dx] Minor fix-ups. 2021-07-01 11:27:56 +02:00
badlogic
e842e67d19 [c][cpp] CMake clean-up, update to C++11. 2021-07-01 11:04:12 +02:00
badlogic
a1959ee1a0 Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0
# Conflicts:
#	spine-c/spine-c/src/spine/PathConstraint.c
2021-07-01 10:40:55 +02:00
badlogic
87658c7d31 [c][cpp] Spotless formatter 2021-07-01 10:40:18 +02:00
Nathan Sweet
97bc10ba28 [ts] Fixed popup not being hidden, clean up. 2021-06-30 20:18:25 -04:00
Nathan Sweet
87b9821e00 [as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes. 2021-06-30 14:11:26 -04:00
Nathan Sweet
109356268f Eclipse formatter update. 2021-06-30 10:36:35 -04:00
badlogic
c2b1ecb195 [libgdx] Fix line endings, CRLF -> LF 2021-06-30 16:25:32 +02:00
badlogic
2fdd6e5c11 Upgrade Gradle to 7.0, fix libGDX build, add Java formatter 2021-06-30 16:15:20 +02:00
badlogic
33ffd065d1 Merge branch '4.0-beta' into 4.0 2021-06-30 11:21:45 +02:00
badlogic
9182857bb4 [starling] Update example to use Starling 2.6 2021-06-30 11:01:57 +02:00
Nathan Sweet
70e86e23a1 [as3] Fixed compiler warning. 2021-06-29 13:50:06 -04:00
Nathan Sweet
b8bf2a9bbb [ts] Added AssetManager#require which throws an error for an asset that isn't loaded. 2021-06-28 01:53:26 -04:00
Nathan Sweet
1fbe75cd71 [libgdx] Clear timelines using known size. 2021-06-27 14:59:26 -04:00
Harald Csaszar
ea991a6324 Merge branch '3.8' into 4.0 2021-06-23 20:33:39 +02:00
Harald Csaszar
b3f76c4e54 [unity] Fixed SkeletonGraphic Update When Invisible not working. Now it uses onCullStateChanged, which can be used with RectMask2D. Closes #1910. 2021-06-23 20:30:33 +02:00
Nathan Sweet
0b18b58ba1 [ts] Player updates: pass delta to callbacks, adding config.loading, exposed more fields, use void 0 (shorter), remember touchdown offset for control bones, avoid new object each frame, clean up. 2021-06-23 11:43:29 -04:00
Nathan Sweet
7708e9a5a3 [ts] Player, create DOM first so any errors can be shown. 2021-06-23 00:45:15 -04:00
Nathan Sweet
b3c405e9ca [ts] Fixed multi touch runtime error.
Repro: touch down 1, touch down 2 (using second finger), touch up 1, touch up 2 -> error.
2021-06-22 23:08:09 -04:00
Nathan Sweet
f77a51d33a [ts] Fixed input handling for player control bones and demos. 2021-06-22 22:52:00 -04:00
Nathan Sweet
286552b8fa [ts] Player, simplified config.mipmaps. 2021-06-22 21:38:57 -04:00
Nathan Sweet
66951cb1d8 [ts] Player, mipmaps and anisotropic if available, otherwise use linear. 2021-06-22 18:09:37 -04:00
Mario Zechner
e6e2c95b2c [ts][webgl] Use devicePixelRatio for hdpi screens 2021-06-22 23:50:04 +02:00
Nathan Sweet
6c689eb5f8 [ts] Fixed example HTML files. 2021-06-22 16:54:10 -04:00
Nathan Sweet
61b71e1d9a [ts] Player example fixes, clean up.
* Use minified JS and CSS absolute URLs.
* Renamed index.html so the other html file can be reached more easily.
* generator.html doesn't seem to work?
2021-06-22 15:43:50 -04:00
Nathan Sweet
4062ccb1a9 [ts] TextureAtlas and AssetManager updates.
* AssetManager's textureLoader returns Texture.
* AssetManager#loadTexture success gives a Texture.
* TextureAtlas no longer has a textureLoader, it creates all the pages without a texture set.
* TextureAtlasRegion no longer has a texture, use region.page.texture instead.
* AssetManager#loadTextureAtlas no longer parses the atlas text twice. It creates the atlas, then loads and sets all the textures.
2021-06-22 15:33:01 -04:00
badlogic
c1e18a2237 Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0 2021-06-21 17:48:39 +02:00
Harald Csaszar
63d8d17620 [unity] Reordered changelog 4.0 spine-unity section entries, now thematically ordered (as on the forum post) instead of chronologically. 2021-06-21 17:46:05 +02:00
badlogic
30702a3bff [c][cpp] Fix AnimationState::clearNext() 2021-06-21 17:45:34 +02:00
Harald Csaszar
815c0425fc [unity] Updated changelog 4.0 unity section. 2021-06-21 17:37:29 +02:00
badlogic
bd10d050d2 [runtimes] Updated CHANGELOG for 4.0 release. 2021-06-21 17:29:31 +02:00
Nathan Sweet
3b7d419452 [ts] Player, added config.frame. 2021-06-20 18:53:56 -04:00
Nathan Sweet
4e1fe97fb3 [ts] Player, added config.update and config.draw. 2021-06-20 18:51:22 -04:00
Nathan Sweet
d4271ccae9 Fixed AnimationState#clearNext. 2021-06-20 15:53:19 -04:00
Nathan Sweet
5ac9ed372e [ts] Player, expose some fields. 2021-06-20 15:52:43 -04:00
Nathan Sweet
3d2891a224 [ts] Player, set bg color on player div, not parent. 2021-06-20 15:13:41 -04:00
Nathan Sweet
b044bdbf47 [ts] Player updates.
* If no config animation, start paused and set one when first clicked (showControls only).
* Updated player editor to 4.0.
* Don't name example index.html to make it easier to reach other files in same dir.
* Adjust CSS.
2021-06-20 14:46:48 -04:00
Nathan Sweet
4742c0d987 [ts] Fixed compilation error. 2021-06-20 13:52:30 -04:00
Nathan Sweet
cae8b6036e [ts] Player, if config.success set an animation but not a viewport, set a viewport. 2021-06-20 13:44:04 -04:00
Nathan Sweet
99f8cba35f [ts] Player updates.
* Updated config doc comments.
* Check undefined without typeof. Discussion: https://stackoverflow.com/a/22053469/187883
* Use transparent bg color by default if alpha is true.
* Set bg color on parent to avoid flash.
* render->create (so it doesn't seem like it's about drawing).
* Sorted members.
* Use addEventListener, else only the last player event handler is used.
* Set the initial animation when loaded, not whenever track 0 is empty.
* If an animation is not specified, play an empty animation.
* If an animation is set in success(), don't set any animation.
* Don't clearTracks in setAnimation, don't use AnimationState in calculateAnimationViewport -- those prevent mixing.
* setAnimation returns the TrackEntry.
* Added addAnimation and setViewport.
* Expose play() and pause().
* Keep control bones inside the canvas.
* LoadingScreen scales down.
* Set minimal CSS so no external CSS is needed when !showControls.
* Use screen instead of world coordinates for control bone hit detection, so it works at any size.
* Choose closest control bone instead of last.
2021-06-20 13:24:53 -04:00
Nathan Sweet
e03fa1d5d3 [ts] Default parameters for AnimationState. 2021-06-20 09:01:21 -04:00
Nathan Sweet
7800918ea4 [ts] Fixed player "null" text appearing in DOM. 2021-06-20 01:23:22 -04:00
Nathan Sweet
78a730a6d7 [ts] Improvements for player, webgl.
* Rendering, added support for separate color/alpha src blend funcs.
* LoadingScreen, set camera zoom to fade out and black flash, use PMA to fix ringing artifacts when scaled, fade in to help hide dropped frames as page loads, use separate color/alpha src blend funcs to properly blend quad when loading screen fades out, oxipng PNGs.
* Moved some private constants out of their class to avoid class name prefix.
* Player, clean up full pass OCD town, showError throws when possible so stacktrace isn't lost, added showLoading to config, don't create UI when !showControls, removed findWithId (id is unique for entire document), use built-in for findWithClass/contains, var->let, don't clear screen twice during loading, other minor stuff.
2021-06-20 01:20:31 -04:00
Nathan Sweet
2911f9da5e [ts] Demo asset update, demos clean up. 2021-06-20 01:07:29 -04:00