2025-12-02 01:21:10 +00:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://dgng5vdhn6anc"]
|
2025-12-01 22:45:28 +00:00
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://co67k1hqadpv4" path="res://textures/asteroid_small.png" id="1_akfqu"]
|
2025-12-02 01:21:10 +00:00
|
|
|
[ext_resource type="Script" uid="uid://cvk1sd0aqqmpq" path="res://scripts/asteroid.gd" id="1_t4se3"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dibsut6ee6qd5" path="res://textures/asteroid_medium.png" id="2_6mo6b"]
|
2025-12-01 22:45:28 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_uwrxv"]
|
|
|
|
|
radius = 16.0
|
|
|
|
|
|
2025-12-02 01:21:10 +00:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_t4se3"]
|
|
|
|
|
radius = 29.614185
|
|
|
|
|
|
2025-12-01 22:45:28 +00:00
|
|
|
[node name="Asteroid" type="RigidBody2D"]
|
|
|
|
|
mass = 2.5
|
|
|
|
|
linear_damp = 4.0
|
2025-12-02 01:21:10 +00:00
|
|
|
script = ExtResource("1_t4se3")
|
|
|
|
|
|
|
|
|
|
[node name="Variants" type="Node2D" parent="."]
|
2025-12-01 22:45:28 +00:00
|
|
|
|
2025-12-02 01:21:10 +00:00
|
|
|
[node name="Small" type="Sprite2D" parent="Variants"]
|
2025-12-01 22:45:28 +00:00
|
|
|
texture = ExtResource("1_akfqu")
|
|
|
|
|
|
2025-12-02 01:21:10 +00:00
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="Variants/Small"]
|
2025-12-01 22:45:28 +00:00
|
|
|
shape = SubResource("CircleShape2D_uwrxv")
|
2025-12-02 01:21:10 +00:00
|
|
|
|
|
|
|
|
[node name="Mediun" type="Sprite2D" parent="Variants"]
|
|
|
|
|
texture = ExtResource("2_6mo6b")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="Variants/Mediun"]
|
|
|
|
|
shape = SubResource("CircleShape2D_t4se3")
|