coin.pos.x= 10
coin.pos.y=10
hero.moveXY(7,10) --> OK
hero.moveXY(6,10) --> coin not collected
That sounds about right. The hero normally can attack things 3 units away as well.
1 Like
coin.pos.x= 10
coin.pos.y=10
hero.moveXY(7,10) --> OK
hero.moveXY(6,10) --> coin not collected
That sounds about right. The hero normally can attack things 3 units away as well.