godot-shooter / asteroids / files / items / Asteroid.tscn
Branch asteroids · default branch · all branches
Asteroid.tscn
56cadf84 2023-12-02 Pavel Safronov | 1 | [gd_scene load_steps=3 format=2] |
| 2 | ||
| 3 | [ext_resource path="res://assets/kenney_simple-space/PNG/Retina/meteor_detailedLarge.png" type="Texture" id=1] | |
| 4 | [ext_resource path="res://items/Asteroid.gd" type="Script" id=2] | |
| 5 | ||
| 6 | [node name="Asteroid" type="KinematicBody2D"] | |
7ce36b32 2023-12-21 Pavel Safronov | 7 | z_index = -1 |
56cadf84 2023-12-02 Pavel Safronov | 8 | script = ExtResource( 2 ) |
| 9 | ||
| 10 | [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] | |
| 11 | polygon = PoolVector2Array( 0, -48, 32, -32, 48, 0, 31, 32, 0, 48, -31, 33, -48, 0, -32, -31 ) | |
| 12 | ||
| 13 | [node name="Sprite" type="Sprite" parent="."] | |
| 14 | texture = ExtResource( 1 ) | |
| 15 | ||
| 16 | [node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."] | |
| 17 | estimate_radius = false | |
| 18 | radius = 64.0 |