Player-field manipulations
This commit is contained in:
parent
9ced321538
commit
74759e9e16
21 changed files with 270 additions and 54 deletions
15
scenes/level components/field_controller.tscn
Normal file
15
scenes/level components/field_controller.tscn
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue