Player-field manipulations

This commit is contained in:
Фёдор Веселов 2024-09-15 19:19:59 +05:00
commit 74759e9e16
21 changed files with 270 additions and 54 deletions

View file

@ -0,0 +1,15 @@
[gd_scene load_steps=4 format=3 uid="uid://devn21c7luf45"]
[ext_resource type="Shader" path="res://assets/shaders/greyscale.gdshader" id="1_d73yj"]
[ext_resource type="Script" path="res://scripts/components/level/PlantField.cs" id="2_84bqh"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0miwm"]
shader = ExtResource("1_d73yj")
shader_parameter/amount = 0.0
[node name="FieldController" type="Node2D"]
material = SubResource("ShaderMaterial_0miwm")
script = ExtResource("2_84bqh")
[node name="Preview" type="Sprite2D" parent="."]
use_parent_material = true