Tilemap to Bitmap Converter
Version: 1.0
Author: cozziekuns
Date: September 5, 2011
Version History
- <Version 1.0> 2011.05.09 - Original Release
Planned Future Versions
Description
A scripting tool which converts the RGSS2 Tilemap class into a usable Bitmap.
Features
- Easy conversion from Tilemap to Bitmap.
Screenshots
In-game screenshot taken manually with Print Screen + Cropping
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi54.tinypic.com%2F20joe2d.png&hash=3597daaded0c17cb708846ac5f73e71f80370d49)
Screenshot taken with Converter and an additional screenshot script
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi53.tinypic.com%2F27x1qg0.png&hash=db67a93152b144765c664098b632d54bf3afd913)
Instructions
See script.
Script
http://pastebin.com/raw.php?i=Jmqcn5rq (http://pastebin.com/raw.php?i=Jmqcn5rq)
Credit
Thanks
- Modern Algebra, for demonstrating how to use tile_id's in his Terrain Types (2k3) (http://rmrk.net/index.php?topic=34410.0) script.
Support
Post down below.
Known Compatibility Issues
Will not work with parallax maps, for obvious reasons. But those already have all the data saved, so I don't see a problem.
Author's Notes
If any scripter can optimize this code, as mine is fairly sloppy, please tell me how.
Whoa, this is awesome! I've been creating parallax maps by manually taking screenshots and weaving them together. This should at least speed up my workflow quite a bit in production. Great script, as always cozzie
Great idea cozzie!
How do you use this? I have one the activates when a script call is done, and it's kind of time consuming :/
The time it takes to convert ultimately depends on the size of the map. I tested a 30 * 30 and it took like 3-5 seconds, but I'm guessing the bigger maps take quite a large amount of time to process. You're supposed to use it in tandem with another script, such as my map screenshot script (http://rmrk.net/index.php/topic,43751.0.html).
Oh, and maps larger than 256 tiles wide or long will cause the script to throw an error, just a heads up.