controls page

This commit is contained in:
Spencer Killen 2023-01-04 01:43:35 -07:00
parent 9bda7685a1
commit 0e30685d8f
Signed by: sjkillen
GPG Key ID: F307025B65C860BA
22 changed files with 1183 additions and 23 deletions

BIN
blends/large_meat_tunnel.blend (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
source_md5="e612a9a2d137976670bd39e3a6178b5b"
dest_md5="623bbafdfd693b3b2117bbdfbddd3730"

View File

@ -0,0 +1,3 @@
source_md5="a21eef194eb4f5f0f40d50e48f480ec6"
dest_md5="fd32293bef1d68d5d61cb5a3fefcf47d"

View File

@ -5,7 +5,7 @@ content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.03, 0.21, 0.26, 1 )
bg_color = Color( 0.2, 0.23, 0.31, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1

Binary file not shown.

View File

@ -0,0 +1,23 @@
[remap]
importer="wav"
type="AudioStreamSample"
path="res://.import/crows.wav-6906b12da3fb6458972258513c6c5832.sample"
[deps]
source_file="res://assets/audio/crows.wav"
dest_files=[ "res://.import/crows.wav-6906b12da3fb6458972258513c6c5832.sample" ]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=2
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

View File

@ -22,6 +22,6 @@ func _on_Area_body_entered(body):
$AudioStreamPlayer.stop()
func _on_Area_body_exited(body):
if body.get_parent() != Util.player:
if body.get_parent() != Util.player or Util.player.camera_position().y < -100:
return
$AudioStreamPlayer.play()

View File

@ -0,0 +1,5 @@
extends Spatial
func _ready():
var dialog = Dialogic.start("controls")
add_child(dialog)

File diff suppressed because one or more lines are too long

View File

@ -45,16 +45,10 @@ transform = Transform( -0.0820203, -1.37205, 0.747237, 1.03682, 0.378031, 1.1123
transform = Transform( 0.095217, -5.53714, 0, 3.81474, 0.875616, 0, 0, 0, 5.43642, 21.2893, -59.4721, 0 )
[node name="lee" parent="." instance=ExtResource( 7 )]
transform = Transform( 0.899565, 0, -0.436786, 0, 1, 0, 0.436786, 0, 0.899565, 28.0628, -61.9719, -3.01394 )
[node name="dialogue_platform" parent="lee" instance=ExtResource( 9 )]
transform = Transform( 0.932718, 0.233958, -0.274408, -0.358633, 0.522342, -0.773655, -0.0376677, 0.820013, 0.571103, -0.58202, 0, 0.0505943 )
transform = Transform( 0.899565, 0, -0.436786, 0, 1, 0, 0.436786, 0, 0.899565, 28.0628, -62.1293, -3.01394 )
[node name="dialogue_platform2" parent="lee" instance=ExtResource( 9 )]
transform = Transform( 0.993062, -0.0918569, -0.0734214, 0.164162, 2.03195, -0.321783, 0.0866099, 0.148994, 0.985038, -0.582026, -0.267639, 0.0505934 )
[node name="dialogue_platform3" parent="lee" instance=ExtResource( 9 )]
transform = Transform( 2.31384, -0.249626, -0.395868, 0.079543, 0.984562, -0.155916, -0.0525585, 0.317759, 1.97973, 1.10797, -1.2313, 3.53116 )
transform = Transform( 1.01026, 0, -1.49012e-07, 0, 2.03947, 0, 0, 0, 1.03886, -0.573584, -0.402378, 0.0679827 )
[node name="OmniLight" type="OmniLight" parent="lee"]
transform = Transform( 1, 0, -4.17233e-07, 0, 1, 0, 4.17233e-07, 0, 1, -0.247002, 0.73962, 0.499458 )

View File

@ -36,11 +36,12 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.13092, -0.209801, 0.025795
script = ExtResource( 4 )
[node name="CollisionShape" type="CollisionShape" parent="Area" index="0"]
transform = Transform( 138.113, 0, 0, 0, 138.113, 0, 0, 0, 138.113, -0.217957, -0.071228, -0.212582 )
transform = Transform( 138.113, 0, 0, 0, 90000, 0, 0, 0, 138.113, -0.217957, -0.071228, -0.212582 )
shape = SubResource( 3 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Area" index="1"]
stream = ExtResource( 3 )
volume_db = -20.0
[connection signal="body_entered" from="Area" to="Area" method="_on_Area_body_entered"]
[connection signal="body_exited" from="Area" to="Area" method="_on_Area_body_exited"]

View File

@ -8,7 +8,7 @@
"character": "",
"event_id": "dialogic_001",
"portrait": "",
"text": "[speed=0]Use WASD/Mouse or Joysticks to move and look around\n\nPress and hold Space or R1 to jump and glide and hold Shift or L1 to run\n\nPress F or Y to toggle your flashlight and C or X to toggle your walkie talkie\n\nUse the Arrow Keys or D-pad to select between dialog options and press Enter or A to select"
"text": "[speed=0]Use WASD/Mouse or Joysticks to move and look around\n\nPress and hold Space or R1 to jump and glide and hold Shift or L1 to run\n\nPress F or Y to toggle your flashlight and C or X to toggle your walkie talkie\n\nUse the Arrow Keys or D-pad to select between dialog options and press Enter or A to select\n\nPress Escape to access the pause menu"
}
],
"metadata": {

BIN
godot/effects/tiled_sink_material.material (Stored with Git LFS)

Binary file not shown.

BIN
godot/heaven_plane.glb (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -16,8 +16,7 @@ func _on_Credits_pressed():
add_child(dialog)
func _on_Controls_pressed():
var dialog = Dialogic.start("controls")
add_child(dialog)
get_tree().change_scene("res://assets/meat_bore/meat_heaven.tscn")
func _on_QuitButton_pressed():
get_tree().quit()

View File

@ -1,6 +1,6 @@
[gd_resource type="ShaderMaterial" load_steps=5 format=2]
[ext_resource path="res://tests/ground_squish/stringy_meat.jpg" type="Texture" id=1]
[ext_resource path="res://effects/sink_block_tiled_texture.png" type="Texture" id=1]
[sub_resource type="Shader" id=4]
code = "// NOTE: Shader automatically converted from Godot Engine 3.5.1.stable.mono's SpatialMaterial.
@ -44,7 +44,7 @@ void fragment() {
"
[sub_resource type="Curve" id=5]
_data = [ Vector2( 0, 0 ), 0.0, -0.454261, 0, 0, Vector2( 0.292308, 0.525 ), 2.53247, 2.53247, 0, 0, Vector2( 1, 1 ), -0.454844, 0.0, 0, 0 ]
_data = [ Vector2( 0, 0 ), 0.0, -0.454261, 0, 0, Vector2( 0.292308, 0.525 ), 2.53247, 2.53247, 0, 0, Vector2( 0.645517, 0.186364 ), -0.454844, 0.0, 0, 0, Vector2( 0.838621, 0.822727 ), 0.0, 0.0, 0, 0, Vector2( 0.925517, 0.122727 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.859091 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=6]
curve = SubResource( 5 )
@ -57,12 +57,12 @@ shader_param/specular = 0.5
shader_param/metallic = 0.0
shader_param/roughness = 1.0
shader_param/point_size = 1.0
shader_param/uv1_scale = Vector3( 1, 1, 1 )
shader_param/uv1_scale = Vector3( 10, 10, 1 )
shader_param/uv1_offset = Vector3( 0, 0, 0 )
shader_param/uv2_scale = Vector3( 1, 1, 1 )
shader_param/uv2_offset = Vector3( 0, 0, 0 )
shader_param/player_pos = null
shader_param/sink_factor = 1.8
shader_param/end_distance = 5.2
shader_param/sink_factor = 3.6
shader_param/end_distance = 5.4
shader_param/texture_albedo = ExtResource( 1 )
shader_param/curve = SubResource( 6 )