47 lines
1.1 KiB
Plaintext
Executable File
47 lines
1.1 KiB
Plaintext
Executable File
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://scripts/Base.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
radius = 68.9104
|
|
|
|
[node name="Base" type="Node2D" groups=[
|
|
"ColoredEntity",
|
|
]]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -60.5
|
|
offset_top = -33.0
|
|
offset_right = 60.5
|
|
offset_bottom = 33.0
|
|
pivot_offset = Vector2( 0, 0 )
|
|
clip_contents = false
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
color = Color( 1, 1, 1, 1 )
|
|
|
|
[node name="Body" type="Area2D" parent="."]
|
|
input_pickable = true
|
|
gravity_direction = Vector2( 0, 1 )
|
|
gravity = 98.0
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
collision_layer = 12
|
|
collision_mask = 12
|
|
audio_bus_override = false
|
|
audio_bus_name = "Master"
|
|
|
|
[node name="CollisionMask" type="CollisionShape2D" parent="Body"]
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="body_entered" from="Body" to="." method="_on_Body_body_entered"]
|