Balloon Icons Height

Status
Not open for further replies.

Kristina

Veteran
Veteran
Joined
Jun 22, 2019
Messages
126
Reaction score
83
First Language
Danish
Primarily Uses
RMMV
Hi game makers!

Is there a way to change balloon icons height position? I can't seem to find a way that works, no matter what I do.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Height and position are two different things. Which one do you want to change? What have you tried?
 

Kristina

Veteran
Veteran
Joined
Jun 22, 2019
Messages
126
Reaction score
83
First Language
Danish
Primarily Uses
RMMV
Shaz - It was the height, but a guy helped me with it.

ct.bolt - I have tried it, but couldn't make it work. A guy helped me though, so it works now perfectly.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Would you care to explain how "a guy helped me with it", so others who might have the same question in the future can benefit?

If your question is answered, you can then report your first post and let the mods know, and they'll close the thread for you.
 

Kristina

Veteran
Veteran
Joined
Jun 22, 2019
Messages
126
Reaction score
83
First Language
Danish
Primarily Uses
RMMV
Of course, someone gave me this link: https://forums.rpgmakerweb.com/inde...3OYwjUvg_78cBnx1ZgyqYlUC2fgHz1xjXj4717vz8Haz0

But I couldn't get it to work, but the guy helped me out and I came to this:


Sprite_Character.prototype.updateBalloon = function() {
this.setupBalloon();
if (this._balloonSprite) {
this._balloonSprite.x = this.x - 1; //x position of the character
this._balloonSprite.y = this.y - this.height - -20; //y position of the character minus height of the character
if (!this._balloonSprite.isPlaying()) {
this.endBalloon();
}
}
};


- And that works for me ^^
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top