-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobstacle.tscn
45 lines (34 loc) · 1.16 KB
/
obstacle.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://spritesheet.png" type="Texture" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7.04506, 117.834 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 7.5, 15.416 )
[node name="pipes" type="KinematicBody2D" groups=[
"pipes",
]]
[node name="sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 17, 17, 340 )
[node name="area_2d" type="Area2D" parent="." groups=[
"obstacle",
]]
position = Vector2( 0, 128 )
[node name="collision_shape_2d" type="CollisionShape2D" parent="area_2d"]
position = Vector2( 0, 8 )
shape = SubResource( 1 )
[node name="area_2d2" type="Area2D" parent="." groups=[
"obstacle",
]]
position = Vector2( 0.681122, -136 )
[node name="collision_shape_2d" type="CollisionShape2D" parent="area_2d2"]
position = Vector2( -0.681122, 0.846207 )
shape = SubResource( 1 )
[node name="area_2d3" type="Area2D" parent="." groups=[
"score",
]]
position = Vector2( 0.681122, -7.83292 )
[node name="collision_shape_2d" type="CollisionShape2D" parent="area_2d3"]
position = Vector2( 7.81888, 7.24894 )
shape = SubResource( 2 )