-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCone.tscn
42 lines (28 loc) · 1.08 KB
/
Cone.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/Cone.gd" type="Script" id=1]
[ext_resource path="res://assets/cone_straight.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 22.5, 22 )
[node name="Cone" type="StaticBody2D" index="0"]
input_pickable = false
collision_layer = 2
collision_mask = 2
constant_linear_velocity = Vector2( 0, 0 )
constant_angular_velocity = 0.0
friction = 1.0
bounce = 0.0
script = ExtResource( 1 )
_sections_unfolded = [ "Collision" ]
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="." index="0"]
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
shape = SubResource( 1 )
_sections_unfolded = [ "Transform", "Z Index" ]
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="." index="2"]
rect = Rect2( -22.5, -22, 45, 44 )
_sections_unfolded = [ "Transform" ]
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]