1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- [gd_scene load_steps=9 format=3 uid="uid://7xbagi7msusx"]
- [ext_resource type="Script" path="res://scene/entity/carrot.gd" id="1_hssk5"]
- [ext_resource type="Texture2D" uid="uid://h6xbp2jjqyvs" path="res://res/carrot_gun.png" id="2_olill"]
- [ext_resource type="Script" path="res://scene/entity/carrot_gun.gd" id="3_bcjtw"]
- [ext_resource type="Texture2D" uid="uid://cwl8co2omg20p" path="res://res/carrot_body_1.png" id="4_18hj0"]
- [ext_resource type="PackedScene" uid="uid://cbpm6nmfyr861" path="res://scene/entity/ri.tscn" id="5_fijcn"]
- [ext_resource type="AudioStream" uid="uid://cpyaqxuec8i5k" path="res://snd/sfx/laserShoot(1).wav" id="6_dfteh"]
- [ext_resource type="Script" path="res://scene/entity/pc.gd" id="7_qhdbr"]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_8s8kg"]
- size = Vector2(463.333, 1000)
- [node name="Carrot" type="CharacterBody2D"]
- scale = Vector2(0.3, 0.3)
- collision_layer = 2
- collision_mask = 0
- script = ExtResource("1_hssk5")
- y_offset = 75.0
- height = 300.0
- grow_time = 2.0
- base_scale = 0.4
- max_hp = 200.0
- cost = 20
- bullet_color = Color(0.917647, 0.917647, 0.917647, 1)
- attack_rate = 0.25
- attack_range = 2500.0
- attack_damage = 4.0
- [node name="Gun" type="Sprite2D" parent="."]
- position = Vector2(0, -430)
- texture = ExtResource("2_olill")
- centered = false
- offset = Vector2(-200, -327)
- script = ExtResource("3_bcjtw")
- [node name="Body" type="Sprite2D" parent="."]
- texture = ExtResource("4_18hj0")
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- position = Vector2(-5.00001, 0)
- shape = SubResource("RectangleShape2D_8s8kg")
- [node name="RI" parent="." instance=ExtResource("5_fijcn")]
- [node name="Coin" type="AudioStreamPlayer2D" parent="."]
- stream = ExtResource("6_dfteh")
- volume_db = -6.0
- bus = &"SFX"
- script = ExtResource("7_qhdbr")
|