-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.tscn
35 lines (26 loc) · 1.15 KB
/
player.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
[gd_scene load_steps=5 format=3 uid="uid://db7kbwft3mcdt"]
[ext_resource type="Script" path="res://Player.gd" id="1_hb4yj"]
[ext_resource type="Texture2D" uid="uid://d32fvtvrrpnti" path="res://assets/foguete.png" id="2_drbia"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x147x"]
size = Vector2(33, 146.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_woasb"]
size = Vector2(114, 188)
[node name="Player" type="CharacterBody2D"]
collision_layer = 0
collision_mask = 0
script = ExtResource("1_hb4yj")
metadata/_edit_horizontal_guides_ = []
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(6, 35)
scale = Vector2(0.202731, 0.189815)
texture = ExtResource("2_drbia")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(8.5, 33.75)
shape = SubResource("RectangleShape2D_x147x")
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(9, 33)
shape = SubResource("RectangleShape2D_woasb")
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]