diff options
Diffstat (limited to 'components/meteor.tscn')
| -rw-r--r-- | components/meteor.tscn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/components/meteor.tscn b/components/meteor.tscn new file mode 100644 index 0000000..6b1fdf1 --- /dev/null +++ b/components/meteor.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=4 format=3 uid="uid://7n650wm14il0"] + +[ext_resource type="SpriteFrames" uid="uid://bskfnkqnofmxv" path="res://assets/spritesheets/meteor.tres" id="1_8c42w"] +[ext_resource type="Script" uid="uid://cpi64jvpvbdah" path="res://components/meteor.gd" id="1_10gax"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_hyb7h"] +radius = 14.0 + +[node name="Meteor" type="RigidBody2D"] +script = ExtResource("1_10gax") + +[node name="Sprite" type="AnimatedSprite2D" parent="."] +texture_filter = 3 +position = Vector2(-2, -55) +rotation = -0.785398 +sprite_frames = ExtResource("1_8c42w") +animation = &"fly" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_hyb7h") + +[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."] +rect = Rect2(-16, -123, 32, 138) |
