Implemented new icons (sizing not correct) , renamed trap types, and created colored pawns)
This commit is contained in:
@@ -148,7 +148,7 @@ func _physics_process(delta: float) -> void:
|
||||
velocity = speed * dir
|
||||
if is_poisoned():
|
||||
velocity *= 0.5
|
||||
if detecting:
|
||||
if is_crouching():
|
||||
velocity *= .33
|
||||
velocity.y = y
|
||||
if !detecting:
|
||||
@@ -560,7 +560,7 @@ func _on_hack_activated(type : Hack.Type) -> void:
|
||||
func detonate() -> void:
|
||||
var switch_list = []
|
||||
for hack : Hack in Game.level.hacks.values():
|
||||
if hack.type == Hack.Type.SWITCH and hack.hack_owner == id:
|
||||
if hack.type == Hack.Type.TRIGGER and hack.hack_owner == id:
|
||||
switch_list.append(hack)
|
||||
detonate_sound.play()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user