aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-08-04 18:29:59 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-08-04 18:29:59 -0400
commit9a5a9d9cb1f1cf507db8a401783179ff55a242e8 (patch)
tree7e5cb81fd41a2b28d26a9d4933d1e1c242b91e00
downloadfrivolous-run-9a5a9d9cb1f1cf507db8a401783179ff55a242e8.tar.gz
frivolous-run-9a5a9d9cb1f1cf507db8a401783179ff55a242e8.tar.bz2
frivolous-run-9a5a9d9cb1f1cf507db8a401783179ff55a242e8.zip
Inital commit
-rw-r--r--.gitignore11
-rw-r--r--Game.tscn3
-rw-r--r--Godot.gitignore11
-rw-r--r--Menu.gd29
-rw-r--r--Menu.tscn61
-rw-r--r--default_env.tres7
-rw-r--r--icon.pngbin0 -> 3305 bytes
-rw-r--r--icon.png.import35
-rw-r--r--project.godot33
-rw-r--r--text236.pngbin0 -> 10363 bytes
-rw-r--r--text236.png.import35
11 files changed, 225 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4f48ad7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Godot-specific ignores
+.import/
+export.cfg
+export_presets.cfg
+
+# Imported translations (automatically generated from CSV files)
+*.translation
+
+# Mono-specific ignores
+.mono/
+data_*/
diff --git a/Game.tscn b/Game.tscn
new file mode 100644
index 0000000..b171e8d
--- /dev/null
+++ b/Game.tscn
@@ -0,0 +1,3 @@
+[gd_scene format=2]
+
+[node name="Node2D" type="Node2D"]
diff --git a/Godot.gitignore b/Godot.gitignore
new file mode 100644
index 0000000..4f48ad7
--- /dev/null
+++ b/Godot.gitignore
@@ -0,0 +1,11 @@
+# Godot-specific ignores
+.import/
+export.cfg
+export_presets.cfg
+
+# Imported translations (automatically generated from CSV files)
+*.translation
+
+# Mono-specific ignores
+.mono/
+data_*/
diff --git a/Menu.gd b/Menu.gd
new file mode 100644
index 0000000..4a20621
--- /dev/null
+++ b/Menu.gd
@@ -0,0 +1,29 @@
+extends MarginContainer
+
+
+# Declare member variables here. Examples:
+# var a = 2
+# var b = "text"
+
+
+# Called when the node enters the scene tree for the first time.
+func _ready():
+ pass # Replace with function body.
+
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+#func _process(delta):
+# pass
+
+
+func _on_Play_button_up():
+ pass # Replace with function body.
+
+
+func _on_Credits_button_up():
+ pass # Replace with function body.
+
+
+func _on_Quit_button_up():
+ get_tree().quit()
+ pass # Replace with function body.
diff --git a/Menu.tscn b/Menu.tscn
new file mode 100644
index 0000000..fbfc482
--- /dev/null
+++ b/Menu.tscn
@@ -0,0 +1,61 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://text236.png" type="Texture" id=1]
+[ext_resource path="res://Menu.gd" type="Script" id=2]
+
+[node name="Menu" type="MarginContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+rect_scale = Vector2( 1.00487, 1.03334 )
+rect_pivot_offset = Vector2( -1427, -96 )
+script = ExtResource( 2 )
+
+[node name="CenterContainer" type="CenterContainer" parent="."]
+margin_right = 1280.0
+margin_bottom = 720.0
+
+[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
+margin_left = 448.0
+margin_top = 308.0
+margin_right = 832.0
+margin_bottom = 412.0
+
+[node name="Logo" type="Sprite" parent="CenterContainer/VBoxContainer"]
+position = Vector2( 505, 64 )
+scale = Vector2( 0.991787, 1.0997 )
+texture = ExtResource( 1 )
+
+[node name="Play" type="Button" parent="CenterContainer/VBoxContainer"]
+margin_right = 384.0
+margin_bottom = 20.0
+text = "Play"
+
+[node name="Credits" type="Button" parent="CenterContainer/VBoxContainer"]
+margin_top = 24.0
+margin_right = 384.0
+margin_bottom = 44.0
+text = "Credits"
+
+[node name="Quit" type="Button" parent="CenterContainer/VBoxContainer"]
+margin_top = 48.0
+margin_right = 384.0
+margin_bottom = 68.0
+text = "Quit"
+
+[node name="About" type="Label" parent="CenterContainer/VBoxContainer"]
+margin_top = 72.0
+margin_right = 384.0
+margin_bottom = 86.0
+text = "Made for the bits & Bytes Unofficial Game Jam! August 2022"
+align = 1
+
+[node name="Copyright" type="Label" parent="CenterContainer/VBoxContainer"]
+margin_top = 90.0
+margin_right = 384.0
+margin_bottom = 104.0
+text = "Copyright 2022 Andrew Lee. Powered by the Godot Engine"
+align = 1
+
+[connection signal="button_up" from="CenterContainer/VBoxContainer/Play" to="." method="_on_Play_button_up"]
+[connection signal="button_up" from="CenterContainer/VBoxContainer/Credits" to="." method="_on_Credits_button_up"]
+[connection signal="button_up" from="CenterContainer/VBoxContainer/Quit" to="." method="_on_Quit_button_up"]
diff --git a/default_env.tres b/default_env.tres
new file mode 100644
index 0000000..20207a4
--- /dev/null
+++ b/default_env.tres
@@ -0,0 +1,7 @@
+[gd_resource type="Environment" load_steps=2 format=2]
+
+[sub_resource type="ProceduralSky" id=1]
+
+[resource]
+background_mode = 2
+background_sky = SubResource( 1 )
diff --git a/icon.png b/icon.png
new file mode 100644
index 0000000..c98fbb6
--- /dev/null
+++ b/icon.png
Binary files differ
diff --git a/icon.png.import b/icon.png.import
new file mode 100644
index 0000000..a4c02e6
--- /dev/null
+++ b/icon.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://icon.png"
+dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=true
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0
diff --git a/project.godot b/project.godot
new file mode 100644
index 0000000..cb26263
--- /dev/null
+++ b/project.godot
@@ -0,0 +1,33 @@
+; Engine configuration file.
+; It's best edited using the editor UI and not directly,
+; since the parameters that go here are not all obvious.
+;
+; Format:
+; [section] ; section goes between []
+; param=value ; assign values to parameters
+
+config_version=4
+
+[application]
+
+config/name="Frivolous Run"
+run/main_scene="res://Menu.tscn"
+config/icon="res://icon.png"
+
+[display]
+
+window/size/width=1280
+window/size/height=720
+window/stretch/mode="2d"
+window/stretch/aspect="keep"
+
+[physics]
+
+common/enable_pause_aware_picking=true
+
+[rendering]
+
+quality/driver/driver_name="GLES2"
+vram_compression/import_etc=true
+vram_compression/import_etc2=false
+environment/default_environment="res://default_env.tres"
diff --git a/text236.png b/text236.png
new file mode 100644
index 0000000..4782070
--- /dev/null
+++ b/text236.png
Binary files differ
diff --git a/text236.png.import b/text236.png.import
new file mode 100644
index 0000000..44cb95e
--- /dev/null
+++ b/text236.png.import
@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/text236.png-ac7c1c4ba3a80623be9d9bdf46e25e36.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://text236.png"
+dest_files=[ "res://.import/text236.png-ac7c1c4ba3a80623be9d9bdf46e25e36.stex" ]
+
+[params]
+
+compress/mode=0
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=0
+flags/filter=true
+flags/mipmaps=false
+flags/anisotropic=false
+flags/srgb=2
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0