Brewmeister":2qd7168u said:
The battlers (both enemy & actor) are part of the sprite set (Spriteset_Battle). Actor sprites are drawn in viewport2.
The status window is a completely different object (Window_BattleStatus) that is drawn in viewport3 (above the battlers)
Look in Scene_Battle on lines 40 , 43.
Ok. But my problem is the same:
The letters in self.contents are a bitmap. Bitmaps dont have z axis. The window class is composed by different sprites, but their z axis is global...
Then how is posible tihs:
1-The window back
2-The battlers
3-The letters(drawed in self.contents)
I dont know much about viewports. But it say 'Used when displaying sprites in one portion of the screen, with no overflow into other regions'.
Ok. But the contents of the window and the back are fixed and have the same z, with one or another viewport, no? That dont changue.
I still dont understand how is created that effect.