mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
[godot] More raggedy spineboy fixes.
This commit is contained in:
parent
6e9e75f7a5
commit
47f21e24b0
@ -0,0 +1,14 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="spine.atlas"
|
||||||
|
type="SpineAtlasResource"
|
||||||
|
path="res://.import/Raggedy Spineboy.atlas-07f7c6b30431397bcf472b18d48851e0.spatlas"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/raggedyspineboy/Raggedy Spineboy.atlas"
|
||||||
|
dest_files=[ "res://.import/Raggedy Spineboy.atlas-07f7c6b30431397bcf472b18d48851e0.spatlas" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
normal_map_prefix="n"
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/Raggedy Spineboy.png-8982b59aad5b612b7ed1a5da8b447d00.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/raggedyspineboy/Raggedy Spineboy.png"
|
||||||
|
dest_files=[ "res://.import/Raggedy Spineboy.png-8982b59aad5b612b7ed1a5da8b447d00.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
[gd_resource type="SpineSkeletonDataResource" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="spine.json"
|
||||||
|
type="SpineSkeletonFileResource"
|
||||||
|
path="res://.import/raggedy spineboy.json-a7000cc987b23355ac0b09613918efcc.spjson"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/raggedyspineboy/raggedy spineboy.json"
|
||||||
|
dest_files=[ "res://.import/raggedy spineboy.json-a7000cc987b23355ac0b09613918efcc.spjson" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ void SpineSprite::_bind_methods() {
|
|||||||
ADD_GROUP("Preview", "");
|
ADD_GROUP("Preview", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
SpineSprite::SpineSprite() : update_mode(SpineConstant::UpdateMode_Process), skeleton_clipper(nullptr) {
|
SpineSprite::SpineSprite() : update_mode(SpineConstant::UpdateMode_Process), skeleton_clipper(nullptr), preview_frame(false), preview_time(0), modified_bones(false) {
|
||||||
skeleton_clipper = new spine::SkeletonClipping();
|
skeleton_clipper = new spine::SkeletonClipping();
|
||||||
|
|
||||||
// One material per blend mode, shared across all sprites.
|
// One material per blend mode, shared across all sprites.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user