Files
mortal-maze-the-game/world/props/scenery_prop.tscn
T

31 lines
920 B
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://world/props/scenery_prop.gd" id="script"]
[sub_resource type="RectangleShape2D" id="shape"]
resource_local_to_scene = true
size = Vector2(48, 56)
[node name="SceneryProp" type="Node2D"]
texture_filter = 1
z_as_relative = false
z_index = -2
script = ExtResource("script")
[node name="Visual" type="Sprite2D" parent="."]
position = Vector2(0, -32)
[node name="Body" type="StaticBody2D" parent="."]
position = Vector2(0, -28)
collision_layer = 0
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body"]
shape = SubResource("shape")
disabled = true
[node name="Hurtbox" type="Area2D" parent="."]
position = Vector2(0, -28)
collision_layer = 0
collision_mask = 0
monitoring = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("shape")
disabled = true