Did anyone figure out how to refresh autotiles?

Status
Not open for further replies.

SilverDash

Veteran
Veteran
Joined
Oct 11, 2015
Messages
424
Reaction score
171
First Language
Dutch
Primarily Uses
RMMV
I suppose this is internal (hidden) code? Because I can't find how RM does this when placing a tile in the editor.

If I have an autotile but it's the wrong one (shift-placed). How can I update it through code (@runtime) so it becomes the proper autotile? I of course know the x and y and mapdata of the tile and can also use Game_Map.prototype.autotileType() to request the type. But how to actually update it to the proper type?

In Ace this was a complete horror (required tons of methods and lots of weird calculations without documentation). Is this better in MV now and if so, how can we do it?
 
Last edited by a moderator:

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
863
First Language
German
Primarily Uses
MV itself doesn't know what the "proper" autotile is. Each possibility of an autotile has its own id, that is set by the editor. If you want to change that at runtime, you'll have to calculate the correct id.
 

SilverDash

Veteran
Veteran
Joined
Oct 11, 2015
Messages
424
Reaction score
171
First Language
Dutch
Primarily Uses
RMMV
Crap... Maybe I could commission someone? And double-crap now I need to move this topic to the commission-section. Ah I'll just make a new topic.
 
Last edited by a moderator:
Status
Not open for further replies.

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,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top