ai adaptation

This commit is contained in:
Jonas Mucke
2020-04-20 13:15:24 +02:00
parent b8b026d063
commit 3ec908f6c3
12 changed files with 399 additions and 93 deletions

View File

@@ -1,9 +1,9 @@
extends StaticBody2D
export(int,1,10) var health = 1
var GreenDrop = 0.5
var BlueDrop = 0.4
var RedDrop = 0.2
var GreenDrop = 0.4
var BlueDrop = 0.5
var RedDrop = 0.8
var Heart = 0.2
func offset_vec():

View File

@@ -11,9 +11,10 @@ extents = Vector2( 16, 16 )
[node name="Kind" parent="." instance=ExtResource( 3 )]
general = 2
kind = 2
kind = 10
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 1.90735e-06 )
texture = ExtResource( 1 )
[node name="Hurtbox" parent="." instance=ExtResource( 2 )]

View File

@@ -1,7 +1,7 @@
extends Node2D
export(int, 1, 5) var lifePoints = 3
export(int, 1, 30) var spawnRate = 5.0
export(float, 0, 30) var spawnRate = 5.0
var Minion = load("res://Boss/Minion.tscn")
var elapsedTime = 0.0