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/asteroidx3.tscn Normal file
View File

@@ -0,0 +1,20 @@
[gd_scene load_steps=3 format=3 uid="uid://buy8yafwaicq8"]
[ext_resource type="Script" uid="uid://b8a23hkmesx0l" path="res://script/asteroid.gd" id="1_e451a"]
[ext_resource type="Texture2D" uid="uid://dt08ism4ulfay" path="res://assets/asteroidx3.png" id="2_beklf"]
[node name="asteroid" type="RigidBody2D"]
collision_layer = 2
collision_mask = 2
mass = 20.0
contact_monitor = true
max_contacts_reported = 4
script = ExtResource("1_e451a")
[node name="Asteroid" type="Sprite2D" parent="."]
texture = ExtResource("2_beklf")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(23, 10, 36, -11, 22, -32, 8, -43, -32, -40, -40, -25, -43, 1, -40, 23, -24, 41, 3, 43, 38, 19)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]