Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement spine extension #5927

Merged
merged 90 commits into from
Jan 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
de2adbc
first not tested commit with spine extension and atlas resource
Jul 21, 2023
dae9cbf
Merge branch 'master' into spine-extension
Jul 21, 2023
65f370f
implement base spine functionality, properties panel and object editor
Aug 11, 2023
db3a94a
Merge branch 'master' into spine-extension
Aug 11, 2023
93903c6
add isAnimationComplete condition and isUpdatable expression, conditi…
Aug 14, 2023
086e49f
fix extension configuration
Aug 14, 2023
476eea8
make spine creation synchrounous in SpineRuntimeObject
Aug 17, 2023
6ecd04e
use regex to get atlas image path
Aug 17, 2023
88cda55
fix spine extension issues
Aug 18, 2023
9ed5fbc
clean up code
Aug 22, 2023
2d20907
Merge branch 'master' into spine-extension
Aug 22, 2023
01c2afc
solve flow test errors
Aug 22, 2023
95f5474
apply format
Aug 22, 2023
e36a050
ignore pixi-spine during check-types
Aug 31, 2023
3477f58
format and style code, fix some test
Aug 31, 2023
2313fe9
remove console logs, solve typos
Aug 31, 2023
4ac52de
remove pixi deps
Sep 19, 2023
3628be7
Merge branch 'master' into spine-extension
Oct 11, 2023
a6895fc
update pixi-spine to 4.x.x
Nov 3, 2023
5b33a7f
Merge branch 'master' into spine-extension
Nov 14, 2023
bd60956
copy pixi-spine.js from node_modules on postinstall
Nov 14, 2023
25cdc63
cover errors on spine loading with incompatible files
Nov 14, 2023
a982540
remove pixi-spine import in global d.ts files, remove animations ui i…
Nov 15, 2023
b466d4d
run format
Nov 15, 2023
55fcf45
fix flow issues
Nov 15, 2023
56e940a
fix react warnings
Nov 15, 2023
fc941b0
run format and flow
Nov 15, 2023
71333b7
update spine configuration page
Nov 15, 2023
ee70d96
update typings and docs
Nov 15, 2023
75da727
remove dev console.logs
Nov 15, 2023
a7c5c1a
use PixiFiltersTools from gdjs namespace, use correct onDestroy method
Nov 16, 2023
e7c69e9
format runtime code, update install-spine script
Nov 20, 2023
fc28b76
Merge branch 'master' into spine-extension
Nov 20, 2023
63e9893
update spine extenstion
Nov 22, 2023
1520bbb
add badAnimation SpineObjectConfiguration
Nov 22, 2023
cccb1b9
solve typo
Nov 22, 2023
135100a
comment sourcemap back in runtime pixi.js
Nov 22, 2023
b69b83f
update install-spine script with shelljs and error logs
Nov 22, 2023
8f37308
create SpineResource, restore JsonManager, update spine extension
Nov 23, 2023
fee9627
Merge branch 'master' into spine-extension
Nov 24, 2023
34172bf
update install-spine script
f0nar Nov 27, 2023
4f65ee6
add try/catch block to install-spine
f0nar Nov 27, 2023
7c9fefd
Remove unused logger in SpineAtlasManager
malec-palec Nov 27, 2023
5be0906
Add missing `jsonmanger` dependency in tests
malec-palec Nov 27, 2023
506487d
lock pixi-spine version
Nov 28, 2023
d8f580d
remove pixi-simple-gesture dependency
Nov 28, 2023
550b358
apply format
Nov 28, 2023
8b948ae
use spine root bone centration
Nov 28, 2023
f42cd38
add mixing parameter for animations
Nov 28, 2023
ee780f8
use correct spine help page path
f0nar Dec 5, 2023
dc35f5d
fix formatting issue
f0nar Dec 5, 2023
0bd9044
Merge branch 'master' into spine-extension
Dec 8, 2023
4b9e780
use embedded resources mechanis for spine loading
Dec 11, 2023
b279cec
Merge branch 'spine-extension' of github.com-f0nar:f0nar/GDevelop int…
Dec 11, 2023
109fc71
recursively expose embedded resources
Dec 12, 2023
298268f
use scaled initial width/height
Dec 12, 2023
2f58de6
add explanation comment for TextureAtlas issue, format code
Dec 21, 2023
b34c136
use custom clamp instead of PixiFiltersTools
Dec 13, 2023
969daf3
lock pixi.js-legacy
Dec 13, 2023
ed6193f
fix typos
Dec 13, 2023
4f68cc8
stop imitate spine behavior if spine skeleton is not loaded
Dec 13, 2023
7bf1a81
update spine atlas manager
Dec 13, 2023
c5f78e4
stop spine skeleton loading at every render call
Dec 13, 2023
138804a
apply format
f0nar Dec 21, 2023
6a14a9e
Merge branch 'master' into spine-extension
f0nar Dec 21, 2023
2e38c51
Improve various error handling
4ian Dec 23, 2023
1d17ff5
Add a table showing embedded resources in the resource editor
4ian Dec 23, 2023
804918e
Improve some wordings
4ian Dec 23, 2023
6727d01
Properly factor property fields between Spine and 3D model editors
4ian Dec 23, 2023
9bbbef9
Refactor some logic out of React components and fix animations cleare…
4ian Dec 23, 2023
e08f8a1
clear and format code
f0nar Dec 23, 2023
7bf0848
Add display of the loading error of a Spine in the Spine editor
4ian Dec 24, 2023
a541138
Robustify against crashes when loading a Spine in the editor
4ian Dec 24, 2023
a974c74
stop destroy children textures on spine destroy
f0nar Dec 28, 2023
6e6b13d
implement reloading for spine resources
f0nar Jan 5, 2024
962a1ea
make up code
f0nar Jan 5, 2024
db85cde
make up code
f0nar Jan 5, 2024
7201ce7
Slight refactoring and support for multiple embedder resources reloading
4ian Jan 7, 2024
25241a9
Simplify a bit error reporting + indicate this is experimental feature
4ian Jan 7, 2024
aa03f27
format code
f0nar Jan 8, 2024
0a4e337
Add icon for Spine based object
4ian Jan 9, 2024
1f295f4
Update the description
4ian Jan 9, 2024
93bc488
implement geDrawableX/Y methods for spine runtime object to correctly…
f0nar Jan 10, 2024
234cbb0
Add capabilities for size, scale, flip, opacity and effects.
D8H Jan 15, 2024
a12bcab
Add capability for animation.
D8H Jan 15, 2024
f1d80a2
Add a warning about the license.
D8H Jan 16, 2024
5c6e285
Remove the opacity property.
D8H Jan 16, 2024
35cf1cf
Fix default size update on hot-reload.
D8H Jan 16, 2024
c6d96ad
Update the hit-boxes while the animation plays.
D8H Jan 16, 2024
15442f0
Remove deprecated actions.
D8H Jan 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a warning about the license.
  • Loading branch information
D8H committed Jan 16, 2024
commit f1d80a2af3f0a3788b10223bbc02cc8e99c961d4
6 changes: 6 additions & 0 deletions newIDE/app/src/ObjectEditor/Editors/SpineEditor.js
Original file line number Diff line number Diff line change
@@ -305,6 +305,12 @@ const SpineEditor = ({
<>
<ScrollView ref={scrollView}>
<ColumnStackLayout noMargin>
<AlertMessage kind="warning">
<Trans>
You need to own a license of Spine to publish a game with a Spine
object.
</Trans>
</AlertMessage>
<PropertyResourceSelector
objectConfiguration={objectConfiguration}
propertyName="spineResourceName"