mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 14:33:47 +00:00
Teleporter visualizer
This commit is contained in:
parent
ba481a5914
commit
1a8e88f719
6 changed files with 78 additions and 17 deletions
|
|
@ -1,9 +1,10 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://byms2dhliyux0"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://byms2dhliyux0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c1q7esgfnbvsf" path="res://Scripts/Activables/Teleporter.cs" id="1_juavy"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://w4jlaryen3we" path="res://Resources/Sprites/teleporter.tres" id="2_k58t7"]
|
||||
[ext_resource type="AudioStream" uid="uid://c4uxtkynonomm" path="res://SFX/teleporter_start.wav" id="3_ox1iw"]
|
||||
[ext_resource type="AudioStream" uid="uid://cq1880lc1iwsa" path="res://SFX/teleporter_end.wav" id="4_ildd2"]
|
||||
[ext_resource type="Script" uid="uid://3jcfdfymcvxu" path="res://Scripts/Utils/TeleporterLinker.cs" id="5_ildd2"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_kwj8m"]
|
||||
radius = 4.12311
|
||||
|
|
@ -34,7 +35,7 @@ animation = &"Teleporting"
|
|||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("2_k58t7")
|
||||
animation = &"Default"
|
||||
frame_progress = 0.462812
|
||||
frame_progress = 0.620066
|
||||
|
||||
[node name="Particles" type="GPUParticles2D" parent="."]
|
||||
z_index = 2
|
||||
|
|
@ -53,4 +54,10 @@ process_mode = 3
|
|||
stream = ExtResource("4_ildd2")
|
||||
max_distance = 100.0
|
||||
|
||||
[node name="Visualizer" type="Node2D" parent="."]
|
||||
z_index = 15
|
||||
z_as_relative = false
|
||||
script = ExtResource("5_ildd2")
|
||||
Color = Color(0, 0, 1, 0.741176)
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue