parallax background, pickups, slime enemies
This commit is contained in:
1 parent
c3ab17230b
commit
04f421901c
21 files changed
+710
-7
No files matched your search
@@ -0,0 +1,16 @@
|
||||
class_name Coin extends Area2D
|
||||
|
||||
signal coinCollisionSignal(body, coin)
|
||||
|
||||
# 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:
|
||||
pass
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
coinCollisionSignal.emit(body, self)
|
||||
Reference in new issue
Block a user