25 lines
860 B
Text
25 lines
860 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://sprites/common/bullet/snowflake.png" type="Texture" id=1]
|
|
[ext_resource path="res://sprites/common/bullet/snowflake.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 32, 32.5 )
|
|
|
|
[node name="Snowflake" type="Area2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 1, 1 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 1, 0.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibilityNotifier2D" parent="."]
|
|
position = Vector2( 1, 0.499995 )
|
|
scale = Vector2( 3.2, 3.25 )
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|