-
Notifications
You must be signed in to change notification settings - Fork 1
/
cena_disparo.tscn
34 lines (26 loc) · 1.04 KB
/
cena_disparo.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://imagens/1ab2bcd59029874b324b2dad44ca7cd0.png" type="Texture" id=1]
[ext_resource path="res://script_disparo.gd" type="Script" id=2]
[ext_resource path="res://imagens/powerup.png" type="Texture" id=3]
[sub_resource type="CapsuleShape2D" id=1]
radius = 9.34036
height = 2.43078
[node name="Node2D" type="Node2D"]
position = Vector2( 574, 506 )
[node name="Area2D" type="Area2D" parent="."]
position = Vector2( 41, 5 )
script = ExtResource( 2 )
[node name="Disparo1" type="Sprite" parent="Area2D"]
position = Vector2( -39.0771, -2.44234 )
rotation = -1.5724
scale = Vector2( 1.12875, 1.12875 )
texture = ExtResource( 1 )
[node name="Disparo2" type="Sprite" parent="Area2D"]
position = Vector2( -41, -5.99902 )
scale = Vector2( 0.1625, 0.0380478 )
texture = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( -41, -4 )
rotation = -0.03135
shape = SubResource( 1 )
[connection signal="area_entered" from="Area2D" to="Area2D" method="acerto_disparo"]