-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tscn
99 lines (77 loc) · 2.81 KB
/
Main.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
[gd_scene load_steps=16 format=1]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://assets/TitleScreen.png" type="Texture" id=2]
[ext_resource path="res://background.gd" type="Script" id=3]
[ext_resource path="res://Player.tscn" type="PackedScene" id=4]
[ext_resource path="res://Itty_Bitty_8_Bit.wav" type="Sample" id=5]
[ext_resource path="res://music.gd" type="Script" id=6]
[ext_resource path="res://Space_Bar.gd" type="Script" id=7]
[ext_resource path="res://assets/Space_bar_animation/space_1.png" type="Texture" id=8]
[ext_resource path="res://assets/Space_bar_animation/space_2.png" type="Texture" id=9]
[ext_resource path="res://assets/Space_bar_animation/space_3.png" type="Texture" id=10]
[ext_resource path="res://assets/Space_bar_animation/space_4.png" type="Texture" id=11]
[ext_resource path="res://assets/Space_bar_animation/space_5.png" type="Texture" id=12]
[ext_resource path="res://assets/Space_bar_animation/space_6.png" type="Texture" id=13]
[sub_resource type="SampleLibrary" id=1]
samples/Itty_Bitty_8_Bit = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 5 )
}
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 13 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Main" type="Node2D"]
script/script = ExtResource( 1 )
[node name="Background" type="Sprite" parent="."]
transform/pos = Vector2( 1620, 360 )
texture = ExtResource( 2 )
region = true
region_rect = Rect2( 0, 0, 3240, 720 )
script/script = ExtResource( 3 )
[node name="PlayerNPC" type="Node" parent="."]
[node name="Player" parent="PlayerNPC" instance=ExtResource( 4 )]
transform/pos = Vector2( 99.332, 313.21 )
[node name="bgm" type="SamplePlayer2D" parent="."]
transform/pos = Vector2( -18.7336, 8.97365 )
params/volume_db = 0.0
params/pitch_scale = 1.0
params/attenuation/min_distance = 1.0
params/attenuation/max_distance = 2048.0
params/attenuation/distance_exp = 1.0
config/polyphony = 1
config/samples = SubResource( 1 )
config/pitch_random = 0.0
script/script = ExtResource( 6 )
[node name="Label" type="Label" parent="."]
rect/scale = Vector2( 3, 3 )
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 47.0
margin/top = 46.0
margin/right = 97.0
margin/bottom = 86.0
text = "Score:
"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Space_Object" type="KinematicBody2D" parent="."]
input/pickable = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 7 )
[node name="Space" type="AnimatedSprite" parent="Space_Object"]
transform/pos = Vector2( 563.483, 345.901 )
frames = SubResource( 2 )
animation = "default"
frame = 5
playing = true