aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
26
Reaction score
9
First Language
Bahasa
Primarily Uses
RMMV
Hey I am using yanfly core for my game and I change the game the screen width into 1136, then in message core I change the default width into 816. The problem is the choice width. When I leave it alone, it will look like the 1st image. When I change the width into 840 in rpg_windows.js, it's good for this message (image 2), but it's slightly off for other choice because it has longer word (image 3). How can I make all the choice box look like image 2 ? I am noob at programming so I really need help here
 

Attachments

  • 1.png
    1.png
    1.3 MB · Views: 28
  • 2.png
    2.png
    1.2 MB · Views: 28
  • 3.png
    3.png
    1.4 MB · Views: 28

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,054
Reaction score
2,469
First Language
English
Primarily Uses
RMMV
I don't think you want to be changing the choice box width, as it automatically sizes itself depending on the choices.

You want to be changing where the window is being drawn on your screen, the X, Y coordinates. Try this out:
 

Zero_G

Veteran
Veteran
Joined
Mar 28, 2020
Messages
107
Reaction score
68
First Language
English
Primarily Uses
N/A
Just to give an alternate (pseudo) solution. The method that controls the position of the choice boxes is
JavaScript:
Window_ChoiceList.prototype.updatePlacement
if you want to fiddle with it.
 

aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
26
Reaction score
9
First Language
Bahasa
Primarily Uses
RMMV
I don't think you want to be changing the choice box width, as it automatically sizes itself depending on the choices.

You want to be changing where the window is being drawn on your screen, the X, Y coordinates. Try this out:
I get the plugin but can't make it work as i intended to. Can you give me an example ?
 

aspdmulti

Villager
Member
Joined
Aug 18, 2021
Messages
26
Reaction score
9
First Language
Bahasa
Primarily Uses
RMMV
Just to give an alternate (pseudo) solution. The method that controls the position of the choice boxes is
JavaScript:
Window_ChoiceList.prototype.updatePlacement
if you want to fiddle with it.
Hmm I really don't know anything about it. As I said I am noob at progamming
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,054
Reaction score
2,469
First Language
English
Primarily Uses
RMMV
I get the plugin but can't make it work as i intended to. Can you give me an example ?
No, I've never used it. You'll have to read the instructions and mess with the values provided.
 

Latest Threads

Latest Posts

Latest Profile Posts

Beep-Beep-Motha-facka.gif

Just finished and uploaded the delivery truck base/sprite sheet. I've been steadily replacing the default assets with early modern alternatives. The air-ship for a biplane, horse-drawn wagon for a delivery truck, and next a sailboat for a steam-powered passenger liner (think of the SS Olympic and RMS Titanic).
I caught a shiny magikarp on pokemonGO today AND finally saw Detective Pikachu and it was so cute and I'm still so hype AHHHHH!!!
one of the coolest things I've learned from the forums is the ability to give yourself a hitbox. I have a move you can do on the fields. shoulder tackle. thanks to the forums, that tackle triggers self A switches on some events. NPC's and the environment now react to the tackle. awesome.
I really liked how this one turned out! :kaopride:
WYqMPf6.png

Character (Yes, this is a character): Nibiru the Primal Being from Yugioh.
Dragon Quest style enemy selection plugin work in progress:

Quest_Targeting.png

It's a simple targeting system from the NES era. Select an enemy group; single-target skills will target the first enemy in that group.

Quest-Targeting-Animated.gif

Forum statistics

Threads
121,945
Messages
1,145,352
Members
160,218
Latest member
Tarasyring
Top