-
Notifications
You must be signed in to change notification settings - Fork 1
/
cena_personagem.tscn
40 lines (30 loc) · 1.64 KB
/
cena_personagem.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://imagens/nave-removebg-preview.png" type="Texture" id=1]
[ext_resource path="res://script_personagem.gd" type="Script" id=2]
[ext_resource path="res://sons/metralhadora.wav" type="AudioStream" id=3]
[ext_resource path="res://imagens/2oJpu7U - Imgur.png" type="Texture" id=4]
[node name="Node2D" type="Node2D"]
position = Vector2( 294, 340 )
__meta__ = {
"_edit_group_": true
}
[node name="Personagem" type="KinematicBody2D" parent="."]
position = Vector2( -1, -0.00323486 )
script = ExtResource( 2 )
[node name="P1" type="Sprite" parent="Personagem"]
scale = Vector2( 0.196, 0.196 )
texture = ExtResource( 1 )
[node name="P2" type="Sprite" parent="Personagem"]
position = Vector2( -1, 2.0033 )
scale = Vector2( 0.239224, 0.239224 )
texture = ExtResource( 4 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Personagem"]
position = Vector2( -2, 1.00323 )
polygon = PoolVector2Array( -44, 41, -45, 19, -42, 30, -37, 34, -37, 28, -33, 34, -27, 29, -24, 32, -24, 27, -8, 7, -8, 0, -4, -6, -8, -9, -1, -22, 1, -44, 3, -44, 5, -22, 11, -10, 9, -7, 11, -2, 12, 7, 37, 34, 40, 29, 41, 34, 45, 32, 49, 20, 49, 41, 47, 43, 46, 39, 40, 42, 35, 48, 34, 44, 26, 38, 15, 47, 10, 47, 2, 47, -7, 47, -12, 46, -24, 40, -30, 44, -31, 48, -36, 42 )
[node name="Position2D" type="Position2D" parent="Personagem"]
position = Vector2( 0, -53.9968 )
[node name="Timer" type="Timer" parent="Personagem"]
wait_time = 3.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Personagem"]
stream = ExtResource( 3 )
[connection signal="timeout" from="Personagem/Timer" to="Personagem" method="_on_Timer_timeout"]