bricasse/blocks/beehive.tscn

26 lines
908 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://blocks/abstract_brick.tscn" type="PackedScene" id=1]
[ext_resource path="res://blocks/beehive.svg" type="Texture" id=2]
[ext_resource path="res://blocks/abstract_brick_sprite.gd" type="Script" id=3]
[sub_resource type="AtlasTexture" id=1]
resource_local_to_scene = true
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 0, 0, 64, 64 )
[node name="Beehive" instance=ExtResource( 1 )]
[node name="Sprite" type="Sprite" parent="." index="0"]
texture = SubResource( 1 )
script = ExtResource( 3 )
nb_lines = 3
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="1"]
position = Vector2( -32, -32 )
polygon = PoolVector2Array( 32, 0, 64, 16, 64, 48, 32, 64, 0, 48, 0, 16 )
[connection signal="brick_hit" from="." to="Sprite" method="_on_brick_hit"]
[connection signal="color_set" from="." to="Sprite" method="_on_color_set"]