Files
GodotTest/scenes/Base.tscn
Sebastian 9ed0852a50
All checks were successful
Build / build (push) Successful in 1m18s
Fix 29
2025-06-07 23:31:44 +02:00

43 lines
1.1 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://cnv5rmxegl51c"]
[ext_resource type="Script" uid="uid://l36qwq5psa78" path="res://scripts/Base.gd" id="1"]
[sub_resource type="CircleShape2D" id="1"]
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"]