TH-Kibidanshaku/entity/player.tscn
2024-01-03 13:40:31 +09:00

64 lines
2.0 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://djokiepdvy3r4"]
[ext_resource type="Script" path="res://entity/Player.gd" id="1_wbhmb"]
[ext_resource type="Texture2D" uid="uid://bk7g7e8esssyj" path="res://assets/images/player/up0.png" id="2_lkbqe"]
[ext_resource type="PackedScene" uid="uid://b2biksphf4kpn" path="res://entity/bullet/shot.tscn" id="2_wtk07"]
[ext_resource type="Texture2D" uid="uid://dqhbikc2p5eqy" path="res://assets/images/player/up1.png" id="3_81m7d"]
[ext_resource type="Texture2D" uid="uid://d3kwb3cf58ano" path="res://assets/images/player/up2.png" id="4_oshyc"]
[ext_resource type="Texture2D" uid="uid://cnhmnm7ow2ctf" path="res://assets/images/player/walk0.png" id="5_yac28"]
[ext_resource type="Texture2D" uid="uid://c6xq71q8k2ghg" path="res://assets/images/player/walk1.png" id="6_cbt57"]
[ext_resource type="Texture2D" uid="uid://cjertn5iyqktu" path="res://assets/images/player/walk2.png" id="7_4ok0f"]
[sub_resource type="SpriteFrames" id="SpriteFrames_7ynwm"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_lkbqe")
}, {
"duration": 1.0,
"texture": ExtResource("3_81m7d")
}, {
"duration": 1.0,
"texture": ExtResource("2_lkbqe")
}, {
"duration": 1.0,
"texture": ExtResource("4_oshyc")
}],
"loop": true,
"name": &"up",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_yac28")
}, {
"duration": 1.0,
"texture": ExtResource("6_cbt57")
}, {
"duration": 1.0,
"texture": ExtResource("5_yac28")
}, {
"duration": 1.0,
"texture": ExtResource("7_4ok0f")
}],
"loop": true,
"name": &"walk",
"speed": 10.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_cvy7c"]
[node name="Player" type="Area2D"]
collision_mask = 12
script = ExtResource("1_wbhmb")
shot_scene = ExtResource("2_wtk07")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_7ynwm")
animation = &"walk"
frame_progress = 0.583416
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_cvy7c")