-
Notifications
You must be signed in to change notification settings - Fork 1
/
Player.tscn
33 lines (27 loc) · 842 Bytes
/
Player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://PixelAdventure/Main Characters/Ninja Frog.tres" type="SpriteFrames" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 10, 12 )
[node name="Player" type="KinematicBody2D"]
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="AnimatedSprite" parent="."]
frames = ExtResource( 2 )
animation = "Idle"
frame = 9
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 3 )
shape = SubResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true
limit_left = -10
limit_smoothed = true
drag_margin_h_enabled = true
drag_margin_v_enabled = true
smoothing_enabled = true
smoothing_speed = 10.0
offset_v = -0.5