Rotating Maps?

4lex4nder5

Villager
Member
Joined
Jan 29, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Is it possible to get RPG Maker to "mirror" maps over an axis? Say, if I wanted one set of maps to be a mirror image of another set of maps? I mean, I COULD do it by hand, but I was just wondering if there was a way to do it that wouldn't involve a lot of plugging away.
 

Funplayer

Self proclaimed sponge.
Veteran
Joined
Oct 9, 2013
Messages
120
Reaction score
35
First Language
English
Primarily Uses
Visually, yes.  However events and objects would take a bit of extra effort.

However what you're asking, wouldn't work as a tile generation fix.  It could run into many visual errors when attempting vertical rotations.

The system you're asking for is complex though.  It would take effort and abstraction.
 
Last edited by a moderator:

4lex4nder5

Villager
Member
Joined
Jan 29, 2015
Messages
5
Reaction score
0
First Language
English
Primarily Uses
How would one do that? Visually, I mean. Even that would help.
 

Funplayer

Self proclaimed sponge.
Veteran
Joined
Oct 9, 2013
Messages
120
Reaction score
35
First Language
English
Primarily Uses
How would one do that? Visually, I mean. Even that would help.
Within your Game_Map class you'll find a @map object.

@map = load_data(sprintf("Data/Map%03d.rvdata2", @map_id))This object contains all table data for the map itself.  Using this as a base you can mirror the x and z axis of the map fairly easily.  This would allow you to visually mirror the map.

@map = load_data(sprintf("Data/Map%03d.rvdata2", @map_id)) p @map.data.methods for x in 0...@map.data.xsize for y in 0...@map.data.ysize for z in 0...@map.data.zsize p x.to_s + " " + y.to_s + " " + z.to_s p @map.data[x,y,z] end end endHowever, each tile is allocated a specific ID when you use the automapping features in the RPG Maker itself.  Mirroring these tiles will cause many graphical errors, resulting in many tiles that do not fit in place.  It would require additional algorithms to resolve the issues of automapping.

Vertical is another issue entirely, you'll run into far more errors attempting to mirror these.  This, in my suggestion, should be avoided.

VISUALLY the tiles cannot be displayed in any other way than, left to right, top to bottom.  The x, y, and z axis of the "graphical" viewport is hidden to the programmer.  

If you were to actually mirror the tileset however, and use a mirrored form of a tileset for this exact procedure, theoretically you can do this.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
JinniaFlyer450, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top