20 lines
556 B
Plaintext
20 lines
556 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://point.png" type="Texture" id=1]
|
|
[ext_resource path="res://Point.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 14.0
|
|
|
|
[node name="Point" type="Sprite"]
|
|
position = Vector2( -292, -74 )
|
|
texture = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="HitBox" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox"]
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="input_event" from="HitBox" to="." method="_on_HitBox_input_event"]
|