-
Notifications
You must be signed in to change notification settings - Fork 1
/
Space.tscn
108 lines (77 loc) · 2.73 KB
/
Space.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
[gd_scene load_steps=8 format=1]
[ext_resource path="res://ship.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
custom_solver_bias = 0.0
radius = 27.5046
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 528.036, 10 )
[sub_resource type="RectangleShape2D" id=3]
custom_solver_bias = 0.0
extents = Vector2( 10, 230.868 )
[sub_resource type="RectangleShape2D" id=4]
custom_solver_bias = 0.0
extents = Vector2( 10, 229.097 )
[sub_resource type="RectangleShape2D" id=5]
custom_solver_bias = 0.0
extents = Vector2( 541.99, 10 )
[node name="Space" type="Node"]
[node name="Ship" type="KinematicBody2D" parent="."]
transform/pos = Vector2( 530.748, 528.532 )
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0.34967, 1.39862 )
shapes/0/trigger = false
collision/layers = 1
collision/mask = 1
collision/margin = 0.08
script/script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="Ship"]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ship"]
transform/pos = Vector2( 0.34967, 1.39862 )
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="Node2D" type="Node2D" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="Node2D"]
input/pickable = false
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 510.803, 614.391 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 3 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 1038.58, 383.115 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 4 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, -14.8466, 382.077 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 5 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 509.061, 145.456 )
shapes/3/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="BackShape" type="CollisionShape2D" parent="Node2D/StaticBody2D"]
transform/pos = Vector2( 510.803, 614.391 )
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0
[node name="RightShape" type="CollisionShape2D" parent="Node2D/StaticBody2D"]
transform/pos = Vector2( 1038.58, 383.115 )
shape = SubResource( 3 )
trigger = false
_update_shape_index = 1
[node name="LeftShape" type="CollisionShape2D" parent="Node2D/StaticBody2D"]
transform/pos = Vector2( -14.8466, 382.077 )
shape = SubResource( 4 )
trigger = false
_update_shape_index = 2
[node name="FrontShape" type="CollisionShape2D" parent="Node2D/StaticBody2D"]
transform/pos = Vector2( 509.061, 145.456 )
shape = SubResource( 5 )
trigger = false
_update_shape_index = 3