[gd_scene load_steps=9 format=3 uid="uid://bam5e7b0rnfnm"] [ext_resource type="Script" path="res://scene/entity/dragon.gd" id="1_b2xkh"] [ext_resource type="Texture2D" uid="uid://duevuku5wklwt" path="res://res/nothing.png" id="2_701be"] [ext_resource type="Script" path="res://scene/entity/carrot_gun.gd" id="3_tixck"] [ext_resource type="Texture2D" uid="uid://cx5md40xbjcwp" path="res://res/dragonfruit.png" id="4_sfyf4"] [ext_resource type="PackedScene" uid="uid://cbpm6nmfyr861" path="res://scene/entity/ri.tscn" id="5_5dxu3"] [ext_resource type="AudioStream" uid="uid://cngtrds12ovt8" path="res://snd/sfx/laserShootLong.wav" id="6_akcrm"] [ext_resource type="Script" path="res://scene/entity/pc.gd" id="7_b6qiy"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_8s8kg"] size = Vector2(106.5, 108) [node name="Dragon" type="CharacterBody2D"] collision_layer = 2 collision_mask = 0 script = ExtResource("1_b2xkh") y_offset = -60.0 height = 50.0 grow_time = 2.0 max_hp = 70.0 cost = 35 bullet_color = Color(0.490196, 0.0901961, 0.270588, 1) bullet_base_speed_u = 8000 bullet_base_speed_l = 4000 constant_sound = true attack_range = 1100.0 attack_damage = 6.0 [node name="Gun" type="Sprite2D" parent="."] position = Vector2(-2, -49) texture = ExtResource("2_701be") centered = false script = ExtResource("3_tixck") [node name="Body" type="Sprite2D" parent="."] texture = ExtResource("4_sfyf4") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(5, 10) shape = SubResource("RectangleShape2D_8s8kg") [node name="RI" parent="." instance=ExtResource("5_5dxu3")] [node name="Coin" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("6_akcrm") volume_db = -6.0 bus = &"SFX" script = ExtResource("7_b6qiy")