Set up framework for more advance pickup behaviours.
This commit is contained in:
parent
a0df0be862
commit
935b61bd3b
16 changed files with 485 additions and 20 deletions
13
resources/pickups/rare_powerup.tres
Normal file
13
resources/pickups/rare_powerup.tres
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue