I'm just trying to make a simple script, but I need to overlay an image (or another battler) over each battler in battle. I'm just having a quick look to see if there is a simple way I can see to do this buy fingerling with the sprite_battler, game_battler, or scene_battle code.
Is this possible? Or more importantly is this simple? This isn't a request, so I won't go into detail, all I'm after is somebody to say "Oh, try changing this function within this class, and do whatever you were going to do"
Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed
I'd edit Sprite_Battler's update method.
List of necessary changes
Change from this:
to something like this:
and you can simply make an overlay image The main bit of code is the blt, the block transfer, which overlays the overlay_bitmap over the existing bitmap, at x, y = 0, 0, and the transferred overlay is at 100 opacity (100/255)
__________________________
K.I.S.S. Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.