Hey, guys, this is a fun request.
So, in some very old computer games, due to hardware limitations, all movement was done instantaneously as having interpolated movement would cause attribute clash, causing graphical bugs. I want to do this in RPG Maker too.
An example can be seen here(ish):
While the movement in the video is teleporting at half steps, I would rather have all character be instantly teleported to the next tiles when they need to go somewhere. Now, I have gotten somewhere with this idea, but the issue comes up with my code not having a pause for movement speed as that was done in lerping (probably in Game_CharacterBase.prototype.distancePerFrame), nor do I know how would I deal with that. As such, if I hold down the key, my character flies across the map. I don't want this.
My poor code that skips movement animation (original in rpg_objects.js):
If anyone has any ideas on how to remove the lerping or could make a plugin for me to do so, let me know.
So, in some very old computer games, due to hardware limitations, all movement was done instantaneously as having interpolated movement would cause attribute clash, causing graphical bugs. I want to do this in RPG Maker too.
An example can be seen here(ish):
While the movement in the video is teleporting at half steps, I would rather have all character be instantly teleported to the next tiles when they need to go somewhere. Now, I have gotten somewhere with this idea, but the issue comes up with my code not having a pause for movement speed as that was done in lerping (probably in Game_CharacterBase.prototype.distancePerFrame), nor do I know how would I deal with that. As such, if I hold down the key, my character flies across the map. I don't want this.
My poor code that skips movement animation (original in rpg_objects.js):
Game_CharacterBase.prototype.updateMove = function() {
this._realX = this._x;
this._realY = this._y;
if (!this.isMoving()) {
this.refreshBushDepth();
}
};
this._realX = this._x;
this._realY = this._y;
if (!this.isMoving()) {
this.refreshBushDepth();
}
};
If anyone has any ideas on how to remove the lerping or could make a plugin for me to do so, let me know.