-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.tscn
107 lines (88 loc) · 3.25 KB
/
Game.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[gd_scene load_steps=14 format=2]
[ext_resource path="res://Game.cs" type="Script" id=1]
[ext_resource path="res://assets/level1.jpeg" type="Texture" id=2]
[ext_resource path="res://assets/level2.jpeg" type="Texture" id=3]
[ext_resource path="res://assets/level3bad.jpeg" type="Texture" id=4]
[ext_resource path="res://assets/level3good.jpeg" type="Texture" id=5]
[ext_resource path="res://assets/level4bad.jpg" type="Texture" id=6]
[ext_resource path="res://assets/level4good.jpeg" type="Texture" id=7]
[ext_resource path="res://assets/level5good.jpeg" type="Texture" id=8]
[ext_resource path="res://Background.cs" type="Script" id=9]
[ext_resource path="res://ButtonGroup.cs" type="Script" id=10]
[ext_resource path="res://assets/stage5bad.jpeg" type="Texture" id=11]
[ext_resource path="res://Music/1_Aerobatics_in_Slow_Motion.ogg" type="AudioStream" id=12]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Game" type="Node2D"]
script = ExtResource( 1 )
[node name="ScrollCamera" type="Control" parent="."]
margin_left = 60.0
margin_top = 660.0
margin_right = 100.0
margin_bottom = 700.0
[node name="Camera2D" type="Camera2D" parent="ScrollCamera"]
offset = Vector2( 580, -300 )
current = true
[node name="Background" type="AnimatedSprite" parent="ScrollCamera/Camera2D"]
position = Vector2( -60, -660 )
scale = Vector2( 0.6, 0.6 )
frames = SubResource( 1 )
centered = false
script = ExtResource( 9 )
[node name="CanvasLayer" type="CanvasLayer" parent="ScrollCamera"]
[node name="ButtonGroup" type="Control" parent="ScrollCamera/CanvasLayer"]
margin_left = 60.0
margin_top = 660.0
margin_right = 100.0
margin_bottom = 700.0
script = ExtResource( 10 )
[node name="Tween" type="Tween" parent="ScrollCamera/CanvasLayer/ButtonGroup"]
[node name="GUI" type="Control" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="GUI"]
[node name="ProfitLabel" type="Label" parent="GUI/CanvasLayer"]
margin_left = 60.0
margin_top = 30.0
margin_right = 171.0
margin_bottom = 44.0
text = "$0.00 per second"
[node name="MoneyLabel" type="Label" parent="GUI/CanvasLayer"]
margin_left = 60.0
margin_top = 45.0
margin_right = 76.0
margin_bottom = 59.0
text = "$0"
[node name="StageLabel" type="Label" parent="GUI/CanvasLayer"]
margin_left = 60.0
margin_top = 60.0
margin_right = 121.0
margin_bottom = 74.0
text = "Stage: Well"
[node name="GoalLabel" type="Label" parent="GUI/CanvasLayer"]
margin_left = 60.0
margin_top = 75.0
margin_right = 60.0
margin_bottom = 89.0
text = "Next Goal: $0"
[node name="FailScreen" type="Sprite" parent="GUI/CanvasLayer"]
visible = false
position = Vector2( 626.394, 346.165 )
scale = Vector2( 0.6, 0.6 )
texture = ExtResource( 11 )
[node name="ButtonHolder" type="Control" parent="GUI"]
margin_right = 40.0
margin_bottom = 40.0
[node name="ColorRect" type="ColorRect" parent="GUI/ButtonHolder"]
modulate = Color( 1, 1, 1, 0.803922 )
margin_left = -91.0
margin_top = 115.0
margin_right = 10567.0
margin_bottom = 692.0
color = Color( 0.25098, 0.25098, 0.25098, 1 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 12 )
autoplay = true