messing with ui
This commit is contained in:
@@ -25,7 +25,7 @@ ambient_light_source = 1
|
||||
environment = SubResource("Environment_nyivo")
|
||||
|
||||
[node name="Rosa" parent="." instance=ExtResource("2_2h4bv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.651853, 0.684572, -0.0593004)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.19857, 0.684572, 0.968477)
|
||||
|
||||
[node name="TestNpc" parent="." instance=ExtResource("3_q0pj2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.68747, 0.459578, -0.399262)
|
||||
@@ -35,6 +35,8 @@ moveType = 1
|
||||
direction = 1
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38.1432, 54.7591, -25.7675)
|
||||
light_energy = 15.315
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.28892, 0)
|
||||
light_energy = 3.375
|
||||
shadow_bias = 0.0
|
||||
shadow_normal_bias = 0.9
|
||||
omni_range = 281.646
|
||||
|
@@ -15,5 +15,6 @@ theme = ExtResource("1_3b1y4")
|
||||
script = ExtResource("2_5efuf")
|
||||
|
||||
[node name="VNTextbox" parent="." instance=ExtResource("2_x0c4l")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
offset_top = -133.0
|
||||
|
42
scenes/UI/PauseMenu.tscn
Normal file
42
scenes/UI/PauseMenu.tscn
Normal file
@@ -0,0 +1,42 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cqr1fgxwv0bjg"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://dm7ee4aqjr2dl" path="res://ui/UI Theme.tres" id="1_jnmec"]
|
||||
|
||||
[node name="PauseMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="HSplitContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel2" type="PanelContainer" parent="HSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="VSplitContainer" type="VBoxContainer" parent="HSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="HSplitContainer/VSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_jnmec")
|
||||
|
||||
[node name="Panel2" type="PanelContainer" parent="HSplitContainer/VSplitContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("1_jnmec")
|
@@ -19,8 +19,8 @@ enum BasicNPCMoveType {
|
||||
|
||||
@export var moveType:BasicNPCMoveType = BasicNPCMoveType.STILL;
|
||||
|
||||
@export var randomLookMinTime:float = 1.0;
|
||||
@export var randomLookMaxTime:float = 3.0;
|
||||
@export var randomLookMinTime:float = 1.5;
|
||||
@export var randomLookMaxTime:float = 4.0;
|
||||
var randomLookTimer:float = 0.0;
|
||||
|
||||
func interact(interactor:OverworldEntity) -> void:
|
||||
|
Reference in New Issue
Block a user