-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainscene.tscn
130 lines (101 loc) · 4.37 KB
/
mainscene.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[gd_scene load_steps=11 format=2]
[ext_resource path="res://source/images/World/Bush.tscn" type="PackedScene" id=1]
[ext_resource path="res://source/images/Player/player.tscn" type="PackedScene" id=2]
[ext_resource path="res://source/images/World/Grass.png" type="Texture" id=3]
[ext_resource path="res://source/images/World/GrassBackground.png" type="Texture" id=4]
[ext_resource path="res://source/images/World/home1.tscn" type="PackedScene" id=5]
[ext_resource path="res://source/images/World/Lamp.tscn" type="PackedScene" id=6]
[ext_resource path="res://Day_cycle.gd" type="Script" id=7]
[ext_resource path="res://source/images/World/Jeff.tscn" type="PackedScene" id=8]
[sub_resource type="Animation" id=1]
resource_name = "Day_cycle"
length = 900.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 11.9, 114.4, 216, 324.6, 422.2, 547.4, 754.2, 899.8 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 0.94902, 0.878431, 0.733333, 1 ), Color( 0.760784, 0.686275, 0.529412, 1 ), Color( 0.529412, 0.572549, 0.760784, 1 ), Color( 0.207843, 0.219608, 0.27451, 1 ), Color( 0.121569, 0.133333, 0.2, 1 ), Color( 0.870588, 0.741176, 0.490196, 1 ), Color( 0.898039, 0.862745, 0.792157, 1 ) ]
}
[sub_resource type="Animation" id=2]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}
[node name="World" type="Node2D"]
[node name="Background" type="Sprite" parent="."]
position = Vector2( -106, -43 )
texture = ExtResource( 4 )
centered = false
region_enabled = true
region_rect = Rect2( -136.004, -277.989, 968.766, 583.197 )
[node name="House" parent="Background" instance=ExtResource( 5 )]
position = Vector2( 630, 42 )
[node name="House2" parent="Background" instance=ExtResource( 5 )]
position = Vector2( 871, 41 )
[node name="YSort" type="YSort" parent="."]
[node name="player" parent="YSort" groups=["Player"] instance=ExtResource( 2 )]
position = Vector2( 57, 135 )
collision_layer = 3
collision_mask = 3
[node name="Camera2D" type="Camera2D" parent="YSort/player"]
current = true
smoothing_enabled = true
smoothing_speed = 8.0
[node name="Bush" parent="YSort" instance=ExtResource( 1 )]
position = Vector2( 152, 200 )
[node name="HouseFelix" parent="YSort" instance=ExtResource( 5 )]
position = Vector2( 111, -29 )
[node name="Bush2" parent="YSort" instance=ExtResource( 1 )]
position = Vector2( 355, 65 )
[node name="Grass" type="Sprite" parent="YSort"]
position = Vector2( 28, 119 )
texture = ExtResource( 3 )
[node name="Lamp" parent="." instance=ExtResource( 6 )]
position = Vector2( 45, 149 )
[node name="Lamp" parent="Lamp" instance=ExtResource( 6 )]
position = Vector2( 126, -8 )
[node name="CanvasModulate" type="CanvasModulate" parent="."]
position = Vector2( 248, 143 )
script = ExtResource( 7 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="CanvasModulate"]
autoplay = "Day_cycle"
anims/Day_cycle = SubResource( 1 )
anims/RESET = SubResource( 2 )
[node name="Bush" parent="." instance=ExtResource( 1 )]
position = Vector2( 200, 81 )
[node name="Bush2" parent="." instance=ExtResource( 1 )]
position = Vector2( 201, 48 )
[node name="Bush" parent="Bush2" instance=ExtResource( 1 )]
position = Vector2( 2, -32 )
[node name="Bush" parent="Bush2/Bush" instance=ExtResource( 1 )]
position = Vector2( -184, 66 )
[node name="Bush2" parent="Bush2/Bush" instance=ExtResource( 1 )]
position = Vector2( -184, 45 )
[node name="Bush" parent="Bush2/Bush/Bush2" instance=ExtResource( 1 )]
position = Vector2( 0, -20 )
[node name="Bush2" parent="Bush2/Bush/Bush2" instance=ExtResource( 1 )]
position = Vector2( 1, -38 )
[node name="Bush" parent="Bush2/Bush/Bush2/Bush2" instance=ExtResource( 1 )]
position = Vector2( -2, -19 )
[node name="Bush2" parent="Bush2/Bush/Bush2/Bush2" instance=ExtResource( 1 )]
position = Vector2( -2, -40 )
[node name="Bush" parent="Bush2/Bush/Bush2/Bush2/Bush2" instance=ExtResource( 8 )]
position = Vector2( 96, 179 )
[node name="Bush2" parent="Bush2" instance=ExtResource( 1 )]
position = Vector2( 1, -63 )