obelisk
This commit is contained in:
parent
2ef1742dc6
commit
bbcb4140bf
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/AlphacodeBeyond-Regular.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 40
|
||||
outline_size = 1
|
||||
outline_color = Color( 0.333333, 0.0627451, 0.0627451, 1 )
|
||||
extra_spacing_top = 4
|
||||
extra_spacing_bottom = 3
|
||||
extra_spacing_char = 1
|
||||
extra_spacing_space = 1
|
||||
font_data = ExtResource( 1 )
|
|
@ -1,6 +1,5 @@
|
|||
extends Area
|
||||
|
||||
var phase = 0
|
||||
var dialog = null
|
||||
|
||||
func _ready():
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
extends Area
|
||||
|
||||
var dialog = null
|
||||
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
func _on_DialogTrigger_body_entered(body):
|
||||
dialog = Dialogic.start("obelisk")
|
||||
add_child(dialog)
|
||||
|
||||
func _on_DialogTrigger_body_exited(body):
|
||||
if dialog != null:
|
||||
dialog = null
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=27 format=2]
|
||||
[gd_scene load_steps=28 format=2]
|
||||
|
||||
[ext_resource path="res://assets/meat_creek/side_tunnel_1.glb" type="PackedScene" id=1]
|
||||
[ext_resource path="res://player/player.tscn" type="PackedScene" id=2]
|
||||
|
@ -22,6 +22,7 @@
|
|||
[ext_resource path="res://assets/models/obelisk/obelisk.tscn" type="PackedScene" id=20]
|
||||
[ext_resource path="res://assets/models/meat_tentacle_small.tscn" type="PackedScene" id=21]
|
||||
[ext_resource path="res://assets/meat_creek/DialogTrigger.gd" type="Script" id=22]
|
||||
[ext_resource path="res://assets/meat_creek/DialogTriggerObelisk.gd" type="Script" id=23]
|
||||
[ext_resource path="res://assets/models/meat_tentacle.tscn" type="PackedScene" id=400]
|
||||
|
||||
[sub_resource type="PanoramaSky" id=4]
|
||||
|
@ -300,7 +301,15 @@ transform = Transform( -0.449096, 0.167882, 0.254066, 0.12168, 0.619619, -0.0688
|
|||
transform = Transform( -0.451285, 0.168114, 0.250056, -0.00507374, 0.56347, -0.271243, -0.30563, -0.257587, -0.430144, -1.93217, -0.560821, -0.363808 )
|
||||
|
||||
[node name="obelisk" parent="decorations" index="10" instance=ExtResource( 20 )]
|
||||
transform = Transform( 1.75, 0, 0, 0, 1, 0, 0, 0, 1.25, 58.9486, 6.79926, -57.7791 )
|
||||
transform = Transform( -7.64949e-08, 0, 1, 0, 1, 0, -1.75, 0, -4.37114e-08, 0.485556, -114.994, 8.64844 )
|
||||
|
||||
[node name="DialogTrigger" type="Area" parent="decorations/obelisk" index="1"]
|
||||
transform = Transform( -2.49779e-08, 0, -0.571429, 0, 1, 0, 1, 0, -4.37114e-08, -2.91174, -2.28032, -0.914494 )
|
||||
script = ExtResource( 23 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="decorations/obelisk/DialogTrigger" index="0"]
|
||||
transform = Transform( 20, 0, 0, 0, 0, 0, 0, 0, 20, 0, 2.63103, 0 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="blackboxes" type="Spatial" parent="." index="7"]
|
||||
|
||||
|
@ -372,6 +381,11 @@ max_wait = 30.0
|
|||
[node name="Timer" type="Timer" parent="AmbientSounds/BottomWhale2" index="0"]
|
||||
one_shot = true
|
||||
|
||||
[node name="mothers voice" type="Spatial" parent="." index="14"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.428938, -102.191, 13.744 )
|
||||
|
||||
[connection signal="body_entered" from="decorations/obelisk/DialogTrigger" to="decorations/obelisk/DialogTrigger" method="_on_DialogTrigger_body_entered"]
|
||||
[connection signal="body_exited" from="decorations/obelisk/DialogTrigger" to="decorations/obelisk/DialogTrigger" method="_on_DialogTrigger_body_exited"]
|
||||
[connection signal="body_entered" from="elevator/DialogTrigger" to="elevator/DialogTrigger" method="_on_DialogTrigger_body_entered"]
|
||||
[connection signal="body_exited" from="elevator/DialogTrigger" to="elevator/DialogTrigger" method="_on_DialogTrigger_body_exited"]
|
||||
[connection signal="finished" from="AmbientSounds/BottomWhale1" to="AmbientSounds/BottomWhale1" method="_on_sound_finished"]
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"color": "#ffffffff",
|
||||
"description": "",
|
||||
"display_name": "The Obelisk",
|
||||
"display_name_bool": true,
|
||||
"id": "character-1672728520.json",
|
||||
"mirror_portraits": false,
|
||||
"name": "The Obelisk",
|
||||
"nickname": "",
|
||||
"nickname_bool": false,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"portraits": [
|
||||
{
|
||||
"name": "Default",
|
||||
"path": ""
|
||||
}
|
||||
],
|
||||
"scale": 100,
|
||||
"theme": "theme-1672728448.cfg"
|
||||
}
|
|
@ -12,7 +12,8 @@
|
|||
"character-1667667693.json",
|
||||
"character-1667667711.json",
|
||||
"character-1667767751.json",
|
||||
"character-1672267793.json"
|
||||
"character-1672267793.json",
|
||||
"character-1672728520.json"
|
||||
],
|
||||
"folders": {
|
||||
|
||||
|
@ -45,7 +46,8 @@
|
|||
"default-theme.cfg",
|
||||
"theme-1671745159.cfg",
|
||||
"theme-1671748561.cfg",
|
||||
"theme-1672721557.cfg"
|
||||
"theme-1672721557.cfg",
|
||||
"theme-1672728448.cfg"
|
||||
],
|
||||
"folders": {
|
||||
|
||||
|
@ -74,7 +76,8 @@
|
|||
"timeline-1672267892.json",
|
||||
"timeline-1672623960.json",
|
||||
"timeline-1672719153.json",
|
||||
"timeline-1672725696.json"
|
||||
"timeline-1672725696.json",
|
||||
"timeline-1672727997.json"
|
||||
],
|
||||
"folders": {
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ animation="Up and down"
|
|||
|
||||
[buttons]
|
||||
|
||||
normal=[ false, Color( 0.521569, 0.521569, 0.521569, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
normal=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://assets/Button01.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
layout=1
|
||||
fixed=true
|
||||
fixed_size=Vector2( 200, 80 )
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
[settings]
|
||||
|
||||
name="Obelisk Theme"
|
||||
|
||||
[background]
|
||||
|
||||
image="res://assets/MainPanel01.png"
|
||||
full_width=false
|
||||
modulation=false
|
||||
|
||||
[box]
|
||||
|
||||
size=Vector2( 1080, 600 )
|
||||
anchor=5
|
||||
portraits_behind_dialog_box=false
|
||||
|
||||
[text]
|
||||
|
||||
font="res://assets/alien_font.tres"
|
||||
text_margin_left=50.0
|
||||
text_margin_top=60.0
|
||||
text_margin_right=-50.0
|
||||
text_margin_bottom=-80.0
|
||||
shadow=true
|
||||
speed=2.0
|
||||
preview="This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]
|
||||
This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it.
|
||||
[wave amp=50 freq=2]You can even use effects![/wave]"
|
||||
shadow_color="#9e000000"
|
||||
shadow_offset=Vector2( 5, 8 )
|
||||
|
||||
[name]
|
||||
|
||||
font="res://assets/title_font.tres"
|
||||
position=1
|
||||
auto_color=false
|
||||
shadow_visible=true
|
||||
is_hidden=false
|
||||
|
||||
[audio]
|
||||
|
||||
typing={
|
||||
"allow_interrupt": true,
|
||||
"audio_bus": "Master",
|
||||
"enable": true,
|
||||
"path": "res://assets/audio/typing.ogg",
|
||||
"pitch": 1.0,
|
||||
"pitch_rand_range": 0.0,
|
||||
"volume": 0.0,
|
||||
"volume_rand_range": 0.0
|
||||
}
|
||||
|
||||
[next_indicator]
|
||||
|
||||
animation="Up and down"
|
||||
|
||||
[buttons]
|
||||
|
||||
normal=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://assets/Button01.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
layout=1
|
||||
fixed=true
|
||||
fixed_size=Vector2( 200, 80 )
|
||||
hover=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
focus=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
pressed=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
|
||||
disabled=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
|
|
@ -8,7 +8,13 @@
|
|||
"character": "",
|
||||
"event_id": "dialogic_001",
|
||||
"portrait": "",
|
||||
"text": "(Where am I?)"
|
||||
"text": "Where is this place?)"
|
||||
},
|
||||
{
|
||||
"character": "",
|
||||
"event_id": "dialogic_001",
|
||||
"portrait": "",
|
||||
"text": "(Can Recovery even reach this deep below the surface?)"
|
||||
},
|
||||
{
|
||||
"character": "",
|
||||
|
|
|
@ -170,6 +170,7 @@ shader_param/texture_albedo = ExtResource( 22 )
|
|||
[node name="Player" type="Spatial"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.750395, 0 )
|
||||
script = ExtResource( 3 )
|
||||
can_glide = true
|
||||
|
||||
[node name="Smoothing" type="Spatial" parent="."]
|
||||
script = ExtResource( 5 )
|
||||
|
|
Loading…
Reference in New Issue