forked from lastleon/Beerventures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.tscn
33 lines (25 loc) · 870 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=5 format=2]
[ext_resource path="res://player.gd" type="Script" id=1]
[ext_resource path="res://Bierkrug/basic/Bierkrug.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 26, 33 )
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": false,
"name": "basic",
"speed": 5.0
} ]
[node name="Node2D" type="Node2D"]
[node name="Player" type="KinematicBody2D" parent="."]
script = ExtResource( 1 )
[node name="Camera2D" type="Camera2D" parent="Player"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
position = Vector2( 26, 34 )
shape = SubResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="Player"]
scale = Vector2( 0.225, 0.225 )
frames = SubResource( 2 )
animation = "basic"
centered = false
offset = Vector2( -8, -20 )