summaryrefslogtreecommitdiff
path: root/game/microgames/flowers_delivery/flowers_delivery.tscn
blob: 5b6d0521e98ca9f6a45a97cadfe11456cd0726b5 (plain)
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
[gd_scene load_steps=16 format=3 uid="uid://cxxawcp2cuijl"]

[ext_resource type="Texture2D" uid="uid://dbohkvl4ryqbk" path="res://game/microgames/flowers_delivery/assets/girlfriend.png" id="1_isthg"]
[ext_resource type="Script" path="res://game/microgames/flowers_delivery/flowers_delivery.gd" id="1_jhoh1"]
[ext_resource type="Texture2D" uid="uid://cbmk1jr2sqrv1" path="res://game/microgames/flowers_delivery/assets/player1.png" id="2_8splb"]
[ext_resource type="Script" path="res://game/microgames/flowers_delivery/player.gd" id="3_kgimw"]
[ext_resource type="Texture2D" uid="uid://dfd2176us2w7g" path="res://game/microgames/flowers_delivery/assets/player2.png" id="3_pyt0j"]
[ext_resource type="Texture2D" uid="uid://bjs5knhxc6vvi" path="res://game/microgames/flowers_delivery/assets/dodge.png" id="4_snyja"]
[ext_resource type="Texture2D" uid="uid://dv1e2uv1xcoxs" path="res://game/shared/assets/blank.png" id="6_omk1m"]

[sub_resource type="SpriteFrames" id="SpriteFrames_fhfcp"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_8splb")
}, {
"duration": 1.0,
"texture": ExtResource("3_pyt0j")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_snyja")
}],
"loop": true,
"name": &"dodge",
"speed": 5.0
}]

[sub_resource type="SphereShape3D" id="SphereShape3D_14drw"]
radius = 0.592209

[sub_resource type="BoxShape3D" id="BoxShape3D_k71dv"]
size = Vector3(1, 1, 0.189453)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kdus0"]
albedo_color = Color(0.360784, 0.388235, 0.121569, 1)

[sub_resource type="BoxMesh" id="BoxMesh_xy5s1"]
size = Vector3(100, 1, 100)

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_qo3aw"]
sky_top_color = Color(0.317647, 0.333333, 0.976471, 1)
sky_horizon_color = Color(0.556863, 0.639216, 0.929412, 1)
sky_curve = 0.0803831
ground_bottom_color = Color(0.478431, 0.54902, 0.992157, 1)
ground_horizon_color = Color(0.556863, 0.639216, 0.929412, 1)
ground_curve = 0.970057

[sub_resource type="Sky" id="Sky_4ims1"]
sky_material = SubResource("ProceduralSkyMaterial_qo3aw")

[sub_resource type="Environment" id="Environment_lochx"]
background_mode = 2
sky = SubResource("Sky_4ims1")

[node name="FlowersDelivery" type="Node3D"]
script = ExtResource("1_jhoh1")
instructions = "Meet your girlfriend!"

[node name="Girlfriend" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.45863, 1.42701, 0)
billboard = 1
texture = ExtResource("1_isthg")

[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.55688, 3.35267, 7.68148)
text = "Get Down!"
font_size = 200
outline_size = 48

[node name="Player" type="AnimatedSprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 13.663)
billboard = 1
sprite_frames = SubResource("SpriteFrames_fhfcp")
animation = &"dodge"
autoplay = "default"
script = ExtResource("3_kgimw")

[node name="Camera3D" type="Camera3D" parent="Player"]
transform = Transform3D(0.568531, 0.293446, -0.768545, 0, 0.934218, 0.356704, 0.822662, -0.202797, 0.531132, -3.65287, 1.74709, 2.17253)

[node name="Area3D" type="Area3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.933393, 0)

[node name="CollisionShape3D" type="CollisionShape3D" parent="Player/Area3D"]
shape = SubResource("SphereShape3D_14drw")

[node name="Obstacle" type="Sprite3D" parent="."]
transform = Transform3D(10, 0, 0, 0, 0.4, 0, 0, 0, 1, 1.5768, 2.47888, 7.67072)
modulate = Color(1, 0.301961, 0.231373, 1)
pixel_size = 1.0
texture = ExtResource("6_omk1m")

[node name="Area3D" type="Area3D" parent="Obstacle"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacle/Area3D"]
shape = SubResource("BoxShape3D_k71dv")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.900292, 0)
material_override = SubResource("StandardMaterial3D_kdus0")
mesh = SubResource("BoxMesh_xy5s1")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_lochx")