Set up framework for more advance pickup behaviours.

This commit is contained in:
Henry Faber 2026-07-02 15:44:23 +01:00
parent a0df0be862
commit 935b61bd3b
16 changed files with 485 additions and 20 deletions

View file

@ -0,0 +1,13 @@
[gd_resource type="Resource" script_class="PickupBehavior" format=3 uid="uid://pickup_rare_powerup"]
[ext_resource type="Script" uid="uid://pickup_behavior_uid" path="res://resources/pickups/pickup_behavior.gd" id="1_behavior"]
[resource]
script = ExtResource("1_behavior")
bob_enabled = true
bob_frequency = 3.5
bob_amplitude = 6.0
shake_enabled = true
shake_frequency = 12.0
shake_amplitude = 1.5
fade_in_duration = 0.5