12-10-2020, 06:11 PM
You're doing great work with the binding!
I've updated my local working copy with your latest commit to se what happens. I have a java compilation error that is silly but prevents me from generating the final class to run. The error is duplicate definition of SetLayerTilemap inside Tilengine class:
Aren't you getting this error?
At first sight what you've posted is correct, but have you modified TestWindow.java example? I see something strange here:
I've updated my local working copy with your latest commit to se what happens. I have a java compilation error that is silly but prevents me from generating the final class to run. The error is duplicate definition of SetLayerTilemap inside Tilengine class:
Code:
.\Tilengine.java:225: error: method SetLayerTilemap(int,int) is already defined in class Tilengine
public native boolean SetLayerTilemap (int nlayer, int tilemap);
^
Aren't you getting this error?
At first sight what you've posted is correct, but have you modified TestWindow.java example? I see something strange here:
- The sample never calls directly GetLayerHeight()
- Your output complains that the error is located in line 46 of main() function, but on my original sample, line 46 is a call to LoadTilemap() inside run() function.