Improved platforming jump physics and added music autoplay feature. Added joystick support. Added dimmed background tiling.
Release / Export Game (push) Successful in 2m22s
Release / Export Game (push) Successful in 2m22s
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net9.0</TargetFramework>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
+1
-1
@@ -83,7 +83,7 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="builds/osx64d/wrplat_osx64d.dmg"
|
||||
export_path="builds/osx64d/wrplat_osx64d.app"
|
||||
patches=PackedStringArray()
|
||||
patch_delta_encoding=false
|
||||
patch_delta_compression_level_zstd=19
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://b4epp5w0awoov"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://dwgy05x43arpb" path="res://src/shaders/dimming_shader.tres" id="1_jm73v"]
|
||||
|
||||
[resource]
|
||||
shader = ExtResource("1_jm73v")
|
||||
File diff suppressed because one or more lines are too long
@@ -25,29 +25,45 @@ move_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
look_up={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
look_down={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":114,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
run={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
skip_music={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":78,"key_label":0,"unicode":78,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://fhfma3rrxyfi"
|
||||
path="res://.godot/imported/Asphodel.wav-f87ecbeaa99b324bd8f5df8f9b0d72e4.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/ost/Asphodel.wav"
|
||||
dest_files=["res://.godot/imported/Asphodel.wav-f87ecbeaa99b324bd8f5df8f9b0d72e4.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://5gnpemu56ac0"
|
||||
path="res://.godot/imported/Azalea.wav-cbe1be7340fbe8dc3e31528edc546255.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/ost/Azalea.wav"
|
||||
dest_files=["res://.godot/imported/Azalea.wav-cbe1be7340fbe8dc3e31528edc546255.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://0tturucf5gxf"
|
||||
path="res://.godot/imported/Datura.wav-78725853df39d0ef155db6eea1881728.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/ost/Datura.wav"
|
||||
dest_files=["res://.godot/imported/Datura.wav-78725853df39d0ef155db6eea1881728.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b5cvbx3ypbbho"
|
||||
path="res://.godot/imported/Hyacinth.wav-32c97df5a6b61df7f68aa21d2c6edfae.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sounds/ost/Hyacinth.wav"
|
||||
dest_files=["res://.godot/imported/Hyacinth.wav-32c97df5a6b61df7f68aa21d2c6edfae.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
@@ -59,6 +59,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:2/1/flip_h = true
|
||||
2:2/1/terrain_set = 0
|
||||
2:2/1/terrain = 0
|
||||
2:2/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16, -16, -16)
|
||||
2:2/1/terrains_peering_bit/right_side = 0
|
||||
2:2/1/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:2/1/terrains_peering_bit/bottom_side = 0
|
||||
@@ -107,6 +108,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
1:3/1/flip_v = true
|
||||
1:3/1/terrain_set = 0
|
||||
1:3/1/terrain = 0
|
||||
1:3/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
1:3/1/terrains_peering_bit/right_side = 0
|
||||
1:3/1/terrains_peering_bit/bottom_right_corner = 0
|
||||
1:3/1/terrains_peering_bit/bottom_side = 0
|
||||
@@ -129,6 +131,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:3/1/flip_h = true
|
||||
2:3/1/terrain_set = 0
|
||||
2:3/1/terrain = 0
|
||||
2:3/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:3/1/terrains_peering_bit/right_side = 0
|
||||
2:3/1/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:3/1/terrains_peering_bit/bottom_side = 0
|
||||
@@ -141,6 +144,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:3/2/flip_v = true
|
||||
2:3/2/terrain_set = 0
|
||||
2:3/2/terrain = 0
|
||||
2:3/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:3/2/terrains_peering_bit/right_side = 0
|
||||
2:3/2/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:3/2/terrains_peering_bit/bottom_side = 0
|
||||
@@ -153,6 +157,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:3/4/transpose = true
|
||||
2:3/4/terrain_set = 0
|
||||
2:3/4/terrain = 0
|
||||
2:3/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:3/4/terrains_peering_bit/right_side = 0
|
||||
2:3/4/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:3/4/terrains_peering_bit/bottom_side = 0
|
||||
@@ -166,6 +171,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:3/5/transpose = true
|
||||
2:3/5/terrain_set = 0
|
||||
2:3/5/terrain = 0
|
||||
2:3/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:3/5/terrains_peering_bit/right_side = 0
|
||||
2:3/5/terrains_peering_bit/bottom_right_corner = 0
|
||||
2:3/5/terrains_peering_bit/bottom_side = 0
|
||||
@@ -188,6 +194,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
3:3/1/flip_v = true
|
||||
3:3/1/terrain_set = 0
|
||||
3:3/1/terrain = 0
|
||||
3:3/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
3:3/1/terrains_peering_bit/bottom_side = 0
|
||||
3:3/1/terrains_peering_bit/bottom_left_corner = 0
|
||||
3:3/1/terrains_peering_bit/left_side = 0
|
||||
@@ -247,6 +254,7 @@ texture_region_size = Vector2i(32, 32)
|
||||
2:4/1/flip_h = true
|
||||
2:4/1/terrain_set = 0
|
||||
2:4/1/terrain = 0
|
||||
2:4/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:4/1/terrains_peering_bit/right_side = 0
|
||||
2:4/1/terrains_peering_bit/left_side = 0
|
||||
2:4/1/terrains_peering_bit/top_left_corner = 0
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
extends AudioStreamPlayer
|
||||
|
||||
@export var music : Array[AudioStream];
|
||||
|
||||
func skip_music():
|
||||
var piece = music[randi_range(0, music.size() - 1)];
|
||||
stream = piece;
|
||||
play()
|
||||
|
||||
func _ready() -> void:
|
||||
skip_music()
|
||||
|
||||
func _on_finished() -> void:
|
||||
skip_music()
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if Input.is_action_just_pressed(("skip_music")):
|
||||
skip_music()
|
||||
@@ -0,0 +1 @@
|
||||
uid://b3unn3dqhg2vl
|
||||
@@ -4,20 +4,16 @@ using System.Diagnostics;
|
||||
|
||||
public partial class PlayerPhysicsController : CharacterBody2D {
|
||||
[Export]
|
||||
public float FloatingMovePenalty { get; set; } = 0.1f;
|
||||
public float FloatingWalkSpeed { get; set; } = 1f;
|
||||
[Export]
|
||||
public float FloatingJumpPenalty { get; set; } = 0.1f;
|
||||
public float RunMultiplier { get; set; } = 1.84f;
|
||||
[Export]
|
||||
public float JumpStrengthDecay { get; set; } = 2;
|
||||
[Export]
|
||||
public float MovementDecay { get; set; } = 2;
|
||||
[Export]
|
||||
public float MovementScale { get; set; } = 10;
|
||||
[Export]
|
||||
public float JumpScale { get; set; } = 12;
|
||||
public float WalkSpeed { get; set; } = 3f;
|
||||
|
||||
[Export]
|
||||
public float FrictionCoefficent { get; set; } = 0.1f;
|
||||
public float JumpHeight { get; set { field = value; RecalculateLv(); } } = 5.5f;
|
||||
|
||||
private float PeakTime { get; set { field = value; RecalculateLv(); } } = 0.1f;
|
||||
|
||||
[Export]
|
||||
public Label DebugTextLabel { get; set; }
|
||||
@@ -26,12 +22,28 @@ public partial class PlayerPhysicsController : CharacterBody2D {
|
||||
public AnimatedSprite2D Sprite { get; set; }
|
||||
|
||||
[Export]
|
||||
public float Gravity { get; set; } = 980f;
|
||||
public float Gravity { get; set { field = value; RecalculateLv(); } } = 30f;
|
||||
|
||||
private float _timeInFlight = 0;
|
||||
[Export]
|
||||
public float UnitToPx { get; set; } = 32;
|
||||
|
||||
private float _lv = 0.0f;
|
||||
private float _invmass = 1/2f;
|
||||
[Export]
|
||||
public float Mass { get => 1/_invmass; set => _invmass = 1/value; }
|
||||
|
||||
private float epsilon = 10e-5f;
|
||||
|
||||
private void RecalculateLv() {
|
||||
_lv = Mathf.Sqrt(Mathf.Pow(Gravity * PeakTime / 2, 2) + 2 * Gravity * JumpHeight);
|
||||
}
|
||||
|
||||
public override void _Ready() {
|
||||
RecalculateLv();
|
||||
base._Ready();
|
||||
}
|
||||
|
||||
|
||||
public override void _Process(double delta) {
|
||||
var grounded = this.IsOnFloor();
|
||||
var absvel = new Vector2(Mathf.Abs(Velocity.X), Mathf.Abs(Velocity.Y));
|
||||
@@ -48,38 +60,61 @@ public partial class PlayerPhysicsController : CharacterBody2D {
|
||||
}
|
||||
}
|
||||
|
||||
private float _timeOffGround = 0.0f;
|
||||
|
||||
[Export]
|
||||
public float CoyoteTiming { get; set; } = 0.1f;
|
||||
|
||||
|
||||
public override void _PhysicsProcess(double delta) {
|
||||
var xAxis = Input.GetAxis("move_left", "move_right") * MovementScale;
|
||||
var xAxis = Input.GetAxis("move_left", "move_right");
|
||||
var yAxis = Input.GetAxis("look_up", "look_down");
|
||||
var jumpStrength = -Input.GetActionStrength("jump") * JumpScale;
|
||||
// var jumpStrength = -Input.GetActionStrength("jump");
|
||||
|
||||
var lastCollision = this.IsOnCeiling();
|
||||
RecalculateLv();
|
||||
|
||||
float velx = 0f;
|
||||
float vely = (Velocity.Y / UnitToPx) + Gravity * (float)delta;
|
||||
|
||||
var grounded = this.IsOnFloor();
|
||||
if (!grounded) {
|
||||
xAxis *= FloatingMovePenalty;
|
||||
jumpStrength *= FloatingJumpPenalty;
|
||||
var coyoteGrounded = _timeOffGround < CoyoteTiming;
|
||||
if (grounded || coyoteGrounded) {
|
||||
if (grounded) _timeOffGround = 0;
|
||||
else _timeOffGround += (float)delta;
|
||||
|
||||
if (Input.IsActionJustPressed("jump")) {
|
||||
vely = -_lv;
|
||||
}
|
||||
|
||||
if (Input.IsActionPressed("run")) {
|
||||
velx = WalkSpeed * RunMultiplier;
|
||||
} else {
|
||||
velx = WalkSpeed;
|
||||
}
|
||||
} else {
|
||||
if (Input.IsActionJustReleased("jump") && vely < 0) {
|
||||
vely *= 1/4f;
|
||||
}
|
||||
|
||||
if (Input.IsActionPressed("run")) {
|
||||
velx = FloatingWalkSpeed * RunMultiplier;
|
||||
} else {
|
||||
velx = FloatingWalkSpeed;
|
||||
}
|
||||
}
|
||||
|
||||
if (grounded && jumpStrength < 0)
|
||||
_timeInFlight = 0;
|
||||
velx *= xAxis;
|
||||
|
||||
jumpStrength *= Mathf.Exp(-JumpStrengthDecay * _timeInFlight);
|
||||
DebugTextLabel.Text =
|
||||
$"grounded: {grounded}\n" +
|
||||
$"vely: {vely}\n" +
|
||||
$"velx: {velx}\n" +
|
||||
$"lv : {_lv:F2} or {_lv/(float)delta:F2}\n" +
|
||||
$"tg : {_timeOffGround}";
|
||||
// Force = new Vector2(0, forcey);
|
||||
Velocity = new Vector2(velx, vely) * UnitToPx;
|
||||
|
||||
// autorun
|
||||
var friction = Mathf.Abs(Velocity.X) > 125 ? FrictionCoefficent * 1/8f : FrictionCoefficent;
|
||||
// var decay = Mathf.Abs(Velocity.X) > 125 ? MovementDecay * 1/4f : MovementDecay;
|
||||
xAxis *= Mathf.Exp(-MovementDecay * Mathf.Abs(Velocity.X));
|
||||
xAxis -= Velocity.X * friction;
|
||||
|
||||
var moveVector = new Vector2((float)(delta * xAxis), (float)( delta * (Gravity + jumpStrength)));
|
||||
DebugTextLabel.Text = $"grounded: {grounded}\nmv: {moveVector}\n vel: {Velocity}\n jumpStrength: {jumpStrength}\ntimeInFlight: {_timeInFlight}";
|
||||
Velocity += moveVector;
|
||||
MoveAndSlide();
|
||||
|
||||
if (!grounded)
|
||||
_timeInFlight += (float)delta;
|
||||
base._PhysicsProcess(delta);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_resource type="VisualShader" format=3 uid="uid://dwgy05x43arpb"]
|
||||
|
||||
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_46mxo"]
|
||||
input_name = "color"
|
||||
|
||||
[sub_resource type="VisualShaderNodeFloatParameter" id="VisualShaderNodeFloatParameter_paeta"]
|
||||
parameter_name = "FloatParameter"
|
||||
qualifier = 2
|
||||
hint = 1
|
||||
default_value_enabled = true
|
||||
default_value = 0.5
|
||||
|
||||
[sub_resource type="VisualShaderNodeVectorCompose" id="VisualShaderNodeVectorCompose_282el"]
|
||||
default_input_values = [0, 0.0, 1, 0.0, 2, 0.0, 3, 0.0]
|
||||
op_type = 2
|
||||
|
||||
[sub_resource type="VisualShaderNodeVectorOp" id="VisualShaderNodeVectorOp_ivc0m"]
|
||||
default_input_values = [0, Quaternion(0, 0, 0, 0), 1, Quaternion(0, 0, 0, 0)]
|
||||
op_type = 2
|
||||
operator = 2
|
||||
|
||||
[resource]
|
||||
mode = 1
|
||||
flags/light_only = false
|
||||
nodes/vertex/3/node = SubResource("VisualShaderNodeInput_46mxo")
|
||||
nodes/vertex/3/position = Vector2(-280, 160)
|
||||
nodes/vertex/7/node = SubResource("VisualShaderNodeFloatParameter_paeta")
|
||||
nodes/vertex/7/position = Vector2(-460, 340)
|
||||
nodes/vertex/8/node = SubResource("VisualShaderNodeVectorCompose_282el")
|
||||
nodes/vertex/8/position = Vector2(-140, 300)
|
||||
nodes/vertex/9/node = SubResource("VisualShaderNodeVectorOp_ivc0m")
|
||||
nodes/vertex/9/position = Vector2(80, 160)
|
||||
nodes/vertex/connections = PackedInt32Array(3, 0, 9, 0, 8, 0, 9, 1, 7, 0, 8, 0, 7, 0, 8, 1, 7, 0, 8, 2, 7, 0, 8, 3, 9, 0, 0, 2)
|
||||
Reference in New Issue
Block a user