Files
chemo-sim/scenes/symptoms/nausea_overlay.tscn
T
zwitschi 8462a2fde7
Build / Export windows (push) Successful in 10m56s
Build / Export linux (push) Successful in 6m10s
feat: Implement nausea symptom system and related features
- Added SymptomManager autoload for managing symptom intensities.
- Introduced nausea tilt effect for camera roll based on nausea intensity.
- Created color desaturation shader and overlay for visual feedback.
- Developed TreatmentManager to handle nausea ramping during IV treatment.
- Added hospital room scene with first-person controller and interactions.
- Implemented sit-down interaction for the treatment chair.
- Created IV insertion sequence with animations and completion signal.
- Added player controller with movement and interaction capabilities.
- Integrated nausea effects into the player experience with smooth transitions.
2026-05-30 14:14:38 +02:00

23 lines
697 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cnaus3aov0001a"]
[ext_resource type="Script" path="res://scripts/symptoms/nausea_desaturation.gd" id="1_desat"]
[ext_resource type="Shader" path="res://assets/shaders/desaturation.gdshader" id="2_shader"]
[sub_resource type="ShaderMaterial" id="Mat_Desat"]
shader = ExtResource("2_shader")
shader_parameter/desaturation = 0.0
[node name="NauseaOverlay" type="CanvasLayer"]
layer = 2
[node name="DesaturationRect" type="ColorRect" parent="."]
material = SubResource("Mat_Desat")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(1, 1, 1, 1)
script = ExtResource("1_desat")