-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainChar.tscn
76 lines (67 loc) · 2.1 KB
/
mainChar.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
[gd_scene load_steps=13 format=2]
[ext_resource path="res://Run (3).png" type="Texture" id=1]
[ext_resource path="res://KinematicBody2D.gd" type="Script" id=2]
[ext_resource path="res://Idle (9).png" type="Texture" id=3]
[ext_resource path="res://Run (2).png" type="Texture" id=4]
[ext_resource path="res://Idle (1).png" type="Texture" id=5]
[ext_resource path="res://Jump (12).png" type="Texture" id=6]
[ext_resource path="res://Run (4).png" type="Texture" id=7]
[ext_resource path="res://Run (5).png" type="Texture" id=8]
[ext_resource path="res://bensound-funnysong.mp3" type="AudioStream" id=9]
[ext_resource path="res://jump_04.wav" type="AudioStream" id=10]
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 6 ) ],
"loop": true,
"name": "vyskok",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 1 ), ExtResource( 7 ), ExtResource( 8 ) ],
"loop": true,
"name": "pohyb",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "stoj",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=3]
radius = 280.0
height = 100.001
[node name="postava" type="KinematicBody2D"]
position = Vector2( 531, 253 )
scale = Vector2( 0.1, 0.1 )
script = ExtResource( 2 )
[node name="postavicka" type="AnimatedSprite" parent="."]
position = Vector2( 245.594, -158.988 )
scale = Vector2( 1.72233, 1.65683 )
frames = SubResource( 2 )
animation = "idle"
[node name="zvuk" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 10 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true
limit_left = -450
limit_top = -220
limit_right = 3600
limit_bottom = 830
smoothing_enabled = true
smoothing_speed = 2.0
drag_margin_left = 0.15
drag_margin_top = 0.15
drag_margin_right = 0.15
drag_margin_bottom = 0.15
[node name="hudba" type="AudioStreamPlayer" parent="."]
process_priority = 1
stream = ExtResource( 9 )
autoplay = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 60, -170 )
scale = Vector2( 0.999999, 0.999999 )
shape = SubResource( 3 )