player - light up vases
This commit is contained in:
parent
c69cd21fe6
commit
d73393a6d2
4 changed files with 12 additions and 11 deletions
Binary file not shown.
Before Width: | Height: | Size: 567 B After Width: | Height: | Size: 10 KiB |
|
@ -702,7 +702,7 @@ texture = ExtResource( 7 )
|
||||||
texture_scale = 3.07
|
texture_scale = 3.07
|
||||||
color = Color( 0.854902, 0.952941, 0.682353, 1 )
|
color = Color( 0.854902, 0.952941, 0.682353, 1 )
|
||||||
range_height = -2048.0
|
range_height = -2048.0
|
||||||
range_item_cull_mask = 7
|
range_item_cull_mask = 39
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
shadow_item_cull_mask = 15
|
shadow_item_cull_mask = 15
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
[sub_resource type="RectangleShape2D" id=1]
|
[sub_resource type="RectangleShape2D" id=1]
|
||||||
extents = Vector2( 5, 5 )
|
extents = Vector2( 5, 5 )
|
||||||
|
|
||||||
[sub_resource type="Animation" id=3]
|
[sub_resource type="Animation" id=2]
|
||||||
resource_name = "break"
|
resource_name = "break"
|
||||||
length = 0.3
|
length = 0.3
|
||||||
tracks/0/type = "value"
|
tracks/0/type = "value"
|
||||||
|
@ -34,8 +34,7 @@ tracks/1/keys = {
|
||||||
"values": [ true ]
|
"values": [ true ]
|
||||||
}
|
}
|
||||||
|
|
||||||
[sub_resource type="Animation" id=2]
|
[sub_resource type="Animation" id=3]
|
||||||
resource_name = "idle"
|
|
||||||
length = 0.1
|
length = 0.1
|
||||||
tracks/0/type = "value"
|
tracks/0/type = "value"
|
||||||
tracks/0/path = NodePath("Sprite:frame")
|
tracks/0/path = NodePath("Sprite:frame")
|
||||||
|
@ -65,10 +64,11 @@ tracks/1/keys = {
|
||||||
[node name="BrakableVase" type="Node2D" groups=[
|
[node name="BrakableVase" type="Node2D" groups=[
|
||||||
"Breakable",
|
"Breakable",
|
||||||
]]
|
]]
|
||||||
|
light_mask = 32
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."]
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
light_mask = 0
|
light_mask = 32
|
||||||
position = Vector2( 0, -8 )
|
position = Vector2( 0, -8 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
hframes = 6
|
hframes = 6
|
||||||
|
@ -83,5 +83,5 @@ shape = SubResource( 1 )
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
autoplay = "idle"
|
autoplay = "idle"
|
||||||
playback_speed = 0.8
|
playback_speed = 0.8
|
||||||
anims/break = SubResource( 3 )
|
anims/break = SubResource( 2 )
|
||||||
anims/idle = SubResource( 2 )
|
anims/idle = SubResource( 3 )
|
||||||
|
|
|
@ -82,16 +82,17 @@ tracks/0/keys = {
|
||||||
light_mask = 8
|
light_mask = 8
|
||||||
position = Vector2( 0, -12 )
|
position = Vector2( 0, -12 )
|
||||||
frames = SubResource( 13 )
|
frames = SubResource( 13 )
|
||||||
|
frame = 11
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="Light2D" type="Light2D" parent="AnimatedSprite"]
|
[node name="Light2D" type="Light2D" parent="AnimatedSprite"]
|
||||||
position = Vector2( 0, -5 )
|
position = Vector2( 0, -5 )
|
||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
texture_scale = 5.285
|
texture_scale = 5.285
|
||||||
color = Color( 0.945098, 0.419608, 0.160784, 1 )
|
color = Color( 0.933333, 0.407843, 0.152941, 1 )
|
||||||
range_item_cull_mask = 1037
|
energy = 1.5
|
||||||
shadow_enabled = true
|
range_item_cull_mask = 1087
|
||||||
shadow_item_cull_mask = 1038
|
shadow_item_cull_mask = 1032
|
||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
autoplay = "halo"
|
autoplay = "halo"
|
||||||
|
|
Loading…
Reference in a new issue