This commit is contained in:
Booklordofthedings 2024-08-19 17:51:50 +02:00
parent 29bdda6acf
commit b6375e04c8
8 changed files with 46 additions and 18 deletions

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://d17jpcgayfg6i"]
[ext_resource type="Texture2D" uid="uid://buqgl7x10et1f" path="res://temp_assets/img.png" id="1_ocrks"]
[ext_resource type="Script" path="res://scripts/pushable.gd" id="1_tf1fy"]
[ext_resource type="Texture2D" uid="uid://ca3ky53gvjj8" path="res://textures/movable-block-small.png" id="2_pp2mc"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_legx4"]
size = Vector2(34, 32)
@ -15,4 +15,4 @@ script = ExtResource("1_tf1fy")
shape = SubResource("RectangleShape2D_legx4")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_ocrks")
texture = ExtResource("2_pp2mc")

View file

@ -1,6 +1,13 @@
[gd_scene load_steps=2 format=3 uid="uid://biaxahxft1xo0"]
[gd_scene load_steps=3 format=3 uid="uid://biaxahxft1xo0"]
[ext_resource type="PackedScene" uid="uid://d17jpcgayfg6i" path="res://objects/BoxPushable_1.tscn" id="1_pnjdf"]
[ext_resource type="Texture2D" uid="uid://bgn21wm3f32ch" path="res://textures/movable-block-big.png" id="2_kff60"]
[node name="BoxPushable1" instance=ExtResource("1_pnjdf")]
scale = Vector2(2, 2)
[node name="CollisionShape2D" parent="." index="0"]
position = Vector2(0, 0.5)
[node name="Sprite2D" parent="." index="1"]
texture = ExtResource("2_kff60")