Hello.
I'm using overlay images and they appear over Balloon icons when I use them.
Is there a way to modify the Z entry of every balloon icons?
Try modifying this methode in Sprite_Character:
def update_balloon if @balloon_duration > 0 @balloon_duration -= 1 if @balloon_duration > 0 @balloon_sprite.x = x @balloon_sprite.y = y - height @balloon_sprite.z = z + 200 sx = balloon_frame_index * 32 sy = (@balloon_id - 1) * 32 @balloon_sprite.src_rect.set(sx, sy, 32, 32) else end_balloon end end endBy default, it sets the z-index of the balloon sprite to be 200 higher than the z-index of the character it's displayed on.
/edit: That said, it seems like the z-index of pictures is equal to their number, so they usually should be displayed below balloons anyway. In theory, at least.