-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPeakFour.tscn
109 lines (76 loc) · 2.91 KB
/
PeakFour.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[gd_scene load_steps=9 format=1]
[ext_resource path="res://scripts/peak.gd" type="Script" id=1]
[ext_resource path="res://textures/peak.png" type="Texture" id=2]
[sub_resource type="ConvexPolygonShape2D" id=1]
custom_solver_bias = 0.0
points = Vector2Array( 20, 15, 4, 16, -4, 16, -4, 13, -1, -16, 15, -17, 36, 12 )
[sub_resource type="ConvexPolygonShape2D" id=2]
custom_solver_bias = 0.0
points = Vector2Array( 36, 12, 31, -20, 47, -25, 48, -25, 52, 4, 52, 7 )
[sub_resource type="ConvexPolygonShape2D" id=3]
custom_solver_bias = 0.0
points = Vector2Array( 36, 12, 15, -17, 31, -20 )
[sub_resource type="ConvexPolygonShape2D" id=4]
custom_solver_bias = 0.0
points = Vector2Array( 15, -18, -1, -17, 0, -18, 15, -19 )
[sub_resource type="ConvexPolygonShape2D" id=5]
custom_solver_bias = 0.0
points = Vector2Array( 47, -27, 48, -26, 31, -21, 31, -22 )
[sub_resource type="ConvexPolygonShape2D" id=6]
custom_solver_bias = 0.0
points = Vector2Array( 15, -19, 31, -22, 31, -21, 15, -18 )
[node name="PeakFour" type="Node2D"]
script/script = ExtResource( 1 )
[node name="body" type="StaticBody2D" parent="."]
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 2 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 3 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = false
collision/layers = 1
collision/mask = 1
constant_linear_velocity = Vector2( 0, 0 )
constant_angular_velocity = 0.0
friction = 1.0
bounce = 0.0
[node name="sprite" type="Sprite" parent="body"]
texture = ExtResource( 2 )
[node name="sprite1" type="Sprite" parent="body"]
transform/pos = Vector2( 16, -1 )
texture = ExtResource( 2 )
[node name="sprite2" type="Sprite" parent="body"]
transform/pos = Vector2( 32, -4 )
texture = ExtResource( 2 )
[node name="sprite3" type="Sprite" parent="body"]
transform/pos = Vector2( 48, -9 )
texture = ExtResource( 2 )
[node name="polygon" type="CollisionPolygon2D" parent="body"]
build_mode = 0
polygon = Vector2Array( -4, 16, -4, 13, -1, -16, 15, -17, 31, -20, 47, -25, 48, -25, 52, 4, 52, 7, 36, 12, 20, 15, 4, 16 )
shape_range = Vector2( 0, 2 )
trigger = false
[node name="trigger" type="Area2D" parent="."]
input/pickable = true
shapes/0/shape = SubResource( 4 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = true
shapes/1/shape = SubResource( 5 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = true
shapes/2/shape = SubResource( 6 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
[node name="polygon" type="CollisionPolygon2D" parent="trigger"]
build_mode = 0
polygon = Vector2Array( -1, -17, 0, -18, 15, -19, 31, -22, 47, -27, 48, -26, 31, -21, 15, -18 )
shape_range = Vector2( 0, 2 )
trigger = true