-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainmenu.tscn
More file actions
114 lines (92 loc) · 4.43 KB
/
mainmenu.tscn
File metadata and controls
114 lines (92 loc) · 4.43 KB
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
[gd_scene load_steps=14 format=3 uid="uid://dp3ievo5x0fj4"]
[ext_resource type="Script" path="res://mainmenu.gd" id="1_ba8xa"]
[ext_resource type="PackedScene" uid="uid://b36ufns1mo2kc" path="res://assets/gltf/arena/arena.gltf" id="2_1ro43"]
[ext_resource type="PackedScene" uid="uid://bwo1u271wwnpu" path="res://assets/gltf/sword/sword.gltf" id="3_7okhd"]
[ext_resource type="Script" path="res://assets/gltf/sword/sword.gd" id="4_2f04r"]
[ext_resource type="PackedScene" uid="uid://eqh2sm3vepc2" path="res://assets/gltf/mace/mace_menu.gltf" id="5_m1orh"]
[ext_resource type="Script" path="res://assets/gltf/mace/mace_menu.gd" id="6_cn02t"]
[ext_resource type="PackedScene" uid="uid://bhwdcyofeir3h" path="res://assets/gltf/spear/spear_menu.gltf" id="7_fi1i7"]
[ext_resource type="Script" path="res://assets/gltf/spear/spear_menu.gd" id="8_vlq63"]
[ext_resource type="AudioStream" uid="uid://dpiikg5fwu1d3" path="res://assets/audio/733259__jadis0x__simple-video-game-music-loop.wav" id="9_4b1wn"]
[ext_resource type="SpriteFrames" uid="uid://du4aemu1kwy1a" path="res://assets/gifs/title.gif" id="10_ewf5p"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_vxnh7"]
sky_top_color = Color(0.658493, 0.342203, 0.325236, 1)
sky_horizon_color = Color(0.805937, 0.615726, 0.372581, 1)
[sub_resource type="Sky" id="Sky_qlr20"]
sky_material = SubResource("ProceduralSkyMaterial_vxnh7")
[sub_resource type="Environment" id="Environment_p57yj"]
background_mode = 2
sky = SubResource("Sky_qlr20")
sdfgi_use_occlusion = true
[node name="Mainmenu" type="Node3D"]
script = ExtResource("1_ba8xa")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.979973, 0, -0.199128, 0, 1, 0, 0.199128, 0, 0.979973, 0, 4.16354, 2.47758)
[node name="arena" parent="." instance=ExtResource("2_1ro43")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.52055, 1.62225, -1.03656)
[node name="Control" type="Control" parent="arena"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Weapon 1" type="Button" parent="arena/Control"]
layout_mode = 0
offset_left = 32.0
offset_top = 462.0
offset_right = 238.0
offset_bottom = 541.0
text = "Sword"
[node name="Weapon 2" type="Button" parent="arena/Control"]
layout_mode = 0
offset_left = 252.0
offset_top = 460.0
offset_right = 458.0
offset_bottom = 539.0
text = "Spear and Shield"
[node name="Weapon 3" type="Button" parent="arena/Control"]
layout_mode = 0
offset_left = 480.0
offset_top = 460.0
offset_right = 686.0
offset_bottom = 539.0
text = "Mace"
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.828012, -0.0878791, 0.553782, 4.55488e-09, 0.987642, 0.156728, -0.560711, -0.129773, 0.817779, 7.24798, 13.6018, 8.73694)
light_bake_mode = 1
[node name="sword" parent="." instance=ExtResource("3_7okhd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.68618, 3.83021, -1.45514)
script = ExtResource("4_2f04r")
[node name="mace_menu" parent="." instance=ExtResource("5_m1orh")]
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0.8, 4.7, -1.455)
script = ExtResource("6_cn02t")
[node name="spear_menu" parent="." instance=ExtResource("7_fi1i7")]
transform = Transform3D(0.66, 0, 0, 0, 0.66, 0, 0, 0, 0.66, -1.1, 4.5, -1.455)
script = ExtResource("8_vlq63")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("9_4b1wn")
volume_db = -13.911
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(889, 235)
scale = Vector2(0.775, 0.775)
sprite_frames = ExtResource("10_ewf5p")
animation = &"gif"
autoplay = "gif"
frame_progress = 0.382068
[node name="Label" type="Label" parent="."]
offset_left = 834.0
offset_top = 322.0
offset_right = 980.0
offset_bottom = 449.0
text = "created by
Connor Lowe
Harrison Scapellati
Praneet Varade
Calvin Hunter"
[node name="DirectionalLight3D2" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.384263, 0.144695, -0.911814, -4.44089e-16, 0.987642, 0.156728, 0.923224, -0.0602247, 0.379514, 7.24798, 13.6018, 8.73694)
light_bake_mode = 1
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_p57yj")
[connection signal="pressed" from="arena/Control/Weapon 1" to="." method="_on_weapon_1_pressed"]
[connection signal="pressed" from="arena/Control/Weapon 2" to="." method="_on_weapon_2_pressed"]
[connection signal="pressed" from="arena/Control/Weapon 3" to="." method="_on_weapon_3_pressed"]