mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 05:52:24 +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
|
||||
|
||||
@@ -619,7 +619,10 @@ font_data = ExtResource( 6 )
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 1 )
|
||||
debug = null
|
||||
ROLL_SPEED = null
|
||||
FRICTION = 270
|
||||
ACCELERATION = null
|
||||
|
||||
[node name="Kind" parent="." instance=ExtResource( 7 )]
|
||||
kind = 1
|
||||
|
||||
Reference in New Issue
Block a user