Refactor brick throwing mechanics; integrate new input handling and projectile initialization components

This commit is contained in:
2025-05-13 00:44:44 +02:00
parent 3d65daf0c5
commit c291f42531
25 changed files with 276 additions and 72 deletions

View File

@@ -1,9 +1,11 @@
[gd_scene load_steps=3 format=3 uid="uid://coayig4dxelo2"]
[gd_scene load_steps=4 format=3 uid="uid://coayig4dxelo2"]
[ext_resource type="Script" uid="uid://cm06xg1l3xtw5" path="res://scripts/components/brick_throw.gd" id="1_hniwk"]
[ext_resource type="PackedScene" uid="uid://bymro4t7angv5" path="res://objects/entities/brick.tscn" id="2_4txoq"]
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="3_gxahf"]
[node name="BrickThrowComponent" type="Node"]
script = ExtResource("1_hniwk")
brick_scene = ExtResource("2_4txoq")
fire_rate = 0.3
throw_input_behavior = ExtResource("3_gxahf")