19 lines
649 B
Plaintext
19 lines
649 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://mmopickup123"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/ammo_pickup.gd" id="1_pickup"]
|
|
[ext_resource type="Texture2D" uid="uid://ddmjl3yshqcjw" path="res://icon.svg" id="2_icon"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pickup"]
|
|
size = Vector2(32, 32)
|
|
|
|
[node name="AmmoPickup" type="Area2D"]
|
|
script = ExtResource("1_pickup")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
modulate = Color(0, 1, 0, 1)
|
|
scale = Vector2(0.25, 0.25)
|
|
texture = ExtResource("2_icon")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_pickup")
|