27 lines
888 B
Plaintext
27 lines
888 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://badk308gvg1my"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/blocks/itemblock_invisible.gd" id="1_ap62p"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4kmo0"]
|
|
size = Vector2(16, 16)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_enc16"]
|
|
size = Vector2(10, 1)
|
|
|
|
[node name="itemblock_invisible" type="RigidBody2D"]
|
|
gravity_scale = 0.0
|
|
script = ExtResource("1_ap62p")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(8, -8)
|
|
shape = SubResource("RectangleShape2D_4kmo0")
|
|
|
|
[node name="activate" type="Area2D" parent="."]
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="activate"]
|
|
position = Vector2(8, 0.5)
|
|
shape = SubResource("RectangleShape2D_enc16")
|
|
|
|
[connection signal="body_entered" from="activate" to="." method="_on_activate_body_entered"]
|