Flopsy/objects/characters/player/player.tscn

43 lines
1.8 KiB
Text
Raw Permalink Normal View History

2022-07-27 12:51:26 +02:00
[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]
2022-07-20 04:28:30 +02:00
[ext_resource path="res://objects/characters/player/player.gd" type="Script" id=11]
2022-07-27 12:51:26 +02:00
[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
} ]
2022-07-20 04:28:30 +02:00
2022-07-27 12:51:26 +02:00
[sub_resource type="CapsuleShape2D" id=2]
radius = 140.0
height = 172.0
2022-07-20 04:28:30 +02:00
[node name="Player" type="KinematicBody2D"]
2022-07-27 12:51:26 +02:00
scale = Vector2( 0.2, 0.2 )
collision_mask = 7
2022-07-20 04:28:30 +02:00
script = ExtResource( 11 )
2022-07-27 12:51:26 +02:00
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 14, 0 )
frames = SubResource( 1 )
2022-07-20 04:28:30 +02:00
animation = "idle"
2022-07-27 12:51:26 +02:00
[node name="CollisionShape" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
2022-07-20 04:28:30 +02:00
2022-07-27 12:51:26 +02:00
[node name="Camera" type="Camera2D" parent="."]
2022-07-20 04:28:30 +02:00
current = true
2022-07-27 12:51:26 +02:00
smoothing_enabled = true