-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGame.tscn
More file actions
121 lines (91 loc) · 3.13 KB
/
Game.tscn
File metadata and controls
121 lines (91 loc) · 3.13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[gd_scene load_steps=6 format=1]
[ext_resource path="res://Item/Item.tscn" type="PackedScene" id=1]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 579.073, 10 )
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 10, 286.138 )
[node name="Game" type="Node"]
[node name="Item" parent="." instance=ExtResource( 1 )]
transform/pos = Vector2( 830.928, 407.136 )
[node name="Player" parent="." instance=ExtResource( 2 )]
transform/pos = Vector2( 420.359, 476.995 )
[node name="Obstacle" type="StaticBody2D" parent="."]
transform/pos = Vector2( 471.2, 588.606 )
input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/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="CollisionShape2D" type="CollisionShape2D" parent="Obstacle"]
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="Sprite" type="Sprite" parent="Obstacle"]
transform/scale = Vector2( 18.0938, 0.312499 )
texture = ExtResource( 3 )
modulate = Color( 0, 0, 0, 1 )
[node name="Wall" type="StaticBody2D" parent="."]
transform/pos = Vector2( 46.1995, 305.721 )
input/pickable = false
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/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="Polygon2D" type="Polygon2D" parent="Wall"]
polygon = Vector2Array( -9.84711, -287.499, 9.82822, -286.355, 7.83771, 286.579, -9.84711, 286.579 )
uv = Vector2Array( )
color = Color( 1, 1, 1, 1 )
vertex_colors = ColorArray( )
offset = Vector2( 0, 0 )
texture/texture = null
texture/offset = Vector2( 0, 0 )
texture/scale = Vector2( 1, 1 )
texture/rotation = 0.0
invert/enable = false
invert/border = 100.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall"]
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0
[node name="Wall1" type="StaticBody2D" parent="."]
transform/pos = Vector2( 1006.37, 293.662 )
input/pickable = false
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/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="Polygon2D" type="Polygon2D" parent="Wall1"]
polygon = Vector2Array( -9.84711, -287.499, 9.82822, -286.355, 7.83771, 286.579, -9.84711, 286.579 )
uv = Vector2Array( )
color = Color( 1, 1, 1, 1 )
vertex_colors = ColorArray( )
offset = Vector2( 0, 0 )
texture/texture = null
texture/offset = Vector2( 0, 0 )
texture/scale = Vector2( 1, 1 )
texture/rotation = 0.0
invert/enable = false
invert/border = 100.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall1"]
shape = SubResource( 2 )
trigger = false
_update_shape_index = 0