New account registration is temporarily disabled.

RM2K FOREST TILES

Posts

Pages: 1
No one is going to know the answer to this, but you know how in the chipsets for RM2k you have the forest, which looks something like this:

o O
xxx
|O|
xxx

Basically a 3x4 grid of various forest tiles? They have it for the mountains and other stuff too. Well the translation from your image into the actual tiles on the screen uses some sort of voodoo magic where each in-game tile is split into four corners, selected from various tiles here. And I can only see vague patterns in the algorithm. Does anyone know how this works?
Are you talking about autotiles? The top of the autotile specifies what the icon will look like in the editor and also the inner corners. The bottom 3/4 is what the tiles look like on all edges.
I was really looking for an actual algorithm for how this works (Seeing as how I'm going to want to copy it later). The inner corners thing is easy to see, when it's bounded on two straights without the connecting corner.

Something like this?
1) If no borders (straight borders, not corners), break it up into four and take the outmost corners.
2) If one border ...?
3) If two borders...
A) Check to see if there are two borders across from each other.. if so, take the two edges in between.
B) Otherwise take the proper corner
4) If three borders... well the corners matter now so I don't know what the hell is going on.
5) If four borders! Easy, just use the middle block!
6) Fill in all the inner corners wherever appropriate.

My experience with programming tells me this is NOT THAT COMPLICATED. I just can't figure it out.
Ohhh, you want to recreate the effect in your own program. If it were me, I would just create my own method that functionally does the same thing. That may be easier than reverse engineering rm. Anyway, I don't really understand the steps you listed.
Yeah, I don't get it either haha. And you're right, I should just make my own method of doing it. Thanks for the suggestion (don't really know why I didn't think of that).
No problem.

BTW, that is one ironic sig you have there.
Pages: 1