changed renderer

This commit is contained in:
Clevertop 2024-08-14 02:14:09 +10:00
parent 902440e5bb
commit cd0e7fcc54
8 changed files with 84 additions and 35 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=21 format=3 uid="uid://bojbawyoy11i4"]
[gd_scene load_steps=23 format=3 uid="uid://bojbawyoy11i4"]
[ext_resource type="Script" path="res://Scripts/ChronoManager.gd" id="1_5b2rd"]
[ext_resource type="Material" uid="uid://cr4ra7ijk1uec" path="res://Assets/Materials/floor.tres" id="2_0aj3l"]
@ -12,6 +12,7 @@
[ext_resource type="Texture2D" uid="uid://cxljjpwweuds0" path="res://Commands/phase_shift_new.png" id="11_82hoi"]
[ext_resource type="Texture2D" uid="uid://dx8s88cut5kka" path="res://Commands/haste_new.png" id="12_3c4u7"]
[ext_resource type="AudioStream" uid="uid://jm6vo1vxrlyx" path="res://Assets/62986__radian__chime-0011.wav" id="12_bm4h4"]
[ext_resource type="PackedScene" uid="uid://cy5g1lkvw2fxs" path="res://sign.tscn" id="14_m7cxt"]
[ext_resource type="Texture2D" uid="uid://dc23iehev1s8w" path="res://Assets/Textures/crystal_wall_2.png" id="15_t0vv6"]
[sub_resource type="Environment" id="Environment_u27ip"]
@ -40,6 +41,13 @@ top_radius = 0.3
bottom_radius = 0.3
height = 0.2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_646ym"]
albedo_color = Color(0.32203, 0.623698, 0, 1)
albedo_texture = ExtResource("15_t0vv6")
uv1_offset = Vector3(0.5, 0.5, 0.5)
uv1_triplanar = true
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4ui8w"]
albedo_texture = ExtResource("15_t0vv6")
uv1_offset = Vector3(0.5, 0, 0.5)
@ -192,6 +200,16 @@ shape = SubResource("ConcavePolygonShape3D_jchw8")
material_override = SubResource("StandardMaterial3D_cqb2w")
mesh = SubResource("CylinderMesh_vrcmc")
[node name="MenuButton" type="Area3D" parent="."]
transform = Transform3D(4.37114e-08, 1, 8.74228e-08, 1, -4.37114e-08, 0, 3.82138e-15, 8.74228e-08, -1, 5, 2.5, -1.5)
[node name="CollisionShape3D" type="CollisionShape3D" parent="MenuButton"]
shape = SubResource("ConcavePolygonShape3D_jchw8")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MenuButton"]
material_override = SubResource("StandardMaterial3D_646ym")
mesh = SubResource("CylinderMesh_vrcmc")
[node name="DoorLeft" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 2, -5.5)
@ -214,6 +232,10 @@ skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="DoorRight"]
shape = SubResource("BoxShape3D_jvb5m")
[node name="Sign" parent="." instance=ExtResource("14_m7cxt")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 1.5, -1.5)
sign_text = "Back to Menu"
[connection signal="broadcast" from="." to="Player" method="_on_chrono_manager_broadcast"]
[connection signal="tick" from="." to="Player" method="_on_chrono_manager_tick"]
[connection signal="object_clicked" from="Player" to="." method="_on_player_object_clicked"]