Rhudra

Veteran
Veteran
Joined
Feb 2, 2013
Messages
30
Reaction score
3
First Language
French
Primarily Uses
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?
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,812
Reaction score
889
First Language
German
Primarily Uses
RMMZ
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.
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

SF_People3_3 added!
index.php

ScreenShot_1_3_2022_1_32_12.png
I feel QSprite for MV is underrated. I basically am able to use my chibi sideview battlers I drew on the maps and have all the motions available. this'll help a lot with cutscenes.
I've figured out how to reasonably tall-ify chibi sprites on my editor. I like that making tall sprites gives me control on expressing how tall characters seem on the field relative to each other as well as better differentiate adult sprites from child sprites.
doing some wacky experimental stuff in MV right now :kaoluv: I cannot wait to drop what I've been working on
Doing RPG Maker News for this week. (January 14th - 20th, 2022)

Forum statistics

Threads
118,558
Messages
1,116,944
Members
155,599
Latest member
DUSupra
Top