-
Notifications
You must be signed in to change notification settings - Fork 3
/
PlayerCharacterScene.tscn
79 lines (60 loc) · 1.88 KB
/
PlayerCharacterScene.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[gd_scene load_steps=5 format=1]
[ext_resource path="res://player.gd" type="Script" id=1]
[ext_resource path="res://resources/img/GodotSpriteSheet.tex" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 10, 16.8516 )
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 10, 10 )
[node name="PlayerCharacter" type="KinematicBody2D"]
transform/pos = Vector2( 2, 0 )
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 6.09423, -1.07545 )
shapes/0/trigger = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
transform/pos = Vector2( 7.88665, 0 )
texture = ExtResource( 2 )
hframes = 20
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
transform/pos = Vector2( 6.09423, -1.07545 )
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="Camera2D" type="Camera2D" parent="."]
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 1, 1 )
limit/left = -10000000
limit/top = 0
limit/right = 10000000
limit/bottom = 0
drag_margin/h_enabled = true
drag_margin/v_enabled = true
smoothing/enable = false
smoothing/speed = 5.0
drag_margin/left = 0.2
drag_margin/top = 0.2
drag_margin/right = 0.2
drag_margin/bottom = 0.2
[node name="Area2D" type="Area2D" parent="."]
input/pickable = true
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1.52351, 0, 0, 2.18369, 6.30389, 0.194169 )
shapes/0/trigger = false
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
transform/pos = Vector2( 6.30389, 0.194169 )
transform/scale = Vector2( 1.52351, 2.18369 )
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0