Closed bsherb53 closed 9 years ago
Hi Brian,
Well, I see the problem. You are working with a wrong version of Jumper, that is the cutting-edge development version. The file lookuptable.lua was added after the latest stable release, and it contains experimental code for features which are yet to come.
Use instead the latest stable version, which is 1.8.1 (see here http://github.com/Yonaba/Jumper/releases/tag/jumper-1.8.1-1). Take a look at the Readme, there some few syntax changes. I do hope it won't break your code. Happy debugging!
Thanks using Jumper. I'd love to hear about your game when it gets released.
Regards, Roland Y. Le 18 févr. 2015 20:49, "bsherb53" notifications@github.com a écrit :
Yonaba,
First off you have been awesome. I have been using this pathfinder for a small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the lookuptable.lua file, saying I need a ')' before the ',' http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am currently not actually using any part of the Jumper package. I plan to implement it soon. Do you have any suggestions?
Brian H.
Reply to this email directly or view it on GitHub https://github.com/Yonaba/Jumper/issues/37.
Yonaba,
I just swapped out all those directories, and upon the first launch of my newly used Jumper class, I saw what I dreaded most. I saw a list of about 70 different errors and my app would not compile!! I started reading them frantically, then I realized something... I had put them into a subdirectory. I then added the new directory location in my main.lua (where I am currently requiring jumper.grid and jumper.pathfinder) and guess what? It compiled into the simulator perfectly. I went to build it for my test device, and it magically worked as well!!!
Thank you for helping me out in a blonde moment like that. I am actually changing the way I am using the pathfinding, and as of now, I have not seen any examples myself where people do this with Jumper. Instead of moving the image/sprite around the screen with the path that is created, I am actually reverse engineering the given path, and using that to move the background image, keeping the main character always in the center of the screen.
I will definitely share when I get closer to being done with my app. I just started on it 3 days ago and have all the touch capabilities done. I hope I can have the whole thing done by the end of this summer.
Thanks again for your help, when I launch, your name will be in my credits :)
Brian H
On Wed Feb 18 2015 at 2:18:22 PM Roland notifications@github.com wrote:
Hi Brian,
Well, I see the problem. You are working with a wrong version of Jumper, that is the cutting-edge development version. The file lookuptable.lua was added after the latest stable release, and it contains experimental code for features which are yet to come.
Use instead the latest stable version, which is 1.8.1 (see here http://github.com/Yonaba/Jumper/releases/tag/jumper-1.8.1-1). Take a look at the Readme, there some few syntax changes. I do hope it won't break your code. Happy debugging!
Thanks using Jumper. I'd love to hear about your game when it gets released.
Regards, Roland Y. Le 18 févr. 2015 20:49, "bsherb53" notifications@github.com a écrit :
Yonaba,
First off you have been awesome. I have been using this pathfinder for a small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the lookuptable.lua file, saying I need a ')' before the ',' http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am currently not actually using any part of the Jumper package. I plan to implement it soon. Do you have any suggestions?
Brian H.
Reply to this email directly or view it on GitHub https://github.com/Yonaba/Jumper/issues/37.
— Reply to this email directly or view it on GitHub https://github.com/Yonaba/Jumper/issues/37#issuecomment-74949857.
No problem!
Yonaba,
First off you have been awesome. I have been using this pathfinder for a small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the lookuptable.lua file, saying I need a ')' before the ',' http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am currently not actually using any part of the Jumper package. I plan to implement it soon. Do you have any suggestions?
Brian H.