mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 01:03:47 +00:00
Dialogue fixes
This commit is contained in:
parent
194647e7c2
commit
19843bd05b
10 changed files with 89 additions and 27 deletions
|
|
@ -1,11 +1,35 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cdr4m7pydqk6u"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cdr4m7pydqk6u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="1_dv2sa"]
|
||||
[ext_resource type="Script" 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"]
|
||||
|
||||
[node name="ControlPad" instance=ExtResource("1_dv2sa")]
|
||||
[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="Sprite2D" parent="." index="1"]
|
||||
texture = ExtResource("3_4xaqn")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_vvpve")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_jp3ap")
|
||||
autoplay = "default"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue