2024-08-18 11:02:15 +02:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://d17jpcgayfg6i"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/pushable.gd" id="1_tf1fy"]
|
2024-08-19 17:51:50 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://ca3ky53gvjj8" path="res://textures/movable-block-small.png" id="2_pp2mc"]
|
2024-08-18 11:02:15 +02:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_legx4"]
|
|
|
|
size = Vector2(34, 32)
|
|
|
|
|
|
|
|
[node name="BoxPushable1" type="CharacterBody2D"]
|
|
|
|
collision_layer = 16
|
2024-08-19 18:33:47 +02:00
|
|
|
collision_mask = 53
|
2024-08-18 11:02:15 +02:00
|
|
|
script = ExtResource("1_tf1fy")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("RectangleShape2D_legx4")
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
2024-08-19 17:51:50 +02:00
|
|
|
texture = ExtResource("2_pp2mc")
|