#siako大大的直向地圖
#可以拿來應用在某些小遊戲上
方便複製貼上用的code:
Game_Player.prototype.update = function(sceneActive) {
var lastScrolledX = this.scrolledX();var lastScrolledY = this.scrolledY();var wasMoving = this.isMoving();this.updateDashing();if (sceneActive) {
this.moveByInput();
}
Game_Character.prototype.update.call(this);
//this.updateScroll(lastScrolledX, lastScrolledY); (玩家移動不滾動地圖, 這段mark)
this.updateVehicle();if (!this.isMoving()) {
this.updateNonmoving(wasMoving);
}this._followers.update();
};