1234567891011121314151617181920212223242526272829303132333435363738 |
- [gd_scene load_steps=7 format=3 uid="uid://b7cuabx3ghe01"]
- [ext_resource type="Script" path="res://scene/entity/onion.gd" id="1_4vafg"]
- [ext_resource type="Texture2D" uid="uid://qtverddtembb" path="res://res/shallot.png" id="2_wk27u"]
- [ext_resource type="PackedScene" uid="uid://cbpm6nmfyr861" path="res://scene/entity/ri.tscn" id="3_3jjw5"]
- [ext_resource type="AudioStream" uid="uid://dti0unulgsf3o" path="res://snd/sfx/laserShoot.wav" id="4_ixbct"]
- [ext_resource type="Script" path="res://scene/entity/pc.gd" id="5_ctkfa"]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_8s8kg"]
- size = Vector2(106.5, 108)
- [node name="Onion" type="CharacterBody2D"]
- collision_layer = 2
- collision_mask = 0
- script = ExtResource("1_4vafg")
- y_offset = -70.0
- height = 50.0
- grow_time = 3.0
- max_hp = 65.0
- cost = 65
- attack_rate = 3.0
- attack_range = 2000.0
- attack_damage = 27.0
- [node name="Body" type="Sprite2D" parent="."]
- texture = ExtResource("2_wk27u")
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- position = Vector2(5, 10)
- shape = SubResource("RectangleShape2D_8s8kg")
- [node name="RI" parent="." instance=ExtResource("3_3jjw5")]
- [node name="Coin" type="AudioStreamPlayer2D" parent="."]
- stream = ExtResource("4_ixbct")
- volume_db = -6.0
- bus = &"SFX"
- script = ExtResource("5_ctkfa")
|