-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathPlayerBullet.tscn
48 lines (32 loc) · 1.23 KB
/
PlayerBullet.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[gd_scene load_steps=4 format=2]
[ext_resource path="res://PlayerBullet.gd" type="Script" id=1]
[ext_resource path="res://art/beams.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=1]
custom_solver_bias = 0.0
radius = 5.36038
height = 38.4347
[node name="PlayerBullet" type="Area2D"]
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
script = ExtResource( 1 )
_sections_unfolded = [ "Transform" ]
[node name="Sprite" type="Sprite" parent="."]
rotation = 1.5708
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 130, 308, 63, 98 )
_sections_unfolded = [ "Region", "Transform" ]
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )
_sections_unfolded = [ "Transform" ]
[node name="Visibility" type="VisibilityNotifier2D" parent="."]
rect = Rect2( -10, -10, 20, 20 )
[connection signal="area_entered" from="." to="." method="_on_PlayerBullet_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_PlayerBullet_body_entered"]
[connection signal="screen_exited" from="Visibility" to="." method="_on_Visibility_screen_exited"]