Icons Update
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yh82stjhxxuj"
|
||||
path="res://.godot/imported/AntiAliasingCompositorEffect.svg-a0b842f1b8dae3f53d9f7cd62c496350.ctex"
|
||||
uid="uid://0v6oey1yk7cn"
|
||||
path="res://.godot/imported/AntiAliasingEffect.svg-9351dff5374362753986941423a5b722.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/AntiAliasingCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/AntiAliasingCompositorEffect.svg-a0b842f1b8dae3f53d9f7cd62c496350.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/AntiAliasingEffect.svg"
|
||||
dest_files=["res://.godot/imported/AntiAliasingEffect.svg-9351dff5374362753986941423a5b722.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mwv1d5ossbre"
|
||||
path="res://.godot/imported/WipeCompositorEffect.svg-c07b9d6ca896510204062cb60a712783.ctex"
|
||||
uid="uid://cro03i45ycqb0"
|
||||
path="res://.godot/imported/BlurOrSharpenEffect.svg-3d52f3b00cf38683ca8a5fd87f5210bc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/WipeCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/WipeCompositorEffect.svg-c07b9d6ca896510204062cb60a712783.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/BlurOrSharpenEffect.svg"
|
||||
dest_files=["res://.godot/imported/BlurOrSharpenEffect.svg-3d52f3b00cf38683ca8a5fd87f5210bc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c3a21lox80di6"
|
||||
path="res://.godot/imported/BlurSharpenCompositorEffect.svg-15f40dd22123cf70ae3b0529a4690f2e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/BlurSharpenCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/BlurSharpenCompositorEffect.svg-15f40dd22123cf70ae3b0529a4690f2e.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b48gxj12y51q6"
|
||||
path="res://.godot/imported/ColorCompositorEffect.svg-d1aab95bbe1433bd653f53743a1a26ca.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/ColorCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/ColorCompositorEffect.svg-d1aab95bbe1433bd653f53743a1a26ca.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bksmy4e1dbgpx"
|
||||
path="res://.godot/imported/EdgeCompositorEffect.svg-bdd61a888faeee3a68d9cb1f0b4e2a28.ctex"
|
||||
uid="uid://cv1geldvlb1vr"
|
||||
path="res://.godot/imported/ColorEffect.svg-0e30807e97739d9695207753e37f98af.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/EdgeCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/EdgeCompositorEffect.svg-bdd61a888faeee3a68d9cb1f0b4e2a28.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/ColorEffect.svg"
|
||||
dest_files=["res://.godot/imported/ColorEffect.svg-0e30807e97739d9695207753e37f98af.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bi7sghep5p1qf"
|
||||
path="res://.godot/imported/DistortionCompositorEffect.svg-2e6e7cca9ee26b3d8ca564c5f0552d05.ctex"
|
||||
uid="uid://cfdb8bioiy5qx"
|
||||
path="res://.godot/imported/DistortionEffect.svg-27cdc9c848bbda2e95e6a07618e2383a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/DistortionCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/DistortionCompositorEffect.svg-2e6e7cca9ee26b3d8ca564c5f0552d05.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/DistortionEffect.svg"
|
||||
dest_files=["res://.godot/imported/DistortionEffect.svg-27cdc9c848bbda2e95e6a07618e2383a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cfubhtaaicl27"
|
||||
path="res://.godot/imported/GlowCompositorEffect.svg-013b867a484d69b5f1368a9e89925f87.ctex"
|
||||
uid="uid://wt12o1loct68"
|
||||
path="res://.godot/imported/EdgeEffect.svg-ca023b57d26ca5f467d23f3ac4b81ad3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/GlowCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/GlowCompositorEffect.svg-013b867a484d69b5f1368a9e89925f87.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/EdgeEffect.svg"
|
||||
dest_files=["res://.godot/imported/EdgeEffect.svg-ca023b57d26ca5f467d23f3ac4b81ad3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dplrfkmejck4n"
|
||||
path="res://.godot/imported/NoiseCompositorEffect.svg-6e699abe297c7237403c9558cf214d37.ctex"
|
||||
uid="uid://buedhm4gbyshv"
|
||||
path="res://.godot/imported/GlowEffect.svg-53281d462c84c22a81eeea355a347408.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/NoiseCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/NoiseCompositorEffect.svg-6e699abe297c7237403c9558cf214d37.ctex"]
|
||||
source_file="res://addons/rokojori_action_library/Icons/GlowEffect.svg"
|
||||
dest_files=["res://.godot/imported/GlowEffect.svg-53281d462c84c22a81eeea355a347408.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mbhcef1272p5"
|
||||
path="res://.godot/imported/NoiseEffect.svg-356c55d1c249114a69d14bd6ae0b8d75.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/NoiseEffect.svg"
|
||||
dest_files=["res://.godot/imported/NoiseEffect.svg-356c55d1c249114a69d14bd6ae0b8d75.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cluoqf6ivy3v6"
|
||||
path="res://.godot/imported/OverlayCompositorEffect.svg-4ed6b952a08ec90eeae0f49a45ed1dbb.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/OverlayCompositorEffect.svg"
|
||||
dest_files=["res://.godot/imported/OverlayCompositorEffect.svg-4ed6b952a08ec90eeae0f49a45ed1dbb.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4vvt10075tbf"
|
||||
path="res://.godot/imported/OverlayEffect.svg-62799eb099508e27f92d1c172288bfd6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/OverlayEffect.svg"
|
||||
dest_files=["res://.godot/imported/OverlayEffect.svg-62799eb099508e27f92d1c172288bfd6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c3s4aak8mx3uc"
|
||||
path="res://.godot/imported/WipeEffect.svg-83ce7a91ff36f4ce9af128d056789a5b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/rokojori_action_library/Icons/WipeEffect.svg"
|
||||
dest_files=["res://.godot/imported/WipeEffect.svg-83ce7a91ff36f4ce9af128d056789a5b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
|
||||
using System;
|
||||
using Godot;
|
||||
|
||||
|
||||
namespace Rokojori
|
||||
{
|
||||
[Tool]
|
||||
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/Tween.svg")]
|
||||
public partial class TweenCompositorVFX:SequenceAction, Animator
|
||||
{
|
||||
[Export]
|
||||
public CompositorVFX compositorVFX;
|
||||
|
||||
[Export]
|
||||
public float endValue;
|
||||
|
||||
[Export]
|
||||
public Duration duration;
|
||||
|
||||
[Export]
|
||||
public Curve curve;
|
||||
|
||||
[ExportGroup( "Editor Testing")]
|
||||
[Export]
|
||||
public bool forceStartValue = false;
|
||||
|
||||
[Export]
|
||||
public float forcedStartValue = 0f;
|
||||
|
||||
public void OnAnimatorStart(){}
|
||||
public void OnAnimatorEnd(){}
|
||||
public void OnAnimatorCancel(){}
|
||||
|
||||
int _actionID = -1;
|
||||
int _timeID = -1;
|
||||
|
||||
|
||||
|
||||
|
||||
protected override void _OnTrigger()
|
||||
{
|
||||
this.LogInfo( "Started Float Tween" );
|
||||
|
||||
|
||||
// if ( Engine.IsEditorHint() )
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
|
||||
if ( _actionID != -1 )
|
||||
{
|
||||
CancelAction( _actionID );
|
||||
}
|
||||
|
||||
_actionID = DispatchStart();
|
||||
|
||||
|
||||
var startValue = compositorVFX.driverValue;
|
||||
|
||||
if ( forceStartValue && Engine.IsEditorHint() )
|
||||
{
|
||||
startValue = forcedStartValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
AnimationManager.StartAnimation( this, compositorVFX, "driverValue" );
|
||||
|
||||
_timeID = TimeLineManager.ScheduleSpanWith( duration,
|
||||
( span, type )=>
|
||||
{
|
||||
|
||||
// this.LogInfo( "Update Float Tween", startValue );
|
||||
if ( span.id != _timeID )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! AnimationManager.IsAnimating( this, compositorVFX, "driverValue" ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var phase = span.phase;
|
||||
|
||||
if ( curve != null )
|
||||
{
|
||||
phase = curve.Sample( phase );
|
||||
}
|
||||
|
||||
var value = Mathf.Lerp( startValue, endValue, phase );
|
||||
|
||||
compositorVFX.driverValue = value;
|
||||
|
||||
if ( type == TimeLineSpanUpdateType.End )
|
||||
{
|
||||
compositorVFX.driverValue = value;
|
||||
AnimationManager.EndAnimation( this, compositorVFX, "driverValue" );
|
||||
DispatchEnd( _actionID );
|
||||
_actionID = -1;
|
||||
_timeID = -1;
|
||||
}
|
||||
},
|
||||
|
||||
this
|
||||
).id;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://di737cq62huln
|
||||