-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscene.tscn
73 lines (56 loc) · 2.5 KB
/
scene.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[gd_scene load_steps=12 format=3 uid="uid://cuptaufr308os"]
[ext_resource type="Script" path="res://Player.cs" id="1_3dyfo"]
[ext_resource type="Texture2D" uid="uid://6vdf0yxb1box" path="res://sprites/background_day.png" id="3_ognxc"]
[ext_resource type="Texture2D" uid="uid://6wqsya7gjc64" path="res://sprites/bird_orange_0.png" id="3_w04il"]
[ext_resource type="Script" path="res://PipeSpawner.cs" id="4_iyprp"]
[ext_resource type="PackedScene" uid="uid://tgjya1xmsw1w" path="res://Pipe.tscn" id="5_ykgrv"]
[ext_resource type="Script" path="res://GameManager.cs" id="6_wanku"]
[ext_resource type="FontFile" uid="uid://2rekr6ur5dda" path="res://fonts/font_score.ttf" id="7_2h3j1"]
[sub_resource type="QuadMesh" id="QuadMesh_li5fk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pvhee"]
size = Vector2(990.5, 29)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qm8t5"]
size = Vector2(128, 98)
[sub_resource type="LabelSettings" id="LabelSettings_6fad5"]
font = ExtResource("7_2h3j1")
font_size = 53
[node name="World" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(503.777, 822.489)
scale = Vector2(6.98921, 6.40282)
texture = ExtResource("3_ognxc")
[node name="floor" type="StaticBody2D" parent="."]
[node name="MeshInstance2D" type="MeshInstance2D" parent="floor"]
modulate = Color(0.211765, 0.164706, 1, 1)
position = Vector2(491, 1465.5)
scale = Vector2(974, 33)
mesh = SubResource("QuadMesh_li5fk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="floor"]
position = Vector2(498.75, 1467.25)
shape = SubResource("RectangleShape2D_pvhee")
[node name="Player" type="CharacterBody2D" parent="."]
position = Vector2(65, 66)
script = ExtResource("1_3dyfo")
Gravity = 2000.0
JumpForce = -600.0
MaxFallSpeed = 3000.0
[node name="Sprite2D" type="Sprite2D" parent="Player"]
position = Vector2(430, 569)
scale = Vector2(6.83334, 6.83334)
texture = ExtResource("3_w04il")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
position = Vector2(429, 571)
shape = SubResource("RectangleShape2D_qm8t5")
[node name="Node2D" type="Node2D" parent="."]
[node name="PipeSpawner" type="Node2D" parent="Node2D"]
script = ExtResource("4_iyprp")
PipePrefab = ExtResource("5_ykgrv")
[node name="GameManager" type="Node2D" parent="."]
script = ExtResource("6_wanku")
[node name="ScoreLabel" type="Label" parent="."]
offset_left = 698.0
offset_top = 45.0
offset_right = 983.0
offset_bottom = 126.0
text = "Score: 0"
label_settings = SubResource("LabelSettings_6fad5")