Moving block added (buggy)

This commit is contained in:
debugman18 committed 2026-10-18 16:10:14 -05:00
1 parent 0209b1d02e
commit 8fa42abc6f
4 files changed
+35

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://div6quttr84u1"]
[ext_resource type="Script" uid="uid://yaqgvctkobnq" path="res://horizontal_moving_block.gd" id="1_3uo2v"]
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_m1vtb"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
size = Vector2(16, 14)
[node name="Block" type="RigidBody2D" unique_id=1409784601]
gravity_scale = 0.0
freeze = true
script = ExtResource("1_3uo2v")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
shape = SubResource("RectangleShape2D_f3sb7")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
texture_filter = 1
texture = ExtResource("1_m1vtb")