51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
[gd_scene load_steps=13 format=2]
|
|
|
|
[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]
|
|
|
|
[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
|