mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 16:55:54 +00:00
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://cdr4m7pydqk6u"]
|
|
|
|
[ext_resource type="Script" uid="uid://duhodrhcnoslh" path="res://Scripts/Interactables/Switch.cs" id="1_o8ph7"]
|
|
[ext_resource type="Resource" uid="uid://dibquna7fww7t" path="res://Resources/Items/Red_Keycard.tres" id="2_mv5hn"]
|
|
[ext_resource type="Texture2D" uid="uid://ch6nbhxgxxtf" path="res://Sprites/Red_Card_Reader.png" id="3_4xaqn"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2vwlq"]
|
|
atlas = ExtResource("3_4xaqn")
|
|
region = Rect2(0, 0, 8, 8)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_jp3ap"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2vwlq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="ControlPad" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_o8ph7")
|
|
Requirements = [ExtResource("2_mv5hn")]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_vvpve")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_jp3ap")
|
|
autoplay = "default"
|