neighbor-game/scenes/player.tscn

61 lines
2.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=15 format=2]
2022-08-04 10:50:28 -06:00
[ext_resource path="res://roger-roger/runningSprites/Rogers5.png" type="Texture" id=1]
[ext_resource path="res://roger-roger/runningSprites/Rogers4.png" type="Texture" id=2]
[ext_resource path="res://roger-roger/runningSprites/Rogers6.png" type="Texture" id=3]
[ext_resource path="res://roger-roger/runningSprites/Rogers2.png" type="Texture" id=4]
[ext_resource path="res://roger-roger/runningSprites/Rogers3.png" type="Texture" id=5]
[ext_resource path="res://roger-roger/runningSprites/RogersFinal.png" type="Texture" id=6]
[ext_resource path="res://roger-roger/runningSprites/Rogers1.png" type="Texture" id=7]
[ext_resource path="res://roger-roger/runningSprites/RogersStart.png" type="Texture" id=8]
[ext_resource path="res://scripts/player.gd" type="Script" id=9]
[ext_resource path="res://roger-roger/mrRogers.png" type="Texture" id=10]
[ext_resource path="res://roger-roger/chevron_pointer.png" type="Texture" id=11]
[ext_resource path="res://scenes/UI.tscn" type="PackedScene" id=12]
2022-08-04 10:50:28 -06:00
[sub_resource type="CapsuleShape2D" id=2]
radius = 13.0
height = 10.0001
[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
} ]
[node name="Player" type="KinematicBody2D"]
collision_mask = 7
script = ExtResource( 9 )
ACCELERATION = 2000
FRICTION = 2500
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 4 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 2, -25 )
scale = Vector2( 5, 5 )
frames = SubResource( 1 )
animation = "idle"
playing = true
[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="." instance=ExtResource( 12 )]
position = Vector2( -640, -481 )