-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNucleaus.tscn
27 lines (21 loc) · 920 Bytes
/
Nucleaus.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/nucleaus.png" type="Texture" id=1]
[ext_resource path="res://Nucleaus.gd" type="Script" id=2]
[ext_resource path="res://HealthBar.tscn" type="PackedScene" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 31.2956
[node name="Nucleaus" type="StaticBody2D"]
input_pickable = true
collision_layer = 48
collision_mask = 0
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -0.157776 )
shape = SubResource( 1 )
[node name="HealthBar" parent="." instance=ExtResource( 3 )]
position = Vector2( -23.9475, 36.7924 )
scale = Vector2( 2, 1 )
[connection signal="mouse_entered" from="." to="." method="_on_Nucleaus_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_Nucleaus_mouse_exited"]