![]() |
Getting all layers and Saving the level
I'm trying to get all the layers of a level and save as an image. I can get a specific layer just fine, but trying to get them all on one image seems to have stumped me. If I take out the temp.r loop, change the @= for temp.tile to just =, and set tilelayers[0] then it works fine one 1 layer. I know I'm just doing this wrong probably, but if it's even possible I can't wrap my head on how to do it. Using dustys TileLayers script btw.
PHP Code:
I also might as well ask how to do this with a gmap instead of just one level as well, obviously I'm trying to just draw out the map per the levels and layers. |
Wouldn't this do what you want?
PHP Code:
|
No unfortunately, anything with the temp.r loop won't even get to the point of saving the image, probably because of the way dustys tile functions work, and his thing he made is way out of my league so if there isn't another way I suppose I'm doomed.
|
Increase the loop limit, I.e.
maxlooplimit = 100000; 64*64*6 is 24576 which is over the 10000 limit by default. |
tried this.maxlooplimit = 100000; and maxlooplimit = 100000; before and, just for kicks, in the loop. Nothing.
|
All times are GMT +2. The time now is 06:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.