-
Notifications
You must be signed in to change notification settings - Fork 0
/
Piece.tscn
53 lines (40 loc) · 1.22 KB
/
Piece.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Piece.gd" type="Script" id=1]
[ext_resource path="res://images/black_piece.svg" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
custom_solver_bias = 0.0
radius = 30.6193
[node name="Piece" type="Control"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = -32.0
margin_top = -32.0
margin_right = 32.0
margin_bottom = 32.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
script = ExtResource( 1 )
_sections_unfolded = [ "Margin", "Material", "Rect", "Visibility" ]
color = "black"
[node name="Sprite" type="Sprite" parent="." index="0"]
position = Vector2( 32, 32 )
texture = ExtResource( 2 )
_sections_unfolded = [ "Transform" ]
[node name="Area2D" type="Area2D" parent="." index="1"]
position = Vector2( 32, 32 )
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
_sections_unfolded = [ "Transform" ]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" index="0"]
shape = SubResource( 1 )