- Joined
- Dec 29, 2015
- Messages
- 4
- Reaction score
- 0
- First Language
- English
Hi all,
Can I ask for someone's idea on this?
I need to place a picture in a battle scene. I want the picture be placed beneath my battler sprites.
Think of it as a giant floor mat beneath all battlers.
Target:
Background -> My picture -> Battlers -> Window screen
What I did:
I inserted a function on scene_battle to display a sprite, but the problem is that:
a.) If I insert the function before createSpriteset() ---> My picture becomes invisible
b.) if I insert the function after createSpriteset() ---> My picture overlaps my battlers
Code:
Scene_Battle.prototype.createDisplayObjects = function() {
this.createmycustompicture(); //inserted here - attempt 1
this.createSpriteset();
//inserted here - attempt 2
this.createWindowLayer();
this.createAllWindows();
BattleManager.setLogWindow(this._logWindow);
BattleManager.setStatusWindow(this._statusWindow);
BattleManager.setSpriteset(this._spriteset);
this._logWindow.setSpriteset(this._spriteset);
};
Can anyone help me with this?
I need the image ABOVE the backgrounds, and BENEATH the battlers.
Any ideas would be appreciated. Thanks!!
Regards,
Mycael
Can I ask for someone's idea on this?
I need to place a picture in a battle scene. I want the picture be placed beneath my battler sprites.
Think of it as a giant floor mat beneath all battlers.
Target:
Background -> My picture -> Battlers -> Window screen
What I did:
I inserted a function on scene_battle to display a sprite, but the problem is that:
a.) If I insert the function before createSpriteset() ---> My picture becomes invisible
b.) if I insert the function after createSpriteset() ---> My picture overlaps my battlers
Code:
Scene_Battle.prototype.createDisplayObjects = function() {
this.createmycustompicture(); //inserted here - attempt 1
this.createSpriteset();
//inserted here - attempt 2
this.createWindowLayer();
this.createAllWindows();
BattleManager.setLogWindow(this._logWindow);
BattleManager.setStatusWindow(this._statusWindow);
BattleManager.setSpriteset(this._spriteset);
this._logWindow.setSpriteset(this._spriteset);
};
Can anyone help me with this?
I need the image ABOVE the backgrounds, and BENEATH the battlers.
Any ideas would be appreciated. Thanks!!
Regards,
Mycael
Last edited by a moderator:
