Game.tscn 3.25 KB
Newer Older
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
1
[gd_scene load_steps=14 format=2]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
2
3

[ext_resource path="res://Game.cs" type="Script" id=1]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
4
5
6
7
8
9
10
11
12
13
14
[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]
15
16
17

[sub_resource type="SpriteFrames" id=1]
animations = [ {
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
18
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ) ],
19
20
21
22
"loop": true,
"name": "default",
"speed": 5.0
} ]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
23
24

[node name="Game" type="Node2D"]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
25
script = ExtResource( 1 )
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
26

27
[node name="ScrollCamera" type="Control" parent="."]
28
29
30
31
32
margin_left = 60.0
margin_top = 660.0
margin_right = 100.0
margin_bottom = 700.0

33
[node name="Camera2D" type="Camera2D" parent="ScrollCamera"]
34
35
36
offset = Vector2( 580, -300 )
current = true

Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
37
38
39
40
41
42
43
[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 )

44
[node name="CanvasLayer" type="CanvasLayer" parent="ScrollCamera"]
45

46
[node name="ButtonGroup" type="Control" parent="ScrollCamera/CanvasLayer"]
47
48
margin_left = 60.0
margin_top = 660.0
49
50
margin_right = 100.0
margin_bottom = 700.0
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
51
script = ExtResource( 10 )
52
53

[node name="Tween" type="Tween" parent="ScrollCamera/CanvasLayer/ButtonGroup"]
54

Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
55
[node name="GUI" type="Control" parent="."]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
56

57
58
59
[node name="CanvasLayer" type="CanvasLayer" parent="GUI"]

[node name="ProfitLabel" type="Label" parent="GUI/CanvasLayer"]
60
61
62
63
64
margin_left = 60.0
margin_top = 30.0
margin_right = 171.0
margin_bottom = 44.0
text = "$0.00 per second"
65
66

[node name="MoneyLabel" type="Label" parent="GUI/CanvasLayer"]
67
68
69
70
margin_left = 60.0
margin_top = 45.0
margin_right = 76.0
margin_bottom = 59.0
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
71
text = "$0"
72
73
74
75
76
77
78

[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"
79
80
81
82
83
84
85

[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"
86

Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
87
88
89
90
91
92
93
94
95
96
97
[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"]
98
99
100
modulate = Color( 1, 1, 1, 0.803922 )
margin_left = -91.0
margin_top = 115.0
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
101
margin_right = 10567.0
102
103
104
margin_bottom = 692.0
color = Color( 0.25098, 0.25098, 0.25098, 1 )

Emery Tanghanwaye's avatar
final    
Emery Tanghanwaye committed
105
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
Emery Tanghanwaye's avatar
Emery Tanghanwaye committed
106
stream = ExtResource( 12 )
Emery Tanghanwaye's avatar
final    
Emery Tanghanwaye committed
107
autoplay = true