mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 07:43:47 +00:00
Script to visualize connections
This commit is contained in:
parent
a235183c61
commit
0d2302c9fe
9 changed files with 149 additions and 17 deletions
|
|
@ -1,14 +1,48 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://byms2dhliyux0"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://byms2dhliyux0"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="1_ppqan"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcrsv00yf6ylk" path="res://Sprites/Teleport_Particles.png" id="2_ggtec"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uk8yj"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ex07d"]
|
||||
atlas = ExtResource("2_ggtec")
|
||||
region = Rect2(0, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1jqq2"]
|
||||
atlas = ExtResource("2_ggtec")
|
||||
region = Rect2(16, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wbhur"]
|
||||
atlas = ExtResource("2_ggtec")
|
||||
region = Rect2(32, 0, 16, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_bt8wx"]
|
||||
animations = [{
|
||||
"frames": [],
|
||||
"loop": true,
|
||||
"name": &"Idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ex07d")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1jqq2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wbhur")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Teleporting",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Teleporter" type="Area2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
|
@ -16,3 +50,8 @@ shape = SubResource("RectangleShape2D_uk8yj")
|
|||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_ppqan")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -9)
|
||||
sprite_frames = SubResource("SpriteFrames_bt8wx")
|
||||
animation = &"Idle"
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue