99 lines
2.5 KiB
Plaintext
99 lines
2.5 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://dkvcye4mhvshd"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_j0htm"]
|
|
[ext_resource type="Texture2D" uid="uid://n806c03hgaq1" path="res://assets/scifi_tilesheet@2.png" id="1_vqdy1"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rbmjr"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(832, 640, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xx5oc"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(832, 640, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2ckq3"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(896, 704, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vet2c"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(960, 704, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fqxfq"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(832, 640, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_03ery"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(896, 640, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ix8o6"]
|
|
atlas = ExtResource("1_vqdy1")
|
|
region = Rect2(960, 640, 64, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_tj1nq"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rbmjr")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xx5oc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2ckq3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xx5oc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vet2c")
|
|
}],
|
|
"loop": true,
|
|
"name": &"interact",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fqxfq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_03ery")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fqxfq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ix8o6")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jav3v"]
|
|
size = Vector2(40, 45)
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
motion_mode = 1
|
|
script = ExtResource("1_j0htm")
|
|
SPEED = null
|
|
|
|
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_tj1nq")
|
|
frame_progress = 0.850199
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_jav3v")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
[node name="InteractionTimer" type="Timer" parent="."]
|
|
process_callback = 0
|
|
one_shot = true
|