[gd_scene load_steps=8 format=2]

[ext_resource path="res://MainMenu.gd" type="Script" id=1]
[ext_resource path="res://game.tres" type="Environment" id=2]
[ext_resource path="res://modeling/ghost.glb" type="PackedScene" id=3]
[ext_resource path="res://modeling/pumpkin/pumpkin.glb" type="PackedScene" id=4]
[ext_resource path="res://modeling/instructionpanel/instructionpanel.glb" type="PackedScene" id=5]
[ext_resource path="res://button_font.tres" type="DynamicFont" id=6]

[sub_resource type="Animation" id=1]
resource_name = "MainMenu"
length = 5.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("ghost:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1.1, 2.2, 3.5, 5 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 1.23774, 0.2, 1.09254 ), Vector3( 3.89981, 0.4, 0 ), Vector3( 1.26114, 0.2, -1.83072 ), Vector3( 0, 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("pumpkin:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, -1079, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("pumpkin2:rotation_degrees")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, -1079, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ghost:rotation_degrees")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 1.1, 2.2, 3.5, 5 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 85.384, 0 ), Vector3( 0, 180, 0 ), Vector3( 0, 270, 0 ), Vector3( 0, 360, 0 ) ]
}

[node name="Node2D" type="Spatial"]
script = ExtResource( 1 )

[node name="Camera2D" type="CanvasLayer" parent="."]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 2 )

[node name="Grid" type="GridContainer" parent="."]
margin_left = 8.81944
margin_top = 5.03968
margin_right = 186.819
margin_bottom = 211.04
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="Grid"]
margin_right = 178.0
margin_bottom = 44.0
custom_fonts/font = ExtResource( 6 )
text = "Pumpkalanes"

[node name="HowTo" type="Button" parent="Grid"]
margin_top = 48.0
margin_right = 178.0
margin_bottom = 98.0
custom_fonts/font = ExtResource( 6 )
text = "How To Play"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Start" type="Button" parent="Grid"]
margin_top = 102.0
margin_right = 178.0
margin_bottom = 152.0
custom_fonts/font = ExtResource( 6 )
text = "Start Game"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="StartHard" type="Button" parent="Grid"]
margin_top = 156.0
margin_right = 178.0
margin_bottom = 206.0
custom_fonts/font = ExtResource( 6 )
text = "Hard Start"

[node name="Exit" type="Button" parent="Grid"]
margin_top = 210.0
margin_right = 178.0
margin_bottom = 260.0
custom_fonts/font = ExtResource( 6 )
text = "Exit"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 2, 2.585 )

[node name="ghost" parent="." instance=ExtResource( 3 )]

[node name="pumpkin" parent="." instance=ExtResource( 4 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 1.41575, 0, 0 )

[node name="pumpkin2" parent="." instance=ExtResource( 4 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -1.49082, 0, 0.900185 )

[node name="WootWoot" type="AnimationPlayer" parent="."]
anims/MainMenu = SubResource( 1 )

[node name="OmniLight" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.81586, 1.78521, 0 )

[node name="OmniLight2" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98393, 1.78521, 0.771743 )

[node name="HowToPlay" type="Spatial" parent="."]

[node name="instructionpanel" parent="HowToPlay" instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 0.5, -0.866025, 0, 0.866025, 0.5, 0, 1.2, 1.47748 )

[node name="OmniLight3" type="OmniLight" parent="HowToPlay"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0584776, 1.6519, 2.21634 )
light_energy = 1.5
