4.6, new attack, enemy spawning, shaders, bunch of stuff
This commit is contained in:
parent
e08e3ebb13
commit
19517a3176
84 changed files with 13348 additions and 91399 deletions
11
scripts/float.gd
Normal file
11
scripts/float.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends AnimatedSprite2D
|
||||
|
||||
var time = 0.0
|
||||
@export var float_str = 10.0
|
||||
@export var float_time = 2.0
|
||||
@export var float_offset = -12.0
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
time += delta
|
||||
position.y = sin(time * float_time) * float_str + float_offset
|
||||
queue_redraw()
|
||||
Loading…
Add table
Add a link
Reference in a new issue