26 lines
820 B
Plaintext
26 lines
820 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://ditud5veuxqyb"]
|
|
|
|
[ext_resource type="Script" uid="uid://b8a23hkmesx0l" path="res://asteroid.gd" id="1_p0ukn"]
|
|
[ext_resource type="Texture2D" uid="uid://dbingmvgsgvfv" path="res://assets/asteroidx1.png" id="1_u87q6"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_p0ukn"]
|
|
radius = 14.0357
|
|
|
|
[node name="asteroid" type="RigidBody2D"]
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
mass = 5.0
|
|
contact_monitor = true
|
|
max_contacts_reported = 4
|
|
script = ExtResource("1_p0ukn")
|
|
|
|
[node name="Asteroid" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_u87q6")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
light_mask = 2
|
|
visibility_layer = 2
|
|
shape = SubResource("CircleShape2D_p0ukn")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|