- Joined
- Feb 4, 2019
- Messages
- 99
- Reaction score
- 81
- First Language
- English
- Primarily Uses
- RMMV
(I think I posted this in the wrong section… oops)
I'm making my own tilesets but water doesn't flow back and forth. I want them to flow in one direction in a 3-frame animation.
So I found this in rpg_core.js
then I pasted that entire function to my plugin, where I change the above line to this:
Water tiles still animate from 0, 1, 2, 1 instead of 0,1,2. I saved this even on the original rpg_core.js file, nothing changed.
I checked if i'm editing in the right folder, my game is being booted with the edited files. The plugin is active and running. Whatever is telling the game to do 0,1,2,1 has to be in a spot I missed, but where?
I'm making my own tilesets but water doesn't flow back and forth. I want them to flow in one direction in a 3-frame animation.
So I found this in rpg_core.js
Code:
Tilemap.prototype._drawAutotile = function(bitmap, tileId, dx, dy) {
...
...
var waterSurfaceIndex = [0, 1, 2, 1][this.animationFrame % 4];
...
...
};
Code:
var waterSurfaceIndex = this.animationFrame % 3;
I checked if i'm editing in the right folder, my game is being booted with the edited files. The plugin is active and running. Whatever is telling the game to do 0,1,2,1 has to be in a spot I missed, but where?
Last edited:

