Reworked tiles
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
[ext_resource type="Texture2D" uid="uid://sfjjweantpja" path="res://images/level/doors.png" id="3_ymlcn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cs8ri"]
|
||||
size = Vector2(9, 48)
|
||||
size = Vector2(6, 38)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u7b5a"]
|
||||
size = Vector2(48, 48)
|
||||
size = Vector2(36, 38)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5nqrw"]
|
||||
atlas = ExtResource("3_ymlcn")
|
||||
@@ -93,14 +93,12 @@ animations = [{
|
||||
script = ExtResource("1_vx1od")
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=584436734]
|
||||
position = Vector2(-8.5, 0)
|
||||
|
||||
[node name="StaticBodyCollision" type="CollisionShape2D" parent="StaticBody2D" unique_id=193176175]
|
||||
unique_name_in_owner = true
|
||||
shape = SubResource("RectangleShape2D_cs8ri")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=371280403]
|
||||
position = Vector2(-8.5, 0)
|
||||
collision_layer = 0
|
||||
collision_mask = 136
|
||||
|
||||
@@ -110,9 +108,10 @@ shape = SubResource("RectangleShape2D_u7b5a")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1718827818]
|
||||
material = ExtResource("1_xelsh")
|
||||
position = Vector2(8, -5)
|
||||
sprite_frames = SubResource("SpriteFrames_r8rhb")
|
||||
animation = &"closed"
|
||||
frame_progress = 0.61261725
|
||||
frame_progress = 0.23665914
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_on_area_entered"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="_on_area_exited"]
|
||||
|
||||
Reference in New Issue
Block a user