very cool

This commit is contained in:
Tabby 2025-04-20 17:31:40 +10:00
parent 0f67687c55
commit c7bda26eed
12 changed files with 172 additions and 16 deletions

View file

@ -10,10 +10,12 @@ bounce = 1.0
[sub_resource type="CircleShape2D" id="CircleShape2D_4flbx"]
radius = 4.0
[node name="Player" type="RigidBody2D" node_paths=PackedStringArray("animated_sprite")]
[node name="Player" type="RigidBody2D" node_paths=PackedStringArray("animated_sprite") groups=["player"]]
physics_material_override = SubResource("PhysicsMaterial_onrkg")
gravity_scale = 0.0
lock_rotation = true
contact_monitor = true
max_contacts_reported = 1
linear_damp_mode = 1
script = ExtResource("1_onrkg")
start_speed = 2000
@ -26,3 +28,5 @@ sprite_frames = ExtResource("2_onrkg")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_4flbx")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]