[gd_scene load_steps=11 format=2]

[ext_resource path="res://mainmenu.gd" type="Script" id=1]
[ext_resource path="res://art/main_menu.png" type="Texture" id=2]
[ext_resource path="res://art/player.png" type="Texture" id=3]
[ext_resource path="res://Spiny.gd" type="Script" id=4]
[ext_resource path="res://charybdis.regular.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://Fade.gd" type="Script" id=6]
[ext_resource path="res://sfx/WOD_sfx.ogg" type="AudioStream" id=7]

[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 5 )

[sub_resource type="Shader" id=2]
code = "shader_type canvas_item;
uniform float alpha;

void fragment(){
	COLOR = vec4(0,0,0,alpha);
}"

[sub_resource type="ShaderMaterial" id=3]
shader = SubResource( 2 )
shader_param/alpha = null

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

[node name="BG" type="Sprite" parent="."]
position = Vector2( 304, 240 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}

[node name="Spiny" type="Sprite" parent="."]
position = Vector2( 304, 208 )
scale = Vector2( 3.5, 3.5 )
texture = ExtResource( 3 )
script = ExtResource( 4 )
__meta__ = {
"_edit_lock_": true
}
lift = 3
sides = 3

[node name="highscore" type="Label" parent="Spiny"]
margin_left = -9.0
margin_top = -9.0
margin_right = 9.0
margin_bottom = 9.0
size_flags_horizontal = 5
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
text = "0"
align = 1
valign = 1

[node name="Instruction" type="Label" parent="."]
margin_left = 240.0
margin_top = 288.0
margin_right = 373.0
margin_bottom = 302.0
text = "Press Space to Begin"
__meta__ = {
"_edit_lock_": true
}

[node name="Credits" type="Label" parent="."]
margin_left = 10.0
margin_top = 350.0
margin_right = 588.0
margin_bottom = 466.0
text = "Made by: ASadPumpkin
Inspired by: Flappy Bird, BadLand
Engine: Godot 3.0.6 (https://godotengine.org/)
Art: Krita (https://krita.org/en/)
Font: Charybdis by Tepid Monkey Fonts (https://www.1001fonts.com/)
Sound Effects: Bfxr (https://www.bfxr.net/), Audacity (https://www.audacityteam.org/)
Additional SFX: freesfx.co.uk"

[node name="Fade" type="Node2D" parent="."]
script = ExtResource( 6 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}

[node name="fadeRect" type="TextureRect" parent="Fade"]
material = SubResource( 3 )
margin_left = -10.0
margin_right = 620.0
margin_bottom = 480.0
texture = ExtResource( 3 )
expand = true

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
volume_db = -1.0
pitch_scale = 0.3
autoplay = true
