ddr gaming
This commit is contained in:
parent
04417dffbd
commit
288245037b
25 changed files with 466 additions and 6 deletions
14
games/ddr/ddr_note.gd
Normal file
14
games/ddr/ddr_note.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends Node2D
|
||||
|
||||
var note_speed : float = 1
|
||||
@export_group("Node References")
|
||||
@export var sprite : Sprite2D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
position.y -= note_speed * delta
|
||||
Loading…
Add table
Add a link
Reference in a new issue