generated from SGDA/GodotExampleProject
feat: base
This commit is contained in:
161
scenes/player/player.tscn
Normal file
161
scenes/player/player.tscn
Normal file
@ -0,0 +1,161 @@
|
||||
[gd_scene load_steps=21 format=3 uid="uid://4ye80a3tugk6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d1booebooduen" path="res://scenes/player/assets/dino/sheets/DinoSprites - tard.png" id="1_8afob"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dovo2"]
|
||||
radius = 5.0
|
||||
height = 16.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gmlin"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(0, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lvxji"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(24, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p47bc"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(48, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_75vfm"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(72, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0owmy"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(408, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qek5x"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(96, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5gtgg"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(120, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h17s1"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(144, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_je7p5"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(168, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fm80t"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(192, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gx1jg"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(216, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ugbui"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(432, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fcs02"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(456, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_myrg7"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(480, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kvlxm"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(504, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uf5tr"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(528, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lgqa7"]
|
||||
atlas = ExtResource("1_8afob")
|
||||
region = Rect2(552, 0, 24, 24)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_8ydkj"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gmlin")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lvxji")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p47bc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_75vfm")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 8.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0owmy")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle_sneak",
|
||||
"speed": 1.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qek5x")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5gtgg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_h17s1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_je7p5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fm80t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gx1jg")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"run",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ugbui")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fcs02")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_myrg7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kvlxm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_uf5tr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lgqa7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"sneak",
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CapsuleShape2D_dovo2")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_8ydkj")
|
||||
animation = &"idle"
|
||||
frame_progress = 0.162357
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
Reference in New Issue
Block a user