- Joined
- Apr 3, 2020
- Messages
- 68
- Reaction score
- 6
- First Language
- Russian
- Primarily Uses
- RMMV
Good Day!
My game contains a mini-code that moves the standard camera to follow a little lower. Here he is:
Code:
//-----------------------------------------------------------------------------
// Game_Map
//-----------------------------------------------------------------------------
Game_Player.prototype.centerY = function() {
var y =(Graphics.height / $gameMap.tileHeight() - 1) / 2.0;
y += 5;
return y;
};
But the plug-in Gavl CameraControl replaces this code, and the camera returns to the standard display. (Player in the center)
Can someone tell me how to embed my code into this plugin?
My game contains a mini-code that moves the standard camera to follow a little lower. Here he is:
Code:
//-----------------------------------------------------------------------------
// Game_Map
//-----------------------------------------------------------------------------
Game_Player.prototype.centerY = function() {
var y =(Graphics.height / $gameMap.tileHeight() - 1) / 2.0;
y += 5;
return y;
};
But the plug-in Gavl CameraControl replaces this code, and the camera returns to the standard display. (Player in the center)
Can someone tell me how to embed my code into this plugin?