diff --git a/Main.tscn b/Main.tscn index a13b239..7d49a7a 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=31 format=2] +[gd_scene load_steps=37 format=2] [ext_resource path="res://Player.gd" type="Script" id=1] [ext_resource path="res://Camera.gd" type="Script" id=2] @@ -72,6 +72,18 @@ is_hemisphere = true [sub_resource type="BoxShape" id=22] +[sub_resource type="CubeMesh" id=23] + +[sub_resource type="BoxShape" id=24] + +[sub_resource type="PrismMesh" id=25] + +[sub_resource type="RayShape" id=26] + +[sub_resource type="BoxShape" id=27] + +[sub_resource type="CubeMesh" id=28] + [sub_resource type="CapsuleMesh" id=7] [sub_resource type="PanoramaSky" id=17] @@ -106,6 +118,7 @@ shape = SubResource( 3 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.36526, 0 ) [node name="Camera" type="Camera" parent="Player/CameraPivot"] +far = 8192.0 script = ExtResource( 2 ) [node name="Flashlight" type="SpotLight" parent="Player/CameraPivot"] @@ -251,7 +264,35 @@ material/0 = null [node name="CollisionShape" type="CollisionShape" parent="Obstacles/Cube2"] shape = SubResource( 5 ) -[node name="house" type="Node" parent="Obstacles"] +[node name="house" type="Spatial" parent="Obstacles"] + +[node name="AntiDepressant3" type="Area" parent="Obstacles/house"] +transform = Transform( 0.5, 0, 0, 0, 0.353553, -0.353553, 0, 0.353553, 0.353553, -9.01599, 1.3376, 20.2603 ) +script = ExtResource( 6 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/house/AntiDepressant3"] +mesh = SubResource( 11 ) +material/0 = SubResource( 12 ) + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/AntiDepressant3"] +shape = SubResource( 13 ) + +[node name="Timer" type="Timer" parent="Obstacles/house/AntiDepressant3"] +one_shot = true + +[node name="AntiDepressant4" type="Area" parent="Obstacles/house"] +transform = Transform( 0.5, 0, 0, 0, 0.353553, -0.353553, 0, 0.353553, 0.353553, -9.01599, 1.3376, 26.9602 ) +script = ExtResource( 6 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/house/AntiDepressant4"] +mesh = SubResource( 11 ) +material/0 = SubResource( 12 ) + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/AntiDepressant4"] +shape = SubResource( 13 ) + +[node name="Timer" type="Timer" parent="Obstacles/house/AntiDepressant4"] +one_shot = true [node name="wall" type="StaticBody" parent="Obstacles/house"] transform = Transform( -4.37114e-07, 0, 1, 0, 5, 0, -10, 0, -4.37114e-08, -12, 5, 25 ) @@ -262,6 +303,7 @@ mesh = SubResource( 14 ) material/0 = null [node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/wall"] +transform = Transform( 1, 0, -4.44089e-16, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shape = SubResource( 15 ) [node name="wall2" type="StaticBody" parent="Obstacles/house"] @@ -273,6 +315,7 @@ mesh = SubResource( 14 ) material/0 = null [node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/wall2"] +transform = Transform( 1, 0, -4.44089e-16, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shape = SubResource( 15 ) [node name="wall3" type="StaticBody" parent="Obstacles/house"] @@ -284,6 +327,7 @@ mesh = SubResource( 14 ) material/0 = null [node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/wall3"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shape = SubResource( 15 ) [node name="table" type="StaticBody" parent="Obstacles/house"] @@ -303,8 +347,10 @@ shape = SubResource( 15 ) [node name="Candle" type="OmniLight" parent="Obstacles/house/table/candle"] transform = Transform( 10, 0, 0, 0, 3.33333, 0, 0, 0, 10, 0, 1.62651, 0 ) light_color = Color( 1, 0.4, 0, 1 ) +light_energy = 0.706 shadow_enabled = true -omni_range = 3.685 +omni_range = 10.325 +omni_attenuation = 5.09823 script = ExtResource( 8 ) [node name="Particles" type="Particles" parent="Obstacles/house/table/candle"] @@ -335,13 +381,82 @@ shape = SubResource( 15 ) transform = Transform( 10, 0, 0, 0, -4.37114e-07, -1, 0, 10, -4.37114e-08, -3, 9, 25 ) [node name="MeshInstance" type="MeshInstance" parent="Obstacles/house/roof"] -transform = Transform( 1, 0, -4.44089e-16, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +transform = Transform( 1, 0, -4.44089e-16, 0, 1, 4.44089e-16, 0, 0, 1, 0, 0, 0 ) mesh = SubResource( 14 ) material/0 = null [node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/roof"] +transform = Transform( 1, 0, 0, 0, 1, 4.44089e-16, 0, 0, 1, 0, 0, 0 ) shape = SubResource( 15 ) +[node name="MoodStabilizer3" type="Area" parent="Obstacles/house"] +transform = Transform( 0.5, 0, 0, 0, 0.353553, -0.353553, 0, 0.353553, 0.353553, 2.926, 1.338, 27.2788 ) +script = ExtResource( 5 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/house/MoodStabilizer3"] +mesh = SubResource( 9 ) +skeleton = NodePath("") +material/0 = SubResource( 10 ) + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/MoodStabilizer3"] +shape = SubResource( 8 ) + +[node name="Timer" type="Timer" parent="Obstacles/house/MoodStabilizer3"] +one_shot = true + +[node name="MoodStabilizer4" type="Area" parent="Obstacles/house"] +transform = Transform( 0.5, 0, 0, 0, 0.353553, -0.353553, 0, 0.353553, 0.353553, 2.926, 1.338, 19.5983 ) +script = ExtResource( 5 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/house/MoodStabilizer4"] +mesh = SubResource( 9 ) +skeleton = NodePath("") +material/0 = SubResource( 10 ) + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/house/MoodStabilizer4"] +shape = SubResource( 8 ) + +[node name="Timer" type="Timer" parent="Obstacles/house/MoodStabilizer4"] +one_shot = true + +[node name="Goal" type="StaticBody" parent="Obstacles"] +transform = Transform( 33, 0, 0, 0, 33, 0, 0, 0, 33, 0, 33, -390.238 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/Goal"] +mesh = SubResource( 23 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/Goal"] +shape = SubResource( 24 ) + +[node name="GoalLight" type="SpotLight" parent="Obstacles/Goal"] +transform = Transform( 0.0276673, -0.00530406, 0.0111653, 0, 0.0273715, 0.0130028, -0.0123611, -0.0118718, 0.0249907, 0.883961, 1.87543, 1.80718 ) +shadow_enabled = true +shadow_bias = 0.667 +spot_range = 99.285 +spot_angle = 57.52 + +[node name="top" type="StaticBody" parent="Obstacles/Goal"] + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/Goal/top"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.3, 0, 2, -0.7 ) +mesh = SubResource( 25 ) +skeleton = NodePath("../..") +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/Goal/top"] +shape = SubResource( 26 ) + +[node name="altar" type="StaticBody" parent="Obstacles/Goal"] +transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 1.1, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Obstacles/Goal/altar"] +shape = SubResource( 27 ) + +[node name="MeshInstance" type="MeshInstance" parent="Obstacles/Goal/altar"] +mesh = SubResource( 28 ) +material/0 = null + [node name="Lighting" type="Node" parent="."] [node name="SpotLight" type="SpotLight" parent="Lighting"] @@ -358,7 +473,7 @@ material/0 = null [node name="Sun" type="DirectionalLight" parent="Lighting"] transform = Transform( 0.906308, -0.397131, 0.144544, 0, 0.34202, 0.939693, -0.422618, -0.851651, 0.309975, 0, 58.3521, 1.32686 ) light_color = Color( 1, 0.964706, 0.858824, 1 ) -light_energy = 0.706 +light_energy = 0.412 shadow_enabled = true [node name="Timer" type="Node" parent="."] diff --git a/README.md b/README.md index 5fd8d63..7301a23 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ The game plays as a First-Person-Walking-Simulation. So you can only move around ## Conrols You can move with "WSAD" and jump with "SPACE". Press "Q" for taking antidepressants and "E" for mood stabilizers. +Press "ESC" one time to release the mouse back to the operating system and press "ESC" further to terminate the game. The game can also be played with a gamepad. # Development -The game is developed with the Godot game-engine. +The game is developed with the Godot game-engine, just import the game and export as you wish. diff --git a/export_presets.cfg b/export_presets.cfg index 0e2d7f3..55df742 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -22,3 +22,79 @@ texture_format/s3tc=true texture_format/etc=false texture_format/etc2=false texture_format/no_bptc_fallbacks=true + +[preset.1] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path=".export/windows/game.exe" +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +binary_format/64_bits=true +binary_format/embed_pck=false +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +codesign/enable=false +codesign/identity="" +codesign/password="" +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PoolStringArray( ) +application/icon="" +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" + +[preset.2] + +name="HTML5" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path=".export/web/index.html" +script_export_mode=1 +script_encryption_key="" + +[preset.2.options] + +custom_template/debug="" +custom_template/release="" +variant/export_type=0 +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color( 0, 0, 0, 1 )