|
@@ -0,0 +1,16 @@
|
|
|
|
+[gd_scene load_steps=3 format=2]
|
|
|
|
+
|
|
|
|
+[ext_resource path="res://component/entity/brick/brik.png" type="Texture" id=1]
|
|
|
|
+
|
|
|
|
+[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
+extents = Vector2( 20, 10 )
|
|
|
|
+
|
|
|
|
+[node name="Brick" type="StaticBody2D"]
|
|
|
|
+
|
|
|
|
+[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
+texture = ExtResource( 1 )
|
|
|
|
+centered = false
|
|
|
|
+
|
|
|
|
+[node name="Shape" type="CollisionShape2D" parent="."]
|
|
|
|
+position = Vector2( 20, 10 )
|
|
|
|
+shape = SubResource( 1 )
|