20 lines
790 B
Plaintext
20 lines
790 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dnvcics1ni4pa"]
|
|
|
|
[ext_resource type="Script" path="res://script/asteroid.cs" id="1_rxx5v"]
|
|
[ext_resource type="Texture2D" uid="uid://bai5xn2p7e5pd" path="res://assets/PNG/Meteors/meteorBrown_small1.png" id="2_rmklb"]
|
|
[ext_resource type="Shape2D" uid="uid://iatbcsveyeh0" path="res://assets/CollisionShapes/asteroid_cshape_smallcircle.tres" id="3_pxcia"]
|
|
|
|
[node name="Asteroid" type="Area2D"]
|
|
collision_layer = 4
|
|
collision_mask = 11
|
|
script = ExtResource("1_rxx5v")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_rmklb")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(1, -1)
|
|
shape = ExtResource("3_pxcia")
|
|
|
|
[connection signal="body_entered" from="." to="." method="OnBodyEntered"]
|