I'm working on a potential complex lighting system and figured I would try and save some time by asking a somewhat simple question here. Does anyone know if RPG Maker MV has a built-in way of returning all tiles in a map? I have found some interesting functions in the Game_Map class but due to lack of documentation I'm having to spend hours reverse engineering their code to figure out poorly named variables like "d" and the like.
What I want to accomplish is:
A. Return all tiles in a map
B. Either sort out the tiles which are impassable or contain a certain terrain tag.
Once that have I data, I intend to pass it through an algorithm which builds a collision polygon of the map that I can later use for casting rays and such.
If anyone has figured this out already please let me know. I'm not beyond reverse engineering but I'm hoping someone else already has.
What I want to accomplish is:
A. Return all tiles in a map
B. Either sort out the tiles which are impassable or contain a certain terrain tag.
Once that have I data, I intend to pass it through an algorithm which builds a collision polygon of the map that I can later use for casting rays and such.
If anyone has figured this out already please let me know. I'm not beyond reverse engineering but I'm hoping someone else already has.