forked from rueterscooter/CS-Club-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.tscn
More file actions
99 lines (78 loc) · 2.54 KB
/
test.tscn
File metadata and controls
99 lines (78 loc) · 2.54 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[gd_scene load_steps=13 format=2]
[ext_resource path="res://Scripts/Player_Scripts/Player.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Player/temp/player_temp1.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Player/temp/player_temp2.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Player/temp/player_temp3.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Player/temp/player_temp4.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Player/temp/player_temp5.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Player/temp/player_temp7.png" type="Texture" id=7]
[ext_resource path="res://Sprites/Player/temp/player_temp8.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Player/temp/player_temp6.png" type="Texture" id=9]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "front_idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
"name": "front_walk",
"speed": 5.0
}, {
"frames": [ ExtResource( 5 ), ExtResource( 6 ) ],
"loop": true,
"name": "side_walk",
"speed": 10.0
}, {
"frames": [ ExtResource( 7 ), ExtResource( 8 ) ],
"loop": true,
"name": "back_walk",
"speed": 5.0
}, {
"frames": [ ExtResource( 9 ) ],
"loop": true,
"name": "back_idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "side_idle",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 4, 8 )
[sub_resource type="RectangleShape2D" id=3]
custom_solver_bias = 0.0
extents = Vector2( 5, 8 )
[node name="Area2D" type="Area2D" index="0"]
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
[node name="KinematicBody2D" type="KinematicBody2D" parent="." index="0"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="KinematicBody2D" index="0"]
frames = SubResource( 1 )
animation = "front_idle"
playing = true
[node name="SolidCollider" type="CollisionShape2D" parent="KinematicBody2D" index="1"]
shape = SubResource( 2 )
[node name="Hitbox" type="Area2D" parent="." index="1"]
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
[node name="hurtCollider" type="CollisionShape2D" parent="Hitbox" index="0"]
shape = SubResource( 3 )