Mario Zechner
5103a3da38
Merge branch '4.1' into 4.2-beta
2023-04-21 08:52:38 +02:00
Mario Zechner
ac424c9164
Formatting.
2023-04-21 08:52:24 +02:00
Mario Zechner
db6f624bc6
Merge branch '4.1' into 4.2-beta
...
# Conflicts:
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/publish.sh
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-phaser/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2023-04-17 16:29:45 +02:00
Mario Zechner
98f060b435
[ts] Refactor how textures are stored in texture regions, fix renderers, add custom attachment WebGL example.
2023-04-17 16:12:26 +02:00
Harald Csaszar
954ab69bce
Merge branch '4.1' into 4.2-beta
2023-04-06 13:30:38 +02:00
Mario Zechner
9382265484
[ts] Port of commit e04e7b5. Adjusted fix for IK constraint NaN when parent has zero scale.
2023-04-06 13:21:44 +02:00
Mario Zechner
db90982453
[ts] Formatting.
2023-04-05 15:10:31 +02:00
Mario Zechner
09c14b7b31
[ts] Fixed IK constraint NaN when a parent bone has zero scale.
2023-04-05 15:09:29 +02:00
Mario Zechner
22603c3f07
[ts] Fixed IK constraint NaN when a parent bone has zero scale.
2023-04-05 15:05:33 +02:00
Jimb Esser
905f4c6ece
[ts] Use existing, explicit atlas data instead of relying on an image's current width/height ( #2085 )
...
This fixes a bug where UVs would sometimes be wrong if an image's size is not the same as when originally exported. This could happen in the wild to _any_ project, due to mobile ISPs/browsers that proxy requests and resize images before sending them to clients.
Fixing this also allows `spine-core` to work with engines that:
* use embedded, low-res textures while waiting for high res textures to load
* automatically provide lower resolution textures to low-end devices or low-resolution displays
2023-01-30 12:51:47 +01:00
Mario Zechner
1891d00025
Merge branch '4.1' into 4.2-beta
2023-01-16 14:00:14 +01:00
Mario Zechner
83945e17dc
Apply formatter.
2023-01-16 14:00:01 +01:00
Mario Zechner
68a9096049
Merge branch '4.1' into 4.2-beta
...
# Conflicts:
# .gitignore
# spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
# spine-ts/package-lock.json
# spine-ts/package.json
2022-12-27 11:48:02 +01:00
Mario Zechner
15bbf5701e
[ts] Added Skeleton.yDown
2022-12-27 11:43:02 +01:00
Harald Csaszar
603c024791
Merge branch '4.1' into 4.2-beta
2022-11-30 18:41:39 +01:00
Luke Ingram
38ae6f886c
[c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58
2022-11-30 13:34:20 -04:00
Mario Zechner
33b31aeadd
[ts] Port of commit 3ea4f66. AnimationState, fixed rotation mix when direction changes. See #2158 .
2022-10-06 16:23:47 +02:00
Mario Zechner
c590944a51
Merge branch '4.1' into 4.2-beta
...
# Conflicts:
# spine-cocos2dx/README.md
# spine-godot/spine_godot/SpineSprite.cpp
# spine-sdl/src/spine-sdl-cpp.cpp
# spine-sfml/cpp/src/spine/spine-sfml.cpp
2022-09-15 08:39:43 +02:00
Mario Zechner
ba5f89f361
[ts] Correct order of UV assignements in RegionAttachment.updateRegion()
2022-09-15 07:46:33 +02:00
Mario Zechner
dc978ed05d
[ts] Fix port of 899f7d7
2022-09-15 07:45:30 +02:00
Luke Ingram
1ef33f1d1a
[ts] Port of d6adbe9.
...
See d6adbe96d8
2022-09-14 17:37:58 -04:00
Mario Zechner
7f9d4c0308
[ts] Port of #2150
2022-09-12 12:49:55 +02:00
Mario Zechner
386ad25ebc
[ts] Port of 4efd63f89cb995cbe4f30358d268a9d0eaf0c9be, fix VertexAttachment.timlineAttachment typo.
2022-06-22 14:08:28 +02:00
Luke Ingram
838b9dd4c3
[ts] Port of 81baef0b5bb181376d15b0208697db8dabce095e
2022-06-20 23:25:15 -05:00
Mario Zechner
5a9982b2fb
[ts] Removed VertexEffect, see #2076
2022-05-30 14:55:29 +02:00
Mario Zechner
e4372e5329
[ts] Enable TS strict mode. Closes #2058
2022-04-07 21:24:48 +02:00
Mario Zechner
d43ff5f899
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-csharp/src/Attachments/IHasTextureRegion.cs.meta
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2022-04-07 06:07:02 +02:00
Terrasse
01a36f81c3
[ts] Fixed bug of reading Unicode from binary data ( #2051 )
2022-04-07 05:50:42 +02:00
Mario Zechner
3b1f7617df
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2022-03-14 11:26:35 +01:00
Mario Zechner
58f0bc0d0c
Added promise based AssetManager.loadAll(), Skeleton.getBoundsRect() helper method.
2022-03-14 11:23:53 +01:00
Mario Zechner
28dc5dd2e8
[ts] Fix bugs in ported code for #2027
2022-02-02 12:04:26 +01:00
Luke Ingram
7cb3d99114
[ts] Port of ShortestRotation, see #2027
2022-01-28 11:01:17 -04:00
Mario Zechner
504f52a5a7
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-as3/spine-as3/src/spine/animation/ScaleTimeline.as
# spine-as3/spine-as3/src/spine/animation/ScaleXTimeline.as
# spine-as3/spine-as3/src/spine/animation/ScaleYTimeline.as
# spine-lua/spine-lua/Animation.lua
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2022-01-27 18:42:14 +01:00
Luke Ingram
25bea5e7b8
[ts] Port of additive scale mixing fix, see #2028
2022-01-26 14:22:21 -04:00
Mario Zechner
1cbe69d733
Fix formatting.
2022-01-23 22:27:23 +01:00
Mario Zechner
d7bb172c95
Fix fomatting script, apply formatting.
2022-01-20 19:49:10 +01:00
Mario Zechner
9ee399bd1c
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-ts/package-lock.json
2022-01-19 15:33:05 +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
ced0771c37
[ts] Merge fix for #2003 , fix ping pong reverse in Sequencetimeline
...
# Conflicts:
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-core/src/Slot.ts
# spine-ts/spine-core/src/attachments/MeshAttachment.ts
# spine-ts/spine-core/src/attachments/RegionAttachment.ts
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2021-12-15 15:09:03 +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
Mario Zechner
0e82c97cb5
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-lua/spine-lua/AnimationState.lua
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2021-11-04 17:28:21 +01:00
Mario Zechner
d9bc3b010e
[ts] Process status code 0 properly, closes #1969
2021-11-04 17:24:37 +01:00
Mario Zechner
2af8636407
[ts] Fix copy constructor of region and mesh attachments
2021-11-04 17:16:33 +01:00
Mario Zechner
ab4cdcacbf
[ts] Fix incorrect imports, update version to 4.1.1
2021-10-14 16:09:57 +02:00
Mario Zechner
49f039fb6a
[ts] Fixed JSON parsing of SequenceTimeline
2021-10-13 23:53:13 +02:00
Mario Zechner
b48e2c33b8
[ts] More sequence fixes, see #1956
...
Also fixed runtime exports script, must copy all dragon atlas pages.
2021-10-13 21:42:11 +02:00
badlogic
a0f1ed1b9b
[runtimes] Fixed and updated example exports with 4.1.04-beta
...
- Fixed SkeletonBinary.ts
- Updated dragon example to use sequences
2021-10-13 17:52:34 +02:00
Mario Zechner
81927051ff
[ts] Port of sequence attachments, see #1956
...
SkeletonJson parsing of sequence timelines incomplete. Untested.
2021-10-13 01:14:58 +02:00
Mario Zechner
7876897c59
Merge branch '4.0' into 4.1-beta
2021-10-11 16:17:19 +02:00
Mario Zechner
d296fa3efa
[ts] Closes #1966 , PolygonBatcher does not flush if the blend mode has not changed.
2021-10-11 16:16:55 +02:00