diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2026-05-20 09:39:22 +0200 |
| commit | 75c83f4d7a628077d9ec98bfbd674699bfa20529 (patch) | |
| tree | 092244938ba3f2bf9e4355840e7f65176a6f5e3f /components/meteor.tscn | |
| download | moon-buggy-2d-develop.tar.xz moon-buggy-2d-develop.zip | |
initial gdscript rewritedevelop
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) |
