Display picture beneath battler sprites

Mycael

Warper
Member
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
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top