Yonaba / Jumper

Fast, lightweight and easy-to-use pathfinding library for grid-based games
http://yonaba.github.io/Jumper
MIT License
607 stars 122 forks source link

node.x and node.y are nil #57

Closed josefnpat closed 6 years ago

josefnpat commented 6 years ago

jumper-1.8.1-1.tar.gz seems to work with the demo provided in the readme. current head (df4eb22f2b5a95c003bad9544ed560b2e51654f5) does not. node.x and node.y are nil. node seems to be a table.

Yonaba commented 6 years ago

Hi @josefnpat (long time no see :) ) Yes I am aware of that, the reason being current head points to a dev (unstable) code.

Valid fields are now node._x and node._y and can also be accessed through node:getX() and node:getY(). I was actually experimenting some changes with this current head. It will be properly documented when I have time, along with some other new features.

Until then, I will advise sticking to the latest stable (1.8.1).

josefnpat commented 6 years ago

Ok, thanks! Nice to see you too <3