Create account / Log in

Unit selection window in wrong state

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Unit selection window in wrong state

Postby steenkh » September 12th, 2020, 3:51 pm

When you want to select a unit or counter to move it to the map, you typically open a selection window wher you have an image of the current counter on the left, and the different counters on the right. I have a module where the divider between the two is always placed so far to the right that you might not even notice it is there:
Counters1.png
Counters1.png (8.71 KiB) Viewed 818 times


It should look like this:
Counters2.png
Counters2.png (16.79 KiB) Viewed 818 times


It is only this single tab with counters where the divider is too far to the right, all other tabs with counters look normal. I have tried to save games with the divider set correctly, but when loaded, the divider is back at the right.

Where is this information saved?
steenkh
 
Posts: 24
Joined: April 12th, 2020, 10:50 am

Re: Unit selection window in wrong state

Postby m3tan » September 13th, 2020, 1:07 am

I think it is auto-sized. My guess is that you have one or more giant-sized images somewhere in your palette of game pieces and it's auto-sizing the image window too big because of that - thus the divider is being pushed out of view.
User avatar
m3tan
 
Posts: 209
Joined: August 12th, 2018, 11:49 pm

Re: Unit selection window in wrong state

Postby steenkh » September 13th, 2020, 6:32 am

Just a few hours later I found the solution: When in Edit mode, you can actually open the maps and windows. Then you can resize them etc, and this position will be the default for the game.

Somehow, this divider had got moved by accident while in Edit mode.
steenkh
 
Posts: 24
Joined: April 12th, 2020, 10:50 am


Return to Module Design

Who is online

Users browsing this forum: No registered users and 3 guests

cron