"Invalid map layer" errors... engine bug?
Posted: Thu Jan 15, 2015 8:45 pm
Something I'm noticing when playing through Okédoké to catch bugs (which I did not notice when I was playing through prior to the most recent release, even when testing out the scripts that bring up this error message now...), it seems like every script that changes the tileset of a map layer is giving me an "invalid map layer" error message screen like the one attached.
I'm not sure what the heck is going on here: map layer 1 does exist on this map so it shouldn't be "invalid." It's set to a blank tileset, and the script is set up to change the tileset to a different one so that a ladder appears--tiles were placed using the non-blank tileset and then I changed the layer settings to use the blank one so all the tiles would be in the right place when the change happened.
This worked fine in the older nightly I was testing Okédoké with before releasing the complete version of the game, but gives me an error message every time in the December 19th nightly than I'm currently using. I think it might also happen in the version I upgraded to shortly before releasing the final version, as a review mentioned the bug and I'm assuming he was using the included game.exe.
I'm not sure what the heck is going on here: map layer 1 does exist on this map so it shouldn't be "invalid." It's set to a blank tileset, and the script is set up to change the tileset to a different one so that a ladder appears--tiles were placed using the non-blank tileset and then I changed the layer settings to use the blank one so all the tiles would be in the right place when the change happened.
This worked fine in the older nightly I was testing Okédoké with before releasing the complete version of the game, but gives me an error message every time in the December 19th nightly than I'm currently using. I think it might also happen in the version I upgraded to shortly before releasing the final version, as a review mentioned the bug and I'm assuming he was using the included game.exe.