channel-switcher/games/asteroids/bullet.tscn

21 lines
699 B
Text
Raw Normal View History

2025-05-11 20:35:08 +10:00
[gd_scene load_steps=4 format=3 uid="uid://i4us3nam2kn5"]
2025-05-11 20:11:41 +10:00
[ext_resource type="Texture2D" uid="uid://b775cji263ifl" path="res://sprites/asteroids_bullet.png" id="1_bvcl6"]
2025-05-11 20:35:08 +10:00
[ext_resource type="Script" uid="uid://04qgt5gangt2" path="res://games/asteroids/bullet.gd" id="1_hy4j0"]
2025-05-11 20:11:41 +10:00
[sub_resource type="CircleShape2D" id="CircleShape2D_bvcl6"]
2025-05-11 20:35:08 +10:00
radius = 7.0
2025-05-11 20:11:41 +10:00
[node name="Bullet" type="Area2D"]
collision_layer = 2
collision_mask = 3
2025-05-11 20:35:08 +10:00
script = ExtResource("1_hy4j0")
2025-05-11 20:11:41 +10:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_bvcl6")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
2025-05-11 20:35:08 +10:00
scale = Vector2(0.5, 0.5)
2025-05-11 20:11:41 +10:00
texture = ExtResource("1_bvcl6")