You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
598 B
21 lines
598 B
[gd_scene format=3 uid="uid://b0brick0001"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/brick.gd" id="1_brick"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_brick"]
|
|
size = Vector2(96, 32)
|
|
|
|
[node name="Brick" type="StaticBody2D"]
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
script = ExtResource("1_brick")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_brick")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
offset_left = -48.0
|
|
offset_top = -16.0
|
|
offset_right = 48.0
|
|
offset_bottom = 16.0
|
|
color = Color(0.3, 0.7, 0.4, 1)
|
|
|