[Minimal] Animation fix - Grass node

This commit is contained in:
Alan Alexander Cerna 2021-11-04 14:12:08 +02:00
parent f4188c04b4
commit b03cb11620
57 changed files with 1004 additions and 14 deletions

View File

@ -1,16 +1,44 @@
extends Area2D
var reacted = false
var reactionComplete = true
var state = false
var activeAnimation = "idle"
var playingLoop = true
func _process(delta):
if reacted == true:
playingLoop = false
reactionComplete = false
if state == false:
activeAnimation = "transition_down"
reacted = false
state = true
else:
activeAnimation = "transition_up"
reacted = false
state = false
else:
if reactionComplete == true:
if state == false:
activeAnimation = "idle"
else:
activeAnimation = "idle_down"
print(reactionComplete)
func _on_Area2D_body_entered(body):
print("Entered")
if body.is_in_group("Player"):
$trinity_site_level_grass_type_2_animated.play("react")
reacted = true
pass
func _on_Area2D_body_exited(body):
if body.is_in_group("Player") and reacted == true:
$trinity_site_level_grass_type_2_animated.play("idle")
reacted = false
if body.is_in_group("Player"):
reacted = true
pass
func _on_trinity_site_level_grass_type_2_animated_animation_finished():
if reactionComplete == false:
reactionComplete = true
$trinity_site_level_grass_type_2_animated.play(activeAnimation)
pass

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 9.png-f143775af7f41e51163398ab3a39c54b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 9.png"
dest_files=[ "res://.import/grass_type-0_frame_an 9.png-f143775af7f41e51163398ab3a39c54b.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 1.png-ae75072339dee46f89aad9d24750ff0e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 1.png"
dest_files=[ "res://.import/grass_type-0_frame_an 1.png-ae75072339dee46f89aad9d24750ff0e.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 10.png-f11737325a0347480ef5c4e5fa653dea.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 10.png"
dest_files=[ "res://.import/grass_type-0_frame_an 10.png-f11737325a0347480ef5c4e5fa653dea.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 11.png-1d6afa519dbdf0e0278d774217d3d8c9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 11.png"
dest_files=[ "res://.import/grass_type-0_frame_an 11.png-1d6afa519dbdf0e0278d774217d3d8c9.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 12.png-7f5b5ba27d27dbd1e1c9581d7898285e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 12.png"
dest_files=[ "res://.import/grass_type-0_frame_an 12.png-7f5b5ba27d27dbd1e1c9581d7898285e.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 2.png-71ccce3b8074908ceef982bcab5f2b0d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 2.png"
dest_files=[ "res://.import/grass_type-0_frame_an 2.png-71ccce3b8074908ceef982bcab5f2b0d.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 3.png-c1755d6b86ab3eecc534f3de543e2974.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 3.png"
dest_files=[ "res://.import/grass_type-0_frame_an 3.png-c1755d6b86ab3eecc534f3de543e2974.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 4.png-2441b149f443f1d954d3857f7c9592d0.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 4.png"
dest_files=[ "res://.import/grass_type-0_frame_an 4.png-2441b149f443f1d954d3857f7c9592d0.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 5.png-d89139dcc7fb7b86f37c9de0bd8c21c3.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 5.png"
dest_files=[ "res://.import/grass_type-0_frame_an 5.png-d89139dcc7fb7b86f37c9de0bd8c21c3.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 6.png-7505edfe792d8fd4e05ac43986947084.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 6.png"
dest_files=[ "res://.import/grass_type-0_frame_an 6.png-7505edfe792d8fd4e05ac43986947084.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 7.png-38fb0d01ead2df4306cb4ea17f0595ca.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 7.png"
dest_files=[ "res://.import/grass_type-0_frame_an 7.png-38fb0d01ead2df4306cb4ea17f0595ca.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an 8.png-71f75f1a986f79c542f48697b55e18a4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 8.png"
dest_files=[ "res://.import/grass_type-0_frame_an 8.png-71f75f1a986f79c542f48697b55e18a4.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_an.png-74b9fc1ec4e8ec4cbb4f4d1243b8624e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an.png"
dest_files=[ "res://.import/grass_type-0_frame_an.png-74b9fc1ec4e8ec4cbb4f4d1243b8624e.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 1.png-571bcb48f8280cb638e61c696b630f6f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 1.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 1.png-571bcb48f8280cb638e61c696b630f6f.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 2.png-71bee58870fa24c9075cad484ef3eb65.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 2.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 2.png-71bee58870fa24c9075cad484ef3eb65.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 3.png-40a07afe787a30085dd78690a7b269ee.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 3.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 3.png-40a07afe787a30085dd78690a7b269ee.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 4.png-1fdd2cec1b3dc43e11d24cfbc06b08ed.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 4.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 4.png-1fdd2cec1b3dc43e11d24cfbc06b08ed.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 5.png-1e337e1810f4b341733a3ec2e718c1d8.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 5.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 5.png-1e337e1810f4b341733a3ec2e718c1d8.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr 6.png-0e70a0c758c8f957119d898f7df31d82.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 6.png"
dest_files=[ "res://.import/grass_type-0_frame_cr 6.png-0e70a0c758c8f957119d898f7df31d82.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_cr.png-0da795754ce00e47f81e1a98793c6145.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr.png"
dest_files=[ "res://.import/grass_type-0_frame_cr.png-0da795754ce00e47f81e1a98793c6145.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 1.png-2513281a412747cec7065d711b27a048.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 1.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 1.png-2513281a412747cec7065d711b27a048.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 2.png-12158480dd6bb79f32a9d2749b2857c3.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 2.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 2.png-12158480dd6bb79f32a9d2749b2857c3.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 3.png-decaecc520561f148809ac585aa138ec.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 3.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 3.png-decaecc520561f148809ac585aa138ec.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 4.png-f5d5f106eaa36857ca5d2f720ef96a92.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 4.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 4.png-f5d5f106eaa36857ca5d2f720ef96a92.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 5.png-c6002856d5fa28db60c9c5321314a900.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 5.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 5.png-c6002856d5fa28db60c9c5321314a900.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc 6.png-9113100e8d84b4a3a25fad42943fd4cb.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 6.png"
dest_files=[ "res://.import/grass_type-0_frame_rc 6.png-9113100e8d84b4a3a25fad42943fd4cb.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grass_type-0_frame_rc.png-fd63a7f205c4e4634f498ef70c59aa7b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc.png"
dest_files=[ "res://.import/grass_type-0_frame_rc.png-fd63a7f205c4e4634f498ef70c59aa7b.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
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=2]
[gd_scene load_steps=45 format=2]
[ext_resource path="res://source/assets/sprites/grass/idle/grass_type-0_frame_na 1.png" type="Texture" id=1]
[ext_resource path="res://source/assets/sprites/grass/idle/grass_type-0_frame_na 2.png" type="Texture" id=2]
@ -15,26 +15,69 @@
[ext_resource path="res://source/assets/sprites/grass/idle/grass_type-0_frame_na 12.png" type="Texture" id=13]
[ext_resource path="res://source/assets/sprites/grass/idle/grass_type-0_frame_na 9.png" type="Texture" id=14]
[ext_resource path="res://source/assets/sprites/grass/idle/grass_type-0_frame_na 8.png" type="Texture" id=15]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 3.png" type="Texture" id=16]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr.png" type="Texture" id=17]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 5.png" type="Texture" id=18]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 4.png" type="Texture" id=19]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 11.png" type="Texture" id=20]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 7.png" type="Texture" id=21]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 12.png" type="Texture" id=22]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 9.png" type="Texture" id=23]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 4.png" type="Texture" id=24]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 5.png" type="Texture" id=25]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 3.png" type="Texture" id=26]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 5.png" type="Texture" id=27]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 2.png" type="Texture" id=28]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 4.png" type="Texture" id=29]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 1.png" type="Texture" id=30]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 6.png" type="Texture" id=31]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 8.png" type="Texture" id=32]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an.png" type="Texture" id=33]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 1.png" type="Texture" id=34]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 1.png" type="Texture" id=35]
[ext_resource path="res://source/assets/sprites/grass/transition_down/grass_type-0_frame_cr 6.png" type="Texture" id=36]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 3.png" type="Texture" id=37]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc.png" type="Texture" id=38]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 10.png" type="Texture" id=39]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 6.png" type="Texture" id=40]
[ext_resource path="res://source/assets/sprites/grass/transition_up/grass_type-0_frame_rc 2.png" type="Texture" id=41]
[ext_resource path="res://source/assets/sprites/grass/down_idle/grass_type-0_frame_an 2.png" type="Texture" id=42]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ), ExtResource( 2 ), ExtResource( 11 ), ExtResource( 7 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 12 ), ExtResource( 15 ), ExtResource( 14 ), ExtResource( 4 ), ExtResource( 10 ), ExtResource( 13 ), ExtResource( 8 ) ],
"loop": true,
"name": "Idle",
"name": "idle",
"speed": 12.0
}, {
"frames": [ ExtResource( 30 ), ExtResource( 42 ), ExtResource( 16 ), ExtResource( 29 ), ExtResource( 25 ), ExtResource( 31 ), ExtResource( 21 ), ExtResource( 32 ), ExtResource( 39 ), ExtResource( 20 ), ExtResource( 22 ), ExtResource( 23 ), ExtResource( 33 ) ],
"loop": true,
"name": "idle_down",
"speed": 12.0
}, {
"frames": [ ExtResource( 38 ), ExtResource( 35 ), ExtResource( 41 ), ExtResource( 37 ), ExtResource( 19 ), ExtResource( 18 ), ExtResource( 40 ) ],
"loop": false,
"name": "transition_up",
"speed": 24.0
}, {
"frames": [ ExtResource( 17 ), ExtResource( 34 ), ExtResource( 28 ), ExtResource( 26 ), ExtResource( 24 ), ExtResource( 27 ), ExtResource( 36 ) ],
"loop": false,
"name": "transition_down",
"speed": 24.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 504.69, 326.369 )
extents = Vector2( 482.466, 285.1 )
[node name="Area2D" type="Area2D"]
script = ExtResource( 9 )
[node name="trinity_site_level_grass_type_2_animated" type="AnimatedSprite" parent="."]
position = Vector2( -3.36365, 0 )
scale = Vector2( 0.75, 0.75 )
frames = SubResource( 1 )
animation = "Idle"
frame = 11
animation = "idle"
frame = 4
playing = true
[node name="trinity_site_level_layout-level_design_z-index_0_grass_type-2" type="Sprite" parent="."]
@ -44,8 +87,9 @@ texture = ExtResource( 3 )
[node name="grass_node" type="Node2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -19.0488, 60.3212 )
position = Vector2( 3.17483, 3.17472 )
shape = SubResource( 2 )
[connection signal="body_entered" from="." to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_Area2D_body_exited"]
[connection signal="animation_finished" from="trinity_site_level_grass_type_2_animated" to="." method="_on_trinity_site_level_grass_type_2_animated_animation_finished"]

View File

@ -43,15 +43,15 @@ polygon = PoolVector2Array( 0, 8, 0, 1080, 1920, 1080, 1920, 0, 8, 0, 208, 216,
polygon = PoolVector2Array( 761.5, 423.238, 765.865, 418.476, 769.04, 403.395, 775.39, 388.315, 784.517, 372.838, 798.407, 359.742, 817.059, 347.043, 838.092, 338.312, 861.109, 334.74, 888.889, 337.518, 914.684, 348.63, 937.305, 363.313, 961.512, 365.298, 984.133, 360.139, 1003.98, 348.233, 1027.79, 337.518, 1058.34, 334.74, 1087.71, 340.693, 1115.89, 358.154, 1136.92, 381.965, 1147.64, 406.173, 1154.38, 422.841, 1170.26, 433.953, 1198.04, 442.287, 1215.5, 456.97, 1233.35, 478.4, 1243.67, 504.592, 1246.45, 530.784, 1242.48, 558.564, 1234.15, 578.803, 1219.47, 597.058, 1202.4, 611.742, 1179.78, 622.457, 1159.94, 628.013, 1149.22, 642.696, 1142.87, 666.11, 1130.57, 685.556, 1111.52, 701.827, 1093.27, 713.335, 1074.61, 718.891, 1049.22, 720.479, 1028.18, 716.51, 997.229, 704.208, 974.212, 691.906, 950.004, 689.921, 927.78, 695.874, 914.684, 707.383, 891.27, 717.304, 863.887, 721.272, 838.092, 716.907, 811.106, 706.986, 794.835, 694.683, 782.136, 679.603, 770.231, 653.014, 764.675, 636.743, 749.594, 623.647, 724.593, 616.901, 703.957, 601.424, 681.733, 574.438, 671.812, 545.071, 671.812, 516.895, 679.352, 487.528, 696.417, 461.732, 724.99, 441.89, 752.372, 429.587 )
[node name="grass_node3" parent="trinity_site_body" instance=ExtResource( 9 )]
position = Vector2( 392.931, 859.392 )
position = Vector2( 393.822, 869.192 )
scale = Vector2( 0.1, 0.1 )
[node name="grass_node2" parent="trinity_site_body" instance=ExtResource( 9 )]
position = Vector2( 764.017, 978.193 )
position = Vector2( 764.908, 986.211 )
scale = Vector2( 0.1, 0.1 )
[node name="grass_node" parent="trinity_site_body" instance=ExtResource( 9 )]
position = Vector2( 195.375, 780.637 )
position = Vector2( 190.03, 791.328 )
rotation = 0.760963
scale = Vector2( 0.1, 0.1 )