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/drift_sine_wave.tres
Normal file
13
resources/pickups/drift_sine_wave.tres
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="PickupDriftBehavior" format=3 uid="uid://cr7lye10sx1q6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b4lar4f3526b1" path="res://resources/pickups/pickup_drift_behavior.gd" id="1_drift"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_drift")
|
||||
drift_type = 1
|
||||
drift_speed = 30.0
|
||||
wave_amplitude = 40.0
|
||||
wave_frequency = 1.0
|
||||
drift_along_x = true
|
||||
reverse_direction = false
|
||||
randomize_origin = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue