neighbor-game/scenes/player.tscn
2022-08-08 15:32:57 -06:00

61 lines
2.1 KiB
Plaintext

[gd_scene load_steps=15 format=2]
[ext_resource path="res://assets/runningSprites/Rogers5.png" type="Texture" id=1]
[ext_resource path="res://assets/runningSprites/Rogers4.png" type="Texture" id=2]
[ext_resource path="res://assets/runningSprites/Rogers6.png" type="Texture" id=3]
[ext_resource path="res://assets/runningSprites/Rogers2.png" type="Texture" id=4]
[ext_resource path="res://assets/runningSprites/Rogers3.png" type="Texture" id=5]
[ext_resource path="res://assets/runningSprites/RogersFinal.png" type="Texture" id=6]
[ext_resource path="res://assets/runningSprites/Rogers1.png" type="Texture" id=7]
[ext_resource path="res://assets/runningSprites/RogersStart.png" type="Texture" id=8]
[ext_resource path="res://scripts/player.gd" type="Script" id=9]
[ext_resource path="res://assets/mrRogers.png" type="Texture" id=10]
[ext_resource path="res://assets/chevron_pointer.png" type="Texture" id=11]
[ext_resource path="res://scenes/gui.tscn" type="PackedScene" id=12]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 10 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 2 ), ExtResource( 1 ), ExtResource( 3 ), ExtResource( 6 ) ],
"loop": true,
"name": "run",
"speed": 8.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 13.0
height = 10.0001
[node name="Player" type="KinematicBody2D" groups=["pausable"]]
collision_mask = 7
script = ExtResource( 9 )
ACCELERATION = 2000
FRICTION = 2500
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 2, -25 )
scale = Vector2( 5, 5 )
frames = SubResource( 1 )
animation = "idle"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 4 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true
[node name="ChevronSprite" type="Sprite" parent="."]
position = Vector2( 0, -111 )
scale = Vector2( 3, 3 )
texture = ExtResource( 11 )
[node name="GUI" parent="." groups=["pausable"] instance=ExtResource( 12 )]
position = Vector2( -640, -481 )