Quote:
Originally Posted by cbk1994
You should put this on GitHub so it's easier to keep track of changes and contribute to. I wouldn't mind trying to fix the memory stuff if you do that.
|
Sorry, missed this post.
https://github.com/dustyshouri/NW2PNG2.0
Quote:
Originally Posted by ffcmike
No errors were returned for me this time which is good for generating a basic map, however no characters/ganis were rendered.
|
I tested it with a GS2 showcharacter() in the following script:
PHP Code:
function onCreated() {
// Initialize the attributes
showcharacter();
this.headimg = "head19.png";
this.colors[0] = "orange";
this.colors[1] = "gray";
this.colors[2] = "gray";
this.colors[3] = "brown";
this.colors[4] = "black";
this.shieldimg = "shield1.gif";
this.shieldpower = 1;
this.dir = 3;
setcharani("walk",null);
this.startx = this.x;
this.starty = this.y;
this.y = this.starty + 5;
this.x = this.startx - 16;
this.shadow.x -= 1;
}
And it worked fine. Could you email me the gmap and levels, or at least one of the levels that's having problems?
[email protected]