Flopsy/objects/characters/player/player.tscn

42 lines
1.8 KiB
Text

[gd_scene load_steps=14 format=2]
[ext_resource path="res://objects/characters/player/assets/Idle (10).png" type="Texture" id=1]
[ext_resource path="res://objects/characters/player/assets/Idle (7).png" type="Texture" id=2]
[ext_resource path="res://objects/characters/player/assets/Idle (2).png" type="Texture" id=3]
[ext_resource path="res://objects/characters/player/assets/Idle (4).png" type="Texture" id=4]
[ext_resource path="res://objects/characters/player/assets/Idle (6).png" type="Texture" id=5]
[ext_resource path="res://objects/characters/player/assets/Idle (9).png" type="Texture" id=6]
[ext_resource path="res://objects/characters/player/assets/Idle (1).png" type="Texture" id=7]
[ext_resource path="res://objects/characters/player/assets/Idle (5).png" type="Texture" id=8]
[ext_resource path="res://objects/characters/player/assets/Idle (3).png" type="Texture" id=9]
[ext_resource path="res://objects/characters/player/assets/Idle (8).png" type="Texture" id=10]
[ext_resource path="res://objects/characters/player/player.gd" type="Script" id=11]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 7 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 4 ), ExtResource( 8 ), ExtResource( 5 ), ExtResource( 2 ), ExtResource( 10 ), ExtResource( 6 ), ExtResource( 1 ) ],
"loop": true,
"name": "idle",
"speed": 15.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 140.0
height = 172.0
[node name="Player" type="KinematicBody2D"]
scale = Vector2( 0.2, 0.2 )
collision_mask = 7
script = ExtResource( 11 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 14, 0 )
frames = SubResource( 1 )
animation = "idle"
[node name="CollisionShape" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[node name="Camera" type="Camera2D" parent="."]
current = true
smoothing_enabled = true