Files
CatTank/scenes/bullet.tscn

18 lines
600 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://b6x4y208a1b2c"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_bullet"]
[ext_resource type="Texture2D" uid="uid://ddmjl3yshqcjw" path="res://icon.svg" id="2_icon"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1"]
size = Vector2(16, 16)
[node name="Bullet" type="Area2D"]
script = ExtResource("1_bullet")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.2, 0.2)
texture = ExtResource("2_icon")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_1")