rearengement

This commit is contained in:
2025-09-04 17:55:05 +02:00
parent 1913038265
commit fd67adacc9
23 changed files with 475 additions and 0 deletions

20
scene/asteroidx2.tscn Normal file
View File

@@ -0,0 +1,20 @@
[gd_scene load_steps=3 format=3 uid="uid://d2jxc24g18ab1"]
[ext_resource type="Script" uid="uid://b8a23hkmesx0l" path="res://script/asteroid.gd" id="1_ka8bu"]
[ext_resource type="Texture2D" uid="uid://bby053xsfn3cp" path="res://assets/asteroidx2.png" id="2_e2m2r"]
[node name="asteroid" type="RigidBody2D"]
collision_layer = 2
collision_mask = 2
mass = 10.0
contact_monitor = true
max_contacts_reported = 4
script = ExtResource("1_ka8bu")
[node name="Asteroid" type="Sprite2D" parent="."]
texture = ExtResource("2_e2m2r")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(16, -23, 3, -29, -11, -27, -22, -12, -27, 2, -25, 21, -6, 30, 17, 23, 23, 10, 29, 1, 20, -8)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]