Audio system and rich text

This commit is contained in:
Rendo 2025-06-29 14:28:51 +05:00
commit 68cafff083
161 changed files with 1605 additions and 255 deletions

View file

@ -1,8 +1,10 @@
[gd_scene load_steps=5 format=3 uid="uid://devn21c7luf45"]
[gd_scene load_steps=7 format=3 uid="uid://devn21c7luf45"]
[ext_resource type="Shader" uid="uid://mt7vheq5modk" path="res://assets/shaders/greyscale.gdshader" id="1_d73yj"]
[ext_resource type="Script" uid="uid://bj7rw2f6qu1lg" path="res://scripts/components/level/PlantField.cs" id="2_84bqh"]
[ext_resource type="PackedScene" uid="uid://b4lx8adw6rbqs" path="res://scenes/particles/dirt_explosion.tscn" id="3_ddnu6"]
[ext_resource type="Script" uid="uid://c36bj8u7jghc7" path="res://scripts/audio/ChannelPlayer.cs" id="4_w40vd"]
[ext_resource type="AudioStream" uid="uid://ciepttpel6dxb" path="res://assets/audio/gui/plant_generic.tres" id="5_2x1ty"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0miwm"]
shader = ExtResource("1_d73yj")
@ -16,3 +18,9 @@ particles = ExtResource("3_ddnu6")
[node name="Preview" type="Node2D" parent="."]
process_mode = 4
use_parent_material = true
[node name="PlantPlayer" type="Node" parent="."]
script = ExtResource("4_w40vd")
audioStream = ExtResource("5_2x1ty")
channel = "plant"
metadata/_custom_type_script = "uid://c36bj8u7jghc7"