Reaction hidden

This commit is contained in:
rendo 2026-04-24 11:07:49 +05:00
commit d4b50bdda0
12 changed files with 189 additions and 12 deletions

View file

@ -3,6 +3,7 @@
[ext_resource type="Script" uid="uid://bjnv2g1ni0525" path="res://src/drag/draggable_object.gd" id="1_0xufn"]
[ext_resource type="Material" uid="uid://64m17act0kwu" path="res://assets/materials/mat_glass.tres" id="2_dbm1u"]
[ext_resource type="Script" uid="uid://dig825r70a0sn" path="res://src/substance_display.gd" id="3_0xufn"]
[ext_resource type="Shader" uid="uid://djb4t6pw03tow" path="res://shaders/fluid.gdshader" id="4_ailwx"]
[ext_resource type="Script" uid="uid://bl0ojhc0thk1p" path="res://src/interactible/interactible.gd" id="4_dbm1u"]
[ext_resource type="Texture2D" uid="uid://cw3jw8qbvj3fv" path="res://assets/textures/solid.png" id="4_h7awq"]
[ext_resource type="Script" uid="uid://duirfi4j26g2i" path="res://src/interactible/flask_interaction.gd" id="5_pmegg"]
@ -46,9 +47,12 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_1ouf4")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ailwx"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ailwx"]
resource_local_to_scene = true
transparency = 1
render_priority = 0
shader = ExtResource("4_ailwx")
shader_parameter/fill = 0.8999999798832
shader_parameter/wave_intensity = 0.0
[sub_resource type="CylinderMesh" id="CylinderMesh_h7awq"]
top_radius = 0.772
@ -85,8 +89,7 @@ skeleton = NodePath("")
[node name="FillLiquid" type="MeshInstance3D" parent="Flash" unique_id=439339804]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.8061247, 0)
visible = false
material_override = SubResource("StandardMaterial3D_ailwx")
material_override = SubResource("ShaderMaterial_ailwx")
mesh = SubResource("CylinderMesh_h7awq")
skeleton = NodePath("")
script = ExtResource("3_0xufn")

View file

@ -1,6 +1,7 @@
[gd_scene format=3 uid="uid://be746nxgkc5ay"]
[ext_resource type="Script" uid="uid://bosx1bhaka185" path="res://src/ui/questions_generator.gd" id="1_rdw2t"]
[ext_resource type="Script" uid="uid://ckhrj43lyvorv" path="res://ui/questions_result.gd" id="2_8omho"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_faf07"]
content_margin_left = 0.0
@ -39,4 +40,44 @@ offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_rdw2t")
[node name="Result" type="Control" parent="." unique_id=717890506]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("2_8omho")
[node name="Label" type="Label" parent="Result" unique_id=979512538]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -11.5
offset_right = 20.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
[node name="TryAgain" type="Button" parent="Result" unique_id=472218266]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -73.0
offset_top = -31.0
offset_right = 73.0
grow_horizontal = 2
grow_vertical = 0
text = "Перепройти тест"
[connection signal="pressed" from="CloseButton" to="Questions" method="_on_close_button_pressed"]
[connection signal="pressed" from="Result/TryAgain" to="Result" method="_on_try_again_pressed"]