starcheese/asteroid.tscn

32 lines
1.1 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://dcq5a8tewppk1"]
[ext_resource type="Script" path="res://asteroid.gd" id="1_spmxj"]
[ext_resource type="Texture2D" uid="uid://buirp1h6onqai" path="res://images/AsteroidBrown.png" id="2_hb7w5"]
[sub_resource type="CircleShape2D" id="CircleShape2D_w58nc"]
radius = 86.093
[node name="asteroid" type="StaticBody2D"]
position = Vector2(564, 144)
collision_mask = 2
script = ExtResource("1_spmxj")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1.00006, -3.99998)
scale = Vector2(1.2, 1.181)
texture = ExtResource("2_hb7w5")
[node name="AsteroidCollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2(-519, -164)
polygon = PackedVector2Array(548, 101, 613, 169, 597, 210, 548, 240, 462, 221, 431, 184, 434, 133, 497, 90)
[node name="AsteroidHealthLabel" type="Label" parent="."]
offset_left = 105.0
offset_top = 38.0
offset_right = 181.0
offset_bottom = 80.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 2)
shape = SubResource("CircleShape2D_w58nc")