-
Notifications
You must be signed in to change notification settings - Fork 0
/
Player.tscn
31 lines (23 loc) · 852 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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://resources/Characters.png" type="Texture" id=1]
[ext_resource path="res://Player.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 42.0
height = 42.0
[node name="Player" type="KinematicBody2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.75, 0.75 )
texture = ExtResource( 1 )
offset = Vector2( 10, 0 )
hframes = 6
frame = 2
region_enabled = true
region_rect = Rect2( 0, 1280, 1536, 200 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Tween" type="Tween" parent="."]
[node name="NetworkTickerRate" type="Timer" parent="."]
wait_time = 0.05
autostart = true
[connection signal="timeout" from="NetworkTickerRate" to="." method="_on_NetworkTickerRate_timeout"]