KOBUGE-Games / Herbi

A retro platformer which you have to collect all diamonds

Home Page:http://kobuge-games.github.io/Herbi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unability to kill an enemy

ObaniGemini opened this issue · comments

In level_6 the lower enemy (a monkey) cannot be killed, I think it's because of some spikes but I thought I had removed them
Error :
SCRIPT ERROR: _on_Area2D_body_enter: Invalid get index 'velocity' (on base: 'StaticBody2D (spikes.gd)').
At: res://scripts/enemy_2.gd:80.
SCRIPT ERROR: _on_Area2D_body_enter: Invalid get index 'velocity' (on base: 'StaticBody2D (spikes.gd)').
At: res://scripts/enemy_2.gd:80.

blablabla

@ObaniGemini ~ I think I fixed it in 1c09d53, please check again.

@bojidar-bg : it was fixed indeed. Thanks for your work :)