From 4f20e43e5243f889332e55e8f61f3bc245beb1a5 Mon Sep 17 00:00:00 2001 From: Jan Schuffenhauer Date: Sun, 19 Apr 2020 17:55:51 +0200 Subject: [PATCH] Splash Effect added --- src/Effects/Debris/SplashEffect.tscn | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/Effects/Debris/SplashEffect.tscn diff --git a/src/Effects/Debris/SplashEffect.tscn b/src/Effects/Debris/SplashEffect.tscn new file mode 100644 index 0000000..a21e24b --- /dev/null +++ b/src/Effects/Debris/SplashEffect.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Effects/Debris/debris-splash.png" type="Texture" id=1] + +[sub_resource type="Animation" id=1] +resource_name = "__INIT__" +tracks/0/type = "value" +tracks/0/path = NodePath(".:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 2, 3, 4, 5, 6, 7, 8 ] +} + +[node name="SplashEffect" type="Sprite"] +texture = ExtResource( 1 ) +vframes = 3 +hframes = 3 +frame = 8 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "__INIT__" +anims/__INIT__ = SubResource( 1 )