mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 14:02:23 +02:00
basics of ai, ready for soundeffects
This commit is contained in:
@@ -37,6 +37,8 @@ var experience := 0.0
|
||||
func _debug_update():
|
||||
debug_label.text = str(player_stats.health) + "/" + str(player_stats.max_health) + " HP\n" + str(currency) + " €"
|
||||
|
||||
func _ready():
|
||||
grid = get_tree().current_scene.get_child(3)
|
||||
|
||||
func _physics_process(delta):
|
||||
totaldamage += damage_per_second*delta
|
||||
|
||||
Reference in New Issue
Block a user