[gd_scene load_steps=9 format=3 uid="uid://barkhw1dcvol6"]

[ext_resource type="Script" path="res://scene/entity/carrot.gd" id="1_gju6g"]
[ext_resource type="Texture2D" uid="uid://h6xbp2jjqyvs" path="res://res/carrot_gun.png" id="1_tdoyb"]
[ext_resource type="Texture2D" uid="uid://bigfbiy262j6j" path="res://res/carrot_body_0.png" id="2_ptjqr"]
[ext_resource type="Script" path="res://scene/entity/carrot_gun.gd" id="3_4132d"]
[ext_resource type="PackedScene" uid="uid://cbpm6nmfyr861" path="res://scene/entity/ri.tscn" id="5_f2co1"]
[ext_resource type="AudioStream" uid="uid://cpyaqxuec8i5k" path="res://snd/sfx/laserShoot(1).wav" id="6_6wdjm"]
[ext_resource type="Script" path="res://scene/entity/pc.gd" id="7_5wvmf"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_kuiqv"]
size = Vector2(573.333, 1040)

[node name="Carrot" type="CharacterBody2D"]
scale = Vector2(0.3, 0.3)
collision_layer = 2
collision_mask = 0
script = ExtResource("1_gju6g")
y_offset = 75.0
height = 300.0
base_scale = 0.4
max_hp = 60.0
bullet_color = Color(0.878431, 0.160784, 0.478431, 1)
attack_rate = 0.25
attack_range = 1800.0
attack_damage = 3.0

[node name="Gun" type="Sprite2D" parent="."]
position = Vector2(0, -430)
texture = ExtResource("1_tdoyb")
centered = false
offset = Vector2(-200, -327)
script = ExtResource("3_4132d")

[node name="Body" type="Sprite2D" parent="."]
texture = ExtResource("2_ptjqr")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-3.33335, -20)
shape = SubResource("RectangleShape2D_kuiqv")

[node name="RI" parent="." instance=ExtResource("5_f2co1")]

[node name="Coin" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_6wdjm")
volume_db = -6.0
bus = &"SFX"
script = ExtResource("7_5wvmf")
