forked from fyodordev/fourier-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBaseStick.tscn
50 lines (40 loc) · 1.33 KB
/
BaseStick.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://BaseStick.gd" type="Script" id=1]
[ext_resource path="res://Cable.png" type="Texture" id=2]
[ext_resource path="res://Junction.gd" type="Script" id=3]
[ext_resource path="res://Junction.png" type="Texture" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 64, 16 )
[sub_resource type="CircleShape2D" id=2]
radius = 48.0
[node name="Stick+Junction" type="Node2D"]
script = ExtResource( 1 )
[node name="Stick" type="KinematicBody2D" parent="."]
position = Vector2( 64, 0 )
collision_layer = 2
collision_mask = 4
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Stick"]
shape = SubResource( 1 )
disabled = true
[node name="Stick_Sprite" type="Sprite" parent="Stick"]
position = Vector2( 0, -2.27374e-13 )
scale = Vector2( 4, 3.556 )
texture = ExtResource( 2 )
[node name="Junction" type="KinematicBody2D" parent="."]
position = Vector2( 128, 0 )
collision_layer = 2
collision_mask = 4
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Junction"]
shape = SubResource( 2 )
disabled = true
[node name="Junction_Sprite" type="Sprite" parent="Junction"]
position = Vector2( 0, 9.53674e-07 )
scale = Vector2( 2.74286, 2.74286 )
texture = ExtResource( 4 )