25 lines
872 B
Plaintext
25 lines
872 B
Plaintext
![]() |
[gd_scene load_steps=5 format=3 uid="uid://chpqjpcexhd3t"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://8uv7dd4m5ne" path="res://rocks.png" id="1_6r1ml"]
|
||
|
[ext_resource type="Script" uid="uid://caa0o3l446c85" path="res://rock.gd" id="1_55vvm"]
|
||
|
|
||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_55vvm"]
|
||
|
atlas = ExtResource("1_6r1ml")
|
||
|
region = Rect2(16.535, 15.865, 15.895, 17.055)
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_55vvm"]
|
||
|
radius = 6.32456
|
||
|
|
||
|
[node name="Node2D" type="Node2D"]
|
||
|
script = ExtResource("1_55vvm")
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
texture = SubResource("AtlasTexture_55vvm")
|
||
|
|
||
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
shape = SubResource("CircleShape2D_55vvm")
|
||
|
|
||
|
[connection signal="input_event" from="Area2D" to="." method="_on_area_2d_input_event"]
|