mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:25:35 +00:00
71 lines
1.9 KiB
Text
71 lines
1.9 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://doqmmuuuprl3s"]
|
|
|
|
[ext_resource type="Script" uid="uid://ck54glo7xbuq8" path="res://Scripts/Actors/Computer.cs" id="1_6kf2l"]
|
|
[ext_resource type="Texture2D" uid="uid://dfjdl48v8kt2l" path="res://Sprites/Props/Computer2.png" id="2_tlxq6"]
|
|
[ext_resource type="Script" uid="uid://rlevd6krqglv" path="res://Scripts/Components/SpriteAnimationStartupRotator.cs" id="3_l1hw5"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_wv7xi"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6yfpu"]
|
|
atlas = ExtResource("2_tlxq6")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jl6l5"]
|
|
atlas = ExtResource("2_tlxq6")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jxgtm"]
|
|
atlas = ExtResource("2_tlxq6")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6kf2l"]
|
|
atlas = ExtResource("2_tlxq6")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_7837l"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6yfpu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Down",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jl6l5")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jxgtm")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6kf2l")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Up",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Computer" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_6kf2l")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_wv7xi")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_7837l")
|
|
animation = &"Down"
|
|
script = ExtResource("3_l1hw5")
|