AceField/Scenes/Bullet.tscn

22 lines
737 B
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=4 format=3 uid="uid://ds40mib6ur8yf"]
[ext_resource type="Texture2D" uid="uid://c6xf6w3jg0hfh" path="res://Sprites/Projectiles.png" id="1_cufey"]
[ext_resource type="Script" path="res://Scripts/Bullet.cs" id="1_ttgqp"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_tcwfy"]
radius = 5.0
height = 58.0
[node name="Bullet" type="Area2D" node_paths=PackedStringArray("FreeTimer")]
script = ExtResource("1_ttgqp")
FreeTimer = NodePath("FreeTimer")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_cufey")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_tcwfy")
[node name="FreeTimer" type="Timer" parent="."]
autostart = true