RMMV Shift Balloon Icons?

Status
Not open for further replies.

Mooshry

BTS has consumed my very existence help.
Veteran
Joined
May 30, 2016
Messages
395
Reaction score
145
First Language
English
Primarily Uses
RMMV
So in my game, the balloon icons are diagonal like in scribblenauts instead of the default straight down. The problem is, since the balloon icons are usually supposed to point down, it looks weird when they show up directly above the npc instead of to their upper right.

Now you may ask, why am i not just using events? If i use events, it's impractical, will take a lot longer, and won't look the same. Anyway, i need a plugin that lets me shift the balloon icons along the X and Y coordinates. No plugin commands, no notetags, just something to let me move the balloon icons. I hope this actually gets made!
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,517
Reaction score
3,221
First Language
Binary
Primarily Uses
RMMZ
LOL I read your post title without the 'f' and I was like, "yea, the default ones kinda are a bit arent they"... :D

edit: make a new plugin.js file, call it whatever, and then add whichever relevant code (either the mv or mz). you can edit the 'offset' const values to whatever.
Code:
// for mv:
Sprite_Character.prototype.updateBalloon = function() {
    this.setupBalloon();
    if (this._balloonSprite) {
        const offset = {x: 24, y:0}
        this._balloonSprite.x = this.x + offset.x;
        this._balloonSprite.y = this.y - this.height + offset.y;
        if (!this._balloonSprite.isPlaying()) {
            this.endBalloon();
        }
    }
};
// for mz:
Sprite_Balloon.prototype.updatePosition = function() {
    const offset = {x: 24, y:0}
    this.x = this._target.x + offset.x;
    this.y = this._target.y - this._target.height + offset.y;
};
Have fun :*
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,709
Reaction score
1,127
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
I also have something to MV, but it needs the use of plugin commands or note tags or events comments... But also you can use the file name of the characters...
Eli_BalloonPositions.js
 

Mooshry

BTS has consumed my very existence help.
Veteran
Joined
May 30, 2016
Messages
395
Reaction score
145
First Language
English
Primarily Uses
RMMV
What are the coordinates i should use to put it to the event's upper right?

EDIT: Never mind, i figured it out.
 
Last edited:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA

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 Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,034
Messages
1,018,447
Members
137,820
Latest member
georg09byron
Top