X Tutup

MymLover

Villager
Member
Joined
May 25, 2020
Messages
22
Reaction score
2
First Language
English
Primarily Uses
RMVXA
I've got a real dumb problem on my hands and I'm sure it's an easy fix but I've tried just about everything I can think of.

box.PNG

I have the rectangle cursor set to correctly cover everything when there are four members in a party but when there are less it goes out of place. I've messed around all over and I just can't find where to make it stay consistent or make the party members on status screens not move when there are less than four members in the party.
 

gstv87

Regular
Regular
Joined
Oct 20, 2015
Messages
3,773
Reaction score
3,250
First Language
Spanish
Primarily Uses
RMVXA
the cursor should self-adjust at update time, based on the item of the menu being selected, which themselves resize based on the number of items.
look for update_cursor within window_selectable and tie it to the menu window (I forget the actual name)
 

MymLover

Villager
Member
Joined
May 25, 2020
Messages
22
Reaction score
2
First Language
English
Primarily Uses
RMVXA
the cursor should self-adjust at update time, based on the item of the menu being selected, which themselves resize based on the number of items.
look for update_cursor within window_selectable and tie it to the menu window (I forget the actual name)
Thank you. How would I tie it exactly? Would it need to be done for each menu or just battler_status in general?
 

gstv87

Regular
Regular
Joined
Oct 20, 2015
Messages
3,773
Reaction score
3,250
First Language
Spanish
Primarily Uses
RMVXA
depends on what exactly is broken.
the cursor is defined at window_selectable, and every window that inherits from that uses that function.
 

MymLover

Villager
Member
Joined
May 25, 2020
Messages
22
Reaction score
2
First Language
English
Primarily Uses
RMVXA
depends on what exactly is broken.
the cursor is defined at window_selectable, and every window that inherits from that uses that function.
Hmmm I haven't edited window_selectable at all though, does that matter? Fwiw this happens on every menu where I've made the battler_status in a vertical format like pictured.
 

gstv87

Regular
Regular
Joined
Oct 20, 2015
Messages
3,773
Reaction score
3,250
First Language
Spanish
Primarily Uses
RMVXA
double check that you're writing *rows* and *colums* correctly, because they're two different variables.

by the looks of it, it seems the cursor is drawn correctly, but the portraits are offset.
how wide is one portrait? (one *item*)
 

MymLover

Villager
Member
Joined
May 25, 2020
Messages
22
Reaction score
2
First Language
English
Primarily Uses
RMVXA
double check that you're writing *rows* and *colums* correctly, because they're two different variables.

by the looks of it, it seems the cursor is drawn correctly, but the portraits are offset.
how wide is one portrait? (one *item*)
I don't see an option to edit rows in battler_status and I have columns set to 4.

Do you mean this size (below) or the size of the actual image? I've tried with different portraits and that didn't change anything.

BATTLER_STATUS = { # Sizes settings :width => 110, # Change the width of the window. :height => 98, # Change the height of the display. :max_width => 110, # Used for centering horizontal HUD :max_height => 392, # Used for centering vertical HUD :vertical => false,

I feel like something is up with spacing as I've messed with that...
 

gstv87

Regular
Regular
Joined
Oct 20, 2015
Messages
3,773
Reaction score
3,250
First Language
Spanish
Primarily Uses
RMVXA
take a look at this:
nuevo-1.PNG

if the cursor is evenly spaced, it fits.
and the cursor is based on the number of items (or, should be), and their size is based on the window.
clearly there's an offset to the portrait that shouldn't be there.
 

MymLover

Villager
Member
Joined
May 25, 2020
Messages
22
Reaction score
2
First Language
English
Primarily Uses
RMVXA
take a look at this:
View attachment 186597

if the cursor is evenly spaced, it fits.
and the cursor is based on the number of items (or, should be), and their size is based on the window.
clearly there's an offset to the portrait that shouldn't be there.
Thank you so much! This helped me visualize what was wrong and I was able to find the culprit causing my spacing woes. Now it all lines up as it should and all is good. :D Thank you!!
 

gstv87

Regular
Regular
Joined
Oct 20, 2015
Messages
3,773
Reaction score
3,250
First Language
Spanish
Primarily Uses
RMVXA
:confused pikachu face:
didn't expect that to solve it, but, eh.... I'll take it.
 

Latest Profile Posts

Twitch stream is live with Resident Evil 9! Feel free to drop by!
1000207302.png
All of the skill/system icons: Done
Pepper hopped up on my bed to snuggle earlier... and now there's grains of kitty litter all over the foot of my bed. Now she's in her own bed fast asleep. Sometimes, I like to wonder what Pepper dreams about... does she dream of chasing her toys? Pouncing on the lizards she sees on her patio? Purring in a sunny window? Receiving pets and scritchies?
Oh no... she's back in my bed.
Really interesting seeing the public be so okay with the placeholder art in Slay the Spire 2. I guess they trust in the potential of the final product, but it would be cool if the general consumer had a better understanding of dev pipelines.
Haven't updated my status in awhile. I'm taking a short break from working on my game because I have a sliiiight burnout,,

Forum statistics

Threads
154,256
Messages
1,407,574
Members
209,657
Latest member
MINGKY3
Top
X Tutup