From 4ed75ff93b742c32047bf65bb451b0549638f012 Mon Sep 17 00:00:00 2001 From: VoidTwo Date: Tue, 19 Oct 2021 12:58:01 -0500 Subject: [PATCH] Base version of game --- Fonts/Ash.ttf | Bin 0 -> 21108 bytes Main Menu.gd | 13 ++ Main Menu.tscn | 124 ++++++++++++ Main.gd | 61 ++++++ Main.tscn | 14 ++ Player.gd | 24 +++ Player.tscn | 213 ++++++++++++++++++++ Resources/Ash.tres | 6 + Resources/default_env.tres | 7 + Splash Screen.gd | 29 +++ Splash Screen.tscn | 12 ++ Sprites/Black_Background.png | Bin 0 -> 102 bytes Sprites/Black_Background.png.import | 34 ++++ Sprites/Continue_Button_Disabled.png | Bin 0 -> 198 bytes Sprites/Continue_Button_Disabled.png.import | 34 ++++ Sprites/Continue_Button_Hover.png | Bin 0 -> 198 bytes Sprites/Continue_Button_Hover.png.import | 34 ++++ Sprites/Continue_Button_Normal.png | Bin 0 -> 198 bytes Sprites/Continue_Button_Normal.png.import | 34 ++++ Sprites/Credits_Button_Hover.png | Bin 0 -> 187 bytes Sprites/Credits_Button_Hover.png.import | 34 ++++ Sprites/Credits_Button_Normal.png | Bin 0 -> 187 bytes Sprites/Credits_Button_Normal.png.import | 34 ++++ Sprites/Main_Menu_Background.png | Bin 0 -> 958 bytes Sprites/Main_Menu_Background.png.import | 34 ++++ Sprites/New_Game_Button_Hover.png | Bin 0 -> 214 bytes Sprites/New_Game_Button_Hover.png.import | 34 ++++ Sprites/New_Game_Button_Normal.png | Bin 0 -> 214 bytes Sprites/New_Game_Button_Normal.png.import | 34 ++++ Sprites/Player.png | Bin 0 -> 141 bytes Sprites/Player.png.import | 34 ++++ Sprites/Player_Down.png | Bin 0 -> 145 bytes Sprites/Player_Down.png.import | 34 ++++ Sprites/Player_Up.png | Bin 0 -> 134 bytes Sprites/Player_Up.png.import | 34 ++++ Sprites/Quit_Button_Hover.png | Bin 0 -> 157 bytes Sprites/Quit_Button_Hover.png.import | 34 ++++ Sprites/Quit_Button_Normal.png | Bin 0 -> 157 bytes Sprites/Quit_Button_Normal.png.import | 34 ++++ Sprites/Settings_Button_Hover.png | Bin 0 -> 205 bytes Sprites/Settings_Button_Hover.png.import | 34 ++++ Sprites/Settings_Button_Normal.png | Bin 0 -> 205 bytes Sprites/Settings_Button_Normal.png.import | 34 ++++ Sprites/Splash_Screen.png | Bin 0 -> 927 bytes Sprites/Splash_Screen.png.import | 34 ++++ World.gd | 5 + World.tscn | 12 ++ icon.png | Bin 0 -> 3305 bytes icon.png.import | 34 ++++ project.godot | 61 ++++++ 50 files changed, 1193 insertions(+) create mode 100644 Fonts/Ash.ttf create mode 100644 Main Menu.gd create mode 100644 Main Menu.tscn create mode 100644 Main.gd create mode 100644 Main.tscn create mode 100644 Player.gd create mode 100644 Player.tscn create mode 100644 Resources/Ash.tres create mode 100644 Resources/default_env.tres create mode 100644 Splash Screen.gd create mode 100644 Splash Screen.tscn create mode 100644 Sprites/Black_Background.png create mode 100644 Sprites/Black_Background.png.import create mode 100644 Sprites/Continue_Button_Disabled.png create mode 100644 Sprites/Continue_Button_Disabled.png.import create mode 100644 Sprites/Continue_Button_Hover.png create mode 100644 Sprites/Continue_Button_Hover.png.import create mode 100644 Sprites/Continue_Button_Normal.png create mode 100644 Sprites/Continue_Button_Normal.png.import create mode 100644 Sprites/Credits_Button_Hover.png create mode 100644 Sprites/Credits_Button_Hover.png.import create mode 100644 Sprites/Credits_Button_Normal.png create mode 100644 Sprites/Credits_Button_Normal.png.import create mode 100644 Sprites/Main_Menu_Background.png create mode 100644 Sprites/Main_Menu_Background.png.import create mode 100644 Sprites/New_Game_Button_Hover.png create mode 100644 Sprites/New_Game_Button_Hover.png.import create mode 100644 Sprites/New_Game_Button_Normal.png create mode 100644 Sprites/New_Game_Button_Normal.png.import create mode 100644 Sprites/Player.png create mode 100644 Sprites/Player.png.import create mode 100644 Sprites/Player_Down.png create mode 100644 Sprites/Player_Down.png.import create mode 100644 Sprites/Player_Up.png create mode 100644 Sprites/Player_Up.png.import create mode 100644 Sprites/Quit_Button_Hover.png create mode 100644 Sprites/Quit_Button_Hover.png.import create mode 100644 Sprites/Quit_Button_Normal.png create mode 100644 Sprites/Quit_Button_Normal.png.import create mode 100644 Sprites/Settings_Button_Hover.png create mode 100644 Sprites/Settings_Button_Hover.png.import create mode 100644 Sprites/Settings_Button_Normal.png create mode 100644 Sprites/Settings_Button_Normal.png.import create mode 100644 Sprites/Splash_Screen.png create mode 100644 Sprites/Splash_Screen.png.import create mode 100644 World.gd create mode 100644 World.tscn create mode 100644 icon.png create mode 100644 icon.png.import create mode 100644 project.godot diff --git a/Fonts/Ash.ttf b/Fonts/Ash.ttf new file mode 100644 index 0000000000000000000000000000000000000000..599f0b8ee894fd7bec60033b58fe9fc1f3f00932 GIT binary patch literal 21108 zcmeHvdw3K@)_0xip6O09fecAVOeSG6fuJa; zQBfnJqN3u8g32l?>#}Zi(Pdp!Tv5?QMK|15ysYBNF1R9OI^VClr#qwWzR&*ie$VrL zkI|YsU6*sKQ>RWDfJvO|9c4&@3+VPmT8 z0b2nc2OGKcF011M&^OYIv5kyBTglqbm<8n(E*C3ht~1>BXYFDtP{z}9)r=lK^qpv7 zkFdhW0tb@R3CUYnfB8#RXg|i(m~II22+DI=f9Y}-BYVKp6HKu^*89CQlns=hMcu`~ z6ORFU19i`%J!DY#BM0xIOx=rgEz(m+-=h6HNFOpq-U?|Tx5$-K7@--cpN^D;bPv)^ z(A#xL4+DOlB?vt7An-Sjsp{=0e+HH!>cU8Z4rr<$gKi%3LlOGuBlw92p4b?`r%?wB zvqM%Th$Y|^muANA4uer4dW+C=pF zpPo%#ewh<5{x{i)uJjHlJh9BrGGKQi|;4yPPCxREc`7tf?S$-dN!f&D9 zkNGp7MO&fkpX8A-)8!UC2pbl9M=nJ@o3#GhT-dZ|8;v*GHZ0k}vpxqfhjd;A{fOPc zN9w%Tr=kw?Pr@2u&qsofwA=dhr_*Qvt@#mpz#(W0d_opcFY4?O`Ni5J>MZ{LX~-+u z*%un^?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mA6faa3fVVG)j|^Dq9;3G84x-1U{3a{*i{}bF9}= zgu@plkqSl(^$2-%D5=e;H@oVEHod>R5Y27%LO5Hk&mZzC5nS?BsE|ZuNEb~Yvn|#| z^XsA+Oir5218uy$QE4{hlY$M+cI;f6ym>Y~lR}U&LSJfud^Jd5$JQ(q?+|EBw)+2w zO-BT$F=~-Y{UKKGtb;M$y2i#lw>!VUgbMR4DBptmYCTq2p#>FLP_YG-SkPD#Dso$p zMWe{1k>|1S<#Ny7k_{+EO3Z1GZTVJ@~X7h9N%EzHFh<`N5Yi6w7|MWe)`QDV_3 zv1pW7G)gQQB^Hemi^f=s##oESSc}G3i^f=s##oESSc}G3i$-xD7Lx{MNW^yY+-7Z_ z+oX}_HfiL!O&WP_lSZD~q><+~Y2>+0Ir7{VjXaA+AJ2tmnR{%BeO`Ugi`Z?Mk7YGZuuHE>sGCEQiMyI_iu7f+S_jX|%y1!rj?ua3DWFF#_7fFfg4lvhxg zALDBcA%emYR}4Z;pE!hTaD*BV^cZk!TwUW*6Lz$Mk3gg%#v2SaFZ28ALW&NxwZ!Uq zP~b2sYnzt^3}|68(mTIrx(HMZN5H5uCzBu2Kw#KDi zzb{bZvo$ogwff?r2ERCG^ZKzi#)`(!oj=rKfeSvg!7y&#co_w==p-H09#9UzF$u~>#%{KWa9z7SVdd$WJCL8${U{cRF z`6;jfv&v(V$TRWi1p;%v$*RX{Y-0A9{CG@$JSJvcEYZEt641h void: + emit_signal('complete', 'new game') + return + + +func _on_quit_button_pressed() -> void: + emit_signal('complete', 'quit') + return diff --git a/Main Menu.tscn b/Main Menu.tscn new file mode 100644 index 0000000..01f1acd --- /dev/null +++ b/Main Menu.tscn @@ -0,0 +1,124 @@ +[gd_scene load_steps=16 format=2] + +[ext_resource path="res://Sprites/Settings_Button_Normal.png" type="Texture" id=1] +[ext_resource path="res://Sprites/Continue_Button_Hover.png" type="Texture" id=2] +[ext_resource path="res://Sprites/Credits_Button_Normal.png" type="Texture" id=3] +[ext_resource path="res://Sprites/Continue_Button_Normal.png" type="Texture" id=4] +[ext_resource path="res://Sprites/New_Game_Button_Normal.png" type="Texture" id=5] +[ext_resource path="res://Sprites/Continue_Button_Disabled.png" type="Texture" id=6] +[ext_resource path="res://Sprites/New_Game_Button_Hover.png" type="Texture" id=7] +[ext_resource path="res://Sprites/Quit_Button_Normal.png" type="Texture" id=8] +[ext_resource path="res://Sprites/Credits_Button_Hover.png" type="Texture" id=9] +[ext_resource path="res://Sprites/Settings_Button_Hover.png" type="Texture" id=10] +[ext_resource path="res://Sprites/Quit_Button_Hover.png" type="Texture" id=11] +[ext_resource path="res://Sprites/Main_Menu_Background.png" type="Texture" id=12] +[ext_resource path="res://Resources/Ash.tres" type="DynamicFontData" id=13] +[ext_resource path="res://Main Menu.gd" type="Script" id=14] + +[sub_resource type="DynamicFont" id=1] +size = 20 +use_mipmaps = true +extra_spacing_bottom = 15 +font_data = ExtResource( 13 ) + +[node name="Main Menu" type="Node"] +script = ExtResource( 14 ) + +[node name="Background" type="Sprite" parent="."] +texture = ExtResource( 12 ) +centered = false + +[node name="Menu Items" type="MarginContainer" parent="."] +margin_left = 10.0 +margin_top = 10.0 +rect_min_size = Vector2( 300, 160 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="Menu Items"] +margin_right = 300.0 +margin_bottom = 160.0 +alignment = 2 + +[node name="Title" type="Label" parent="Menu Items/VBoxContainer"] +margin_top = 23.0 +margin_right = 300.0 +margin_bottom = 62.0 +custom_fonts/font = SubResource( 1 ) +text = "Embodiment" +align = 1 +valign = 1 + +[node name="CenterContainer" type="CenterContainer" parent="Menu Items/VBoxContainer"] +margin_top = 66.0 +margin_right = 300.0 +margin_bottom = 160.0 + +[node name="Menu Options" type="VBoxContainer" parent="Menu Items/VBoxContainer/CenterContainer"] +margin_left = 108.0 +margin_right = 191.0 +margin_bottom = 94.0 + +[node name="CenterContainer" type="CenterContainer" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options"] +margin_right = 83.0 +margin_bottom = 15.0 + +[node name="Continue Button" type="TextureButton" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer"] +margin_left = 7.0 +margin_right = 75.0 +margin_bottom = 15.0 +disabled = true +texture_normal = ExtResource( 4 ) +texture_hover = ExtResource( 2 ) +texture_disabled = ExtResource( 6 ) + +[node name="CenterContainer2" type="CenterContainer" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options"] +margin_top = 19.0 +margin_right = 83.0 +margin_bottom = 33.0 + +[node name="New Game Button" type="TextureButton" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer2"] +margin_right = 83.0 +margin_bottom = 14.0 +texture_normal = ExtResource( 5 ) +texture_hover = ExtResource( 7 ) + +[node name="CenterContainer3" type="CenterContainer" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options"] +margin_top = 37.0 +margin_right = 83.0 +margin_bottom = 56.0 + +[node name="Settings Button" type="TextureButton" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer3"] +margin_left = 11.0 +margin_right = 72.0 +margin_bottom = 19.0 +texture_normal = ExtResource( 1 ) +texture_hover = ExtResource( 10 ) + +[node name="CenterContainer4" type="CenterContainer" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options"] +margin_top = 60.0 +margin_right = 83.0 +margin_bottom = 75.0 + +[node name="Credits Button" type="TextureButton" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer4"] +margin_left = 16.0 +margin_right = 67.0 +margin_bottom = 15.0 +texture_normal = ExtResource( 3 ) +texture_hover = ExtResource( 9 ) + +[node name="CenterContainer5" type="CenterContainer" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options"] +margin_top = 79.0 +margin_right = 83.0 +margin_bottom = 94.0 + +[node name="Quit Button" type="TextureButton" parent="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer5"] +margin_left = 24.0 +margin_right = 58.0 +margin_bottom = 15.0 +texture_normal = ExtResource( 8 ) +texture_hover = ExtResource( 11 ) + +[connection signal="pressed" from="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer2/New Game Button" to="." method="_on_new_game_button_pressed"] +[connection signal="pressed" from="Menu Items/VBoxContainer/CenterContainer/Menu Options/CenterContainer5/Quit Button" to="." method="_on_quit_button_pressed"] diff --git a/Main.gd b/Main.gd new file mode 100644 index 0000000..9d139b2 --- /dev/null +++ b/Main.gd @@ -0,0 +1,61 @@ +extends Node + +export var splash_screen_path: String +export var main_menu_path: String +export var world_path: String + + +func _ready() -> void: + var splash_screen: Node = play_splash_screen() + yield(splash_screen, 'complete') + splash_screen = null + + var main_menu: Node = play_main_menu() + yield(main_menu, 'complete') + free_connected_node(main_menu, 'main_menu_option') + main_menu = null + return + + +func play_splash_screen() -> Node: + var splash_screen: Node = load(splash_screen_path).instance() + if splash_screen.connect('complete', self, 'free_connected_node', [splash_screen, 'free_connected_node']) != OK: + print('ERROR: Splash Screen "complete" signal already connected.') + + add_child(splash_screen) + return splash_screen + + +func play_main_menu() -> Node: + var main_menu: Node = load(main_menu_path).instance() + if main_menu.connect('complete', self, 'main_menu_option') != OK: + print('ERROR: Main Menu "quit" signal already connected.') + + add_child(main_menu) + return main_menu + + +func main_menu_option(option: String) -> void: + if option == 'new game': + new_game() + elif option == 'quit': + quit_game() + return + + +func free_connected_node(node: Node, connected_function: String) -> void: + node.disconnect('complete', self, connected_function) + remove_child(node) + node.queue_free() + return + + +func new_game() -> void: + if get_tree().change_scene(world_path) != OK: + print('ERROR: Main failed to change scene to World.') + return + + +func quit_game() -> void: + get_tree().quit() + return diff --git a/Main.tscn b/Main.tscn new file mode 100644 index 0000000..04cf11e --- /dev/null +++ b/Main.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Main.gd" type="Script" id=1] +[ext_resource path="res://Sprites/Black_Background.png" type="Texture" id=3] + +[node name="Main" type="Node"] +script = ExtResource( 1 ) +splash_screen_path = "res://Splash Screen.tscn" +main_menu_path = "res://Main Menu.tscn" +world_path = "res://World.tscn" + +[node name="Background" type="Sprite" parent="."] +texture = ExtResource( 3 ) +centered = false diff --git a/Player.gd b/Player.gd new file mode 100644 index 0000000..2865a3b --- /dev/null +++ b/Player.gd @@ -0,0 +1,24 @@ +extends KinematicBody2D + +const ACCELERATION = 1000 +const MAX_SPEED = 120 +const FRICTION = 1000 + +var velocity: Vector2 = Vector2.ZERO + + +func _physics_process(delta) -> void: + var input_vector: Vector2 = Vector2.ZERO + + input_vector.x = Input.get_action_strength('player_right') - Input.get_action_strength('player_left') + input_vector.y = Input.get_action_strength('player_down') - Input.get_action_strength('player_up') + input_vector = input_vector.normalized() + + if input_vector != Vector2.ZERO: + $AnimationTree.set('parameters/Idle/blend_position', input_vector) + velocity = velocity.move_toward(input_vector * MAX_SPEED, ACCELERATION * delta) + else: + velocity = velocity.move_toward(Vector2.ZERO, FRICTION * delta) + + velocity = move_and_slide(velocity) + return diff --git a/Player.tscn b/Player.tscn new file mode 100644 index 0000000..b905625 --- /dev/null +++ b/Player.tscn @@ -0,0 +1,213 @@ +[gd_scene load_steps=19 format=2] + +[ext_resource path="res://Player.gd" type="Script" id=1] +[ext_resource path="res://Sprites/Player.png" type="Texture" id=2] +[ext_resource path="res://Sprites/Player_Down.png" type="Texture" id=3] +[ext_resource path="res://Sprites/Player_Up.png" type="Texture" id=4] + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 2 ) ], +"loop": false, +"name": "look_right", +"speed": 5.0 +}, { +"frames": [ ExtResource( 2 ) ], +"loop": false, +"name": "look_left", +"speed": 5.0 +}, { +"frames": [ ExtResource( 4 ) ], +"loop": false, +"name": "look_up", +"speed": 5.0 +}, { +"frames": [ ExtResource( 3 ) ], +"loop": false, +"name": "look_down", +"speed": 5.0 +} ] + +[sub_resource type="CapsuleShape2D" id=2] +radius = 3.0 +height = 5.0 + +[sub_resource type="CapsuleShape2D" id=3] +radius = 5.5 +height = 3.75 + +[sub_resource type="Animation" id=4] +resource_name = "Look Down" +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "look_down" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:flip_h") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ false ] +} + +[sub_resource type="Animation" id=5] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "look_right" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:flip_h") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ true ] +} + +[sub_resource type="Animation" id=6] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "look_right" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:flip_h") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ false ] +} + +[sub_resource type="Animation" id=7] +resource_name = "Look Up" +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "look_up" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite:flip_h") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ false ] +} + +[sub_resource type="AnimationNodeAnimation" id=8] +animation = "Look Left" + +[sub_resource type="AnimationNodeAnimation" id=9] +animation = "Look Down" + +[sub_resource type="AnimationNodeAnimation" id=10] +animation = "Look Right" + +[sub_resource type="AnimationNodeAnimation" id=11] +animation = "Look Up" + +[sub_resource type="AnimationNodeBlendSpace2D" id=12] +blend_point_0/node = SubResource( 8 ) +blend_point_0/pos = Vector2( -1.01, 0 ) +blend_point_1/node = SubResource( 9 ) +blend_point_1/pos = Vector2( 0, 1.1 ) +blend_point_2/node = SubResource( 10 ) +blend_point_2/pos = Vector2( 1, 0 ) +blend_point_3/node = SubResource( 11 ) +blend_point_3/pos = Vector2( 0, -1.1 ) +min_space = Vector2( -1.01, -1.1 ) +max_space = Vector2( 1, 1.1 ) +blend_mode = 1 + +[sub_resource type="AnimationNodeStateMachine" id=13] +states/Idle/node = SubResource( 12 ) +states/Idle/position = Vector2( -2901.63, -177 ) +start_node = "Idle" +graph_offset = Vector2( -3591.37, -302.6 ) + +[sub_resource type="AnimationNodeStateMachinePlayback" id=14] + +[node name="Player" type="KinematicBody2D"] +script = ExtResource( 1 ) + +[node name="Sprite" type="AnimatedSprite" parent="."] +position = Vector2( 0, -5 ) +scale = Vector2( 2, 2 ) +frames = SubResource( 1 ) +animation = "look_right" + +[node name="Collision" type="CollisionShape2D" parent="."] +visible = false +rotation = 1.5708 +shape = SubResource( 2 ) + +[node name="Hitbox" type="CollisionShape2D" parent="."] +visible = false +position = Vector2( 0, -5 ) +shape = SubResource( 3 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Look Right" +"anims/Look Down" = SubResource( 4 ) +"anims/Look Left" = SubResource( 5 ) +"anims/Look Right" = SubResource( 6 ) +"anims/Look Up" = SubResource( 7 ) + +[node name="AnimationTree" type="AnimationTree" parent="."] +tree_root = SubResource( 13 ) +anim_player = NodePath("../AnimationPlayer") +active = true +parameters/playback = SubResource( 14 ) +parameters/Idle/blend_position = Vector2( 0.993787, 0.0189655 ) diff --git a/Resources/Ash.tres b/Resources/Ash.tres new file mode 100644 index 0000000..adf47b7 --- /dev/null +++ b/Resources/Ash.tres @@ -0,0 +1,6 @@ +[gd_resource type="DynamicFontData" format=2] + +[resource] +antialiased = false +hinting = 0 +font_path = "res://Fonts/Ash.ttf" diff --git a/Resources/default_env.tres b/Resources/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/Resources/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/Splash Screen.gd b/Splash Screen.gd new file mode 100644 index 0000000..c205b99 --- /dev/null +++ b/Splash Screen.gd @@ -0,0 +1,29 @@ +extends Sprite + +signal complete + + +func _ready() -> void: + # Fade in + if not $Tween.interpolate_property(self, 'self_modulate:a', 0, 1, 3, Tween.TRANS_LINEAR, Tween.EASE_IN): + print('ERROR: Splash Screen fade in animation has errors.') + if not $Tween.start(): + print('ERROR: Splash Screen fade in animation failed to start.') + + yield($Tween, 'tween_completed') # Wait for fade in to complete + + # Fade out + if not $Tween.interpolate_property(self, 'self_modulate:a', 1, 0, 3, Tween.TRANS_LINEAR, Tween.EASE_OUT, 2): + print('ERROR: Splash Screen fade out animation has errors.') + if not $Tween.start(): + print('ERROR: Splash Screen fade out animation failed to start.') + + yield($Tween, 'tween_completed') # Wait for fade out to complete + emit_signal('complete') + return + + +func _input(event: InputEvent) -> void: + if event.is_action_pressed('ui_accept'): + emit_signal('complete') + return diff --git a/Splash Screen.tscn b/Splash Screen.tscn new file mode 100644 index 0000000..53f739c --- /dev/null +++ b/Splash Screen.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Sprites/Splash_Screen.png" type="Texture" id=1] +[ext_resource path="res://Splash Screen.gd" type="Script" id=2] + +[node name="Splash Screen" type="Sprite"] +self_modulate = Color( 1, 1, 1, 0 ) +texture = ExtResource( 1 ) +centered = false +script = ExtResource( 2 ) + +[node name="Tween" type="Tween" parent="."] diff --git a/Sprites/Black_Background.png b/Sprites/Black_Background.png new file mode 100644 index 0000000000000000000000000000000000000000..1a8cb14233a3835d5d209005b2272efe11ab0dd9 GIT binary patch literal 102 zcmeAS@N?(olHy`uVBq!ia0y~yU~~Yow=gmT$@^OAKmi8k0G|+7AiccG_7;$m^K@|x tskrs_pdllWcWA*^|6E@F1wbYU)bYw(VPM?*qreNq^K|udS?83{1OP*67$*P# literal 0 HcmV?d00001 diff --git a/Sprites/Black_Background.png.import b/Sprites/Black_Background.png.import new file mode 100644 index 0000000..5cf4be8 --- /dev/null +++ b/Sprites/Black_Background.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Black_Background.png-39e1a9d1fa48514c17a2f948901aa71e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Black_Background.png" +dest_files=[ "res://.import/Black_Background.png-39e1a9d1fa48514c17a2f948901aa71e.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/Continue_Button_Disabled.png b/Sprites/Continue_Button_Disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..7847a0f84ba5ea302db6b8768939c76eaf79613c GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^E_!@pljrH;7{VdTdT=!_lcNa3ft}?X1>#aSge)4F3l}m;Dcx*g%4oFWNKzGQ zk8O1jP*M4l=D)WO_6SU`{wH?bnf1iKU=JC$elzQCpv?@Pu6{1-oD!M_!@pljrH;7{VdTdT=!_lcNa3ft}?X1>#aSge)4F3l}m;Dcx*g%4oFWNKzGQ zk8O1jP*M4l=D)WO_6SU`{wH?bnf1iKU=JC$elzQCpv?@Pu6{1-oD!M;L>^ zILtUZ`6Oq0L(Sp(cEysziLH+vYP%eM9bjx@I@)%ei(N=UM?_9SdyYrKgYXRx!&k6N f9XN1+;|RkwGll8vdXmC`)-iax`njxgN@xNAhsHZh literal 0 HcmV?d00001 diff --git a/Sprites/Credits_Button_Hover.png.import b/Sprites/Credits_Button_Hover.png.import new file mode 100644 index 0000000..c58efe1 --- /dev/null +++ b/Sprites/Credits_Button_Hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Credits_Button_Hover.png-b998170df41af4609721f8c9cea2a715.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Credits_Button_Hover.png" +dest_files=[ "res://.import/Credits_Button_Hover.png-b998170df41af4609721f8c9cea2a715.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/Credits_Button_Normal.png b/Sprites/Credits_Button_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..6f5aed8d812b0a11dcc8b63051b84c3fd39f72b0 GIT binary patch literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^#z4%^$P6Tlucz(@QfvV}A+A9B|Ns9>Z_d99WHFWm z`2{mLJiCzwTw3->z74II;DyLv5GCuLF#2Oh?;}bFm9a=!nQkXwUITco4qfVfYGm fsRIWNa2#Q{W~MNGT~AUN&^iWBS3j3^P6RnJFndPe`@`Dk@k=!+m^<9XP>QS`fNCX zH_l+5ZClIdmAB+pr!XAuWjxZZx>L)mbHe_N`z^k;N?)c;$ZZhzlg#7U?~6P`R9um6907hU-*^#l;O}1 zL4%lD$JgS*E;dZtgugH=y>NGk*gvhQ4oIps?4Prz?tte0&u99*n%K_pXK?Zd-%o0q zcIx5t#C`e?QXFgBE&)|0ELyOQfkh4IgdGzV^cb&LGaa%z%XCGmfj{OVYhBg*@;9IV zPPuL~r>@T73u_1y-}m5v2@NyrxVWnR>MW>v&Z4p)=c7vT9sl0>{u3HL38`0H0W#eu zG$biK00zvf+dcPNfB~^dfsyluL%`pL&8(afZ^ar4eq5cWz?hoN33RE8qv2KdmOU*t z4wb>B4l~+)1*h0+@p0UA5?k;lM5>_r-=6X}o1z09>XjLfhIDL@Ss*&4`6|1Qz@0yP znpma?PX#hXR_aAa2l$n#JE;8V6u9tXs`wf%4mRBm%`91Pr1~9VR|yHC$rXppdXdvmt|}!>K`t$J3X=MH?u4r@+C4nT125zhSA8 z0^?-mgzy9X>!mpSzJBHw`tVqt>DS*^+(H{3u@u@n2yBp7SQ9Vo*rNrG0luaaJq>@H zdzM~WtJS1jXTI)`u`Ykb!;}8^r)WuhzrCyPya=O7>W{PHSLS|V*~qfs-81$rsz1(( zUU6Q^k;Lj?8*#{#e+|Qm_T7J0iG?wQ_zKoo{P1FWwQ}8_4PAm)KYZr?#o4IJ@U?`` zfnBjJ^o+h#| Vy_!@pQ|Ia87{VdTdeD&XV1fk0h3o4DRqo0-@@RPEr5> literal 0 HcmV?d00001 diff --git a/Sprites/New_Game_Button_Hover.png.import b/Sprites/New_Game_Button_Hover.png.import new file mode 100644 index 0000000..213728e --- /dev/null +++ b/Sprites/New_Game_Button_Hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/New_Game_Button_Hover.png-21e421038c32d170b2e5500a0cb32d33.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/New_Game_Button_Hover.png" +dest_files=[ "res://.import/New_Game_Button_Hover.png-21e421038c32d170b2e5500a0cb32d33.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/New_Game_Button_Normal.png b/Sprites/New_Game_Button_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..83b0f7c3a5640d98c39043f9ac70357e709d0bce GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^!9dK%$P6Sib2eoGDYgKg5LY1m|NsA`H|O64vKUK( z{DK)Ap4~_Ta_T%?978x{Sq~cW9ZZm5xNv>Fpvqkthx|o_P4^CDY>obRg{_b)3$bxN@N+d8027(8A5 KT-G@yGywp7(ouT= literal 0 HcmV?d00001 diff --git a/Sprites/New_Game_Button_Normal.png.import b/Sprites/New_Game_Button_Normal.png.import new file mode 100644 index 0000000..b19d0bf --- /dev/null +++ b/Sprites/New_Game_Button_Normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/New_Game_Button_Normal.png-0438e55e0588da7621f589e9b6fd5889.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/New_Game_Button_Normal.png" +dest_files=[ "res://.import/New_Game_Button_Normal.png-0438e55e0588da7621f589e9b6fd5889.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/Player.png b/Sprites/Player.png new file mode 100644 index 0000000000000000000000000000000000000000..86d58e4c3d191aa8b192d62ddb1f4539c908b1e1 GIT binary patch literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^93afX3?$7I7w-U4LIFM@u0UEz!9+{lQ%%`IUB&kI zC$lLb{mDR4#*!evU<%eTOw7v6hZ&jK(kwF1+^uKuC^9oX z;K`>ja{`Z|YQvI)k1ZW0{eRwnjG2drM}~)o!Bt&k)%MVx2|xoGJYD@<);T3K0RW8P BD(3(I literal 0 HcmV?d00001 diff --git a/Sprites/Quit_Button_Hover.png.import b/Sprites/Quit_Button_Hover.png.import new file mode 100644 index 0000000..0943088 --- /dev/null +++ b/Sprites/Quit_Button_Hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Quit_Button_Hover.png-8fa942addfbf4276883d06cfdba94ce1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Quit_Button_Hover.png" +dest_files=[ "res://.import/Quit_Button_Hover.png-8fa942addfbf4276883d06cfdba94ce1.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/Quit_Button_Normal.png b/Sprites/Quit_Button_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..732ae728648c7294658b1fb70480d84352806916 GIT binary patch literal 157 zcmeAS@N?(olHy`uVBq!ia0vp^NZ_d99WHFWm z`2{mLJiCzwY*!3-otq`uAtQfvV}A+A9B|0f39Qa)KAi?Jlg zFPOpM*^M+Hr_|HMF{I+w(Fu%PEQTD+XaC#R7HF2Zgx%D;zz}vtQT3u%m*=n7J>L$R zTV0ZLH@;iHe7WhxEFSZBU#5g4#oA6Y_^eiR{MynR`P;n~hgcn9oT+Yg{Oh!1#uwve zh#7DOd)oGz6fowrznPUGv$lbsY*!3-otq`uAtQfvV}A+A9B|Ns9>Z_d99WHFWm z`2{mLJiCzwD5_rc>hk>cy64+L zbE`{|?#6fPmoGQHn8joM?#q;rq*&W&2A|c6j$d1PBY(Ts;t;DNj5F1(j(?qY%=lv5 z3^4=FU{Bj#lLE$^_BXRKWY#wDv%F!dJ-l;+eefZMALrZU=K&qS;OXk;vd$@?2>=5) BOkn^3 literal 0 HcmV?d00001 diff --git a/Sprites/Settings_Button_Normal.png.import b/Sprites/Settings_Button_Normal.png.import new file mode 100644 index 0000000..6549c94 --- /dev/null +++ b/Sprites/Settings_Button_Normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Settings_Button_Normal.png-28d0863b0e4a74a8b4c82406a069794f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Settings_Button_Normal.png" +dest_files=[ "res://.import/Settings_Button_Normal.png-28d0863b0e4a74a8b4c82406a069794f.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/Sprites/Splash_Screen.png b/Sprites/Splash_Screen.png new file mode 100644 index 0000000000000000000000000000000000000000..47a4b3ed6dc5d9a9f79bc40788e88e613ef86a98 GIT binary patch literal 927 zcmV;Q17Q4#P)}QFe7mKt4Y;fm1^J767z<2@IEcyZJ@0<^) zRf++`9Z<`FLV(%`u+s$O^aAwpjR9LsK!^e00LlRF`wier0{Zy&w15Ms1GpSRKv@So zS;8CC!-0E|abH~4Crla&4X1JVr@oPfE)E}(pSz-){VkWG5u zmE+2bfFh}&As`6)kG%l}0re7~?gFA;JO!T$&}x9nfVK11mH-FP>VU;H+#68t4#>eTjkP|Xsiz&DdC^rO*Pn0tOK~Ozd zqt^l20w9G1TLH4*KA^1uDgf358L-77t^>-g0NIZPW57;=w+GZ+K%ptffDIP0hJd;Z zSeSy^A8=Xl1VHfX4;TyH7%&smeLxpH3s5X2v>ea^lCQMT1IqLVToBY6pws|aaNUmq zRpcx{Nk4DmR)8$XeyW=L@q5&)iJ&QG50C|wTpaK}Na4;L(2BGsTn1!8rI`+@*-Kym zw~L^qe%?Y>0EIh-3s(;N3H%=#6D|V67_pzHz!$CWMuZmfIiTbp5D*MODDo*WAJnTC zG$3R~EY3Ts4iWYQdZ`bToMQ-)8v*hN5~iw+f_)5wGN}MUs(S0?9sKYUjefQ}2QmNv z004vhtQ6Z0RR9100000000000000000OGBB67hE5(WSO002ovPDHLkV1mwl Bfk*%V literal 0 HcmV?d00001 diff --git a/Sprites/Splash_Screen.png.import b/Sprites/Splash_Screen.png.import new file mode 100644 index 0000000..a4063df --- /dev/null +++ b/Sprites/Splash_Screen.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Splash_Screen.png-a97f644d643e70be1e13894b6beba98b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Splash_Screen.png" +dest_files=[ "res://.import/Splash_Screen.png-a97f644d643e70be1e13894b6beba98b.stex" ] + +[params] + +compress/mode=3 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=2 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=0 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/World.gd b/World.gd new file mode 100644 index 0000000..f349435 --- /dev/null +++ b/World.gd @@ -0,0 +1,5 @@ +extends Node2D + +func _ready() -> void: + $YSort/Player.position = get_viewport_rect().size / 2 + return diff --git a/World.tscn b/World.tscn new file mode 100644 index 0000000..ced7c73 --- /dev/null +++ b/World.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Player.tscn" type="PackedScene" id=1] +[ext_resource path="res://World.gd" type="Script" id=2] + +[node name="World" type="Node2D"] +script = ExtResource( 2 ) + +[node name="YSort" type="YSort" parent="."] + +[node name="Player" parent="YSort" instance=ExtResource( 1 )] +collision_mask = 2 diff --git a/icon.png b/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..c98fbb601c83c81ec8c22b1dba7d1d57c62b323c GIT binary patch literal 3305 zcmVNc=P)Px>qe(&U$es`gSqKCHF-lq>v1vga#%UF>TTrLR zW%{UNJKZi|Pj@Rc9GyPBD1CamMMf6SL~V^ag9~Vzut^L^0!Tv0LK0FTdnJ`x->EF(MZIP5kY*1-@^egP~7mH>({qi7{6 zQF;bN-XMq~+RzA8lI9AtJuz@PY*+{SP-Gbd@mZ(r*eE&`XO5!C>w#-pcmS28K^qzY zfTGCjor*I@ltgKb03nh#Fh$KpDL=o}gj-g4v6{}ZR1*mvXv?|gEA&Yr#r;Zw*d zUabIx8iHf+WoIO_c11Ba&!34XihSMF&C#YFDjU0)mmbXz3ex!D&t9UYp>;&R%(O(_ z*z^;&A84SWzKiQpqsdQ+Vs?rFS(f?R;c8xg_ft;Roec_~1KsVww}wzq5D}*5x6k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+0ukQSCOyP$^HEC+zzX51M#=e-?*xHWMDRcLdIV41daHy{HimwDo z6!_O=*(}MK!YeyJpmgu(cF1tpEv}m;0s8{4z4HlHyMxDncn8zs!g+OXEk`CeEj}9N zq#Ag1$#jyV_5AjYQg*!mS->;`S^;iU)ih9D+eks)H2z`1RHny;F<^CEwk+}d^k^Ph zl);*XQ|ayL;rZWh=fA(G2#AJz1&r&as9I8S@9m3Owftrb5n*)pTluK^9LHOFIo{G2 zG}l$9R*{<+L2hCsOJ~Lt6Q-rRub*8X{*4{)e}>%=_&DxOFeq1LRia4Yyj*Tyynw>F zxkKf(MiaG0*L|V-^Zhtvg-(-|F0&1rU8bqab*n5TT8~C860O$|6Rt%P1=1(EjIQZ% z;Y^PU2VC*~^2!sG?mbBPS0~0yd-+086)+rHjhfk6>CB$t`o%;=kdYF9NwiKkwbIpN z;_FlOuHQHHSZ&@fUuSI-S*t`DjsiIB z{=1M@JKVC$a8z{2;xCPfRb{~T>uo#5rL4L+z9n`rSUt3Tt nAZ`TZm+q1gPVN84&*%Ra7her>#-hHS00000NkvXXu0mjf|6N@O literal 0 HcmV?d00001 diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..96cbf46 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,34 @@ +[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 +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..c88bda6 --- /dev/null +++ b/project.godot @@ -0,0 +1,61 @@ +; 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="Embodiment" +run/main_scene="res://Main.tscn" +boot_splash/image="res://Sprites/Black_Background.png" +boot_splash/use_filter=false +boot_splash/bg_color=Color( 0, 0, 0, 1 ) +config/icon="res://icon.png" + +[display] + +window/size/width=320 +window/size/height=180 +window/size/test_width=1280 +window/size/test_height=720 +window/stretch/mode="2d" +window/stretch/aspect="keep" + +[input] + +player_right={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) + ] +} +player_left={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) + ] +} +player_up={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) + ] +} +player_down={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) + ] +} + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +quality/intended_usage/framebuffer_allocation=0 +quality/intended_usage/framebuffer_allocation.mobile=0 +environment/default_environment="res://Resources/default_env.tres" +quality/dynamic_fonts/use_oversampling=false