[gd_scene load_steps=10 format=3 uid="uid://bymro4t7angv5"] [ext_resource type="Texture2D" uid="uid://djifxc5x0dyrw" path="res://sprites/ppc_tileset.png" id="1_1c3jb"] [ext_resource type="Script" uid="uid://cfw8nbrarex0i" path="res://scripts/components/BulletComponent.cs" id="2_r41xl"] [ext_resource type="Script" uid="uid://2i7p7v135u7c" path="res://scripts/components/DamageComponent.cs" id="3_h7wgh"] [ext_resource type="Script" uid="uid://cs6u3sh68f43j" path="res://scripts/components/OutOfScreenComponent.cs" id="4_ihgvw"] [ext_resource type="Script" uid="uid://c7n6ecsobohjn" path="res://scripts/components/ProjectileInitComponent.cs" id="5_aiue8"] [ext_resource type="Script" uid="uid://cbexrnnj47f87" path="res://scripts/components/LaunchComponent.cs" id="6_t4c40"] [ext_resource type="Script" uid="uid://c7p06t0eax8am" path="res://scripts/components/StraightMotionComponent.cs" id="7_y10b5"] [ext_resource type="PackedScene" uid="uid://c1iorglk708g0" path="res://objects/fxs/terrain_hit_fx.tscn" id="8_d0tcd"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_ar0xf"] size = Vector2(16, 10) [node name="Brick" type="Area2D"] collision_layer = 16 collision_mask = 9 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_ar0xf") [node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource("1_1c3jb") hframes = 12 vframes = 12 frame = 80 [node name="BulletComponent" type="Node" parent="." node_paths=PackedStringArray("Area", "TerrainHitFx", "BulletSprite")] script = ExtResource("2_r41xl") Area = NodePath("..") TerrainHitFx = NodePath("../TerrainHitFX") BulletSprite = NodePath("../Sprite2D") [node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."] position = Vector2(0, 2.38419e-07) scale = Vector2(0.8, 0.5) [node name="Timer" type="Timer" parent="."] [node name="DamageComponent" type="Node" parent="." node_paths=PackedStringArray("Area", "DamageTimer")] script = ExtResource("3_h7wgh") Area = NodePath("..") DamageTimer = NodePath("../Timer") [node name="OutOfScreenComponent" type="Node" parent="." node_paths=PackedStringArray("VisibilityNotifier")] script = ExtResource("4_ihgvw") VisibilityNotifier = NodePath("../VisibleOnScreenNotifier2D") [node name="ProjectileInitComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")] script = ExtResource("5_aiue8") LaunchComponent = NodePath("../LaunchComponent") metadata/_custom_type_script = "uid://bgty7040ams6s" [node name="LaunchComponent" type="Node2D" parent="."] script = ExtResource("6_t4c40") metadata/_custom_type_script = "uid://873un8agkyja" [node name="StraightMotionComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")] script = ExtResource("7_y10b5") LaunchComponent = NodePath("../LaunchComponent") metadata/_custom_type_script = "uid://cvcnfrr1udco5" [node name="TerrainHitFX" parent="." instance=ExtResource("8_d0tcd")]