problem with slots characters

Started by fakol, May 16, 2013, 04:48:22 AM

Previous topic - Next topic

fakol

Hi
i want to put 99 character but the slots is too big.
what i have to change?

;Character select definition
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 9
columns = 11
wrapping = 1 ;1 to let cursor wrap around
pos = 460,170 ;Position to draw to
showemptyboxes = 1 ;1 to show empty boxes
moveoveremptyboxes = 1 ;1 to allow cursor to move over empty boxes
cell.size = 27,27 ;x,y size of each cell (in pixels)
cell.spacing = 5 ;Space between each cell
cell.bg.spr = 150,0 ;Note: Don't use animation for cells
cell.random.spr = 151,0 ;Icon for random select (don't use animation)
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,0
p1.cursor.active.anim = 160
p1.cursor.done.spr = 161,0
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 0,0
p2.cursor.active.anim = 170
p2.cursor.done.spr = 171,0
p2.cursor.blink = 0 ;1 to blink p2's cursor if overlapping p1's
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,1
cancel.snd = 100,2
portrait.spr = 9000,0 ;Do not change from 9000,0
portrait.offset = 0,0
portrait.scale = 1,1
title.offset = 640,38 ;Position of title (Arcade Mode, etc)
title.font = 4,0,0 ;Font of title (-1 for none)

Erroratu

Dont post 2 threads about the same question

AlexSin

Erroratu, report it next time. :)
This time I did it.

About you, original poster,
Quote from: ArmorGon on May 16, 2013, 07:06:27 AM
cell.size
Quote from: fakol on May 16, 2013, 08:01:20 PM
ok :) which number?
Quote from: Alex S. on May 16, 2013, 08:31:45 PM
Both of them.

So simple. Did you try to edit the numbers?

fakol

what number please? ^^* i change but not good.

ArmorGon

Play around with the numbers until you find something that suits your needs.

AlexSin

#5
Quote from: fakol on May 18, 2013, 07:59:57 AM
what number please? ^^* i change but not good.

Here, I show you which ones.

Quote from: fakol on May 16, 2013, 04:48:22 AM
cell.size = 27,27    ;x,y size of each cell (in pixels)

These ones.
cell.size = 27,27

Modify them, both of them, one, do what you want, but those are the numbers you have to change to make the cell smaller, larger, taller.
Some examples?

cell.size= 13 , 13  (it's smaller)
cell.size = 13, 27  (you decreased the x value, so it's thinner)
cell.size = 90, 90 (it becomes big)

Try now.
And next time use the code tags if you want to show a mugen code.
Last thing,
Quote from: Erroratu on May 16, 2013, 10:16:32 PM
Don't post 2 threads about the same question.

Okay? :)


AlexSin

#7
Okay, more or less you know about the cell size, try now to edit the scale of the portraits, in order to make them look right.
Quote from: fakol on May 16, 2013, 04:48:22 AM
portrait.scale = 1,1
It works like the cell.size, but this time you use numbers that correspond to units, which correspond in a percentual; I don't know if I made it clear enough, so some examples:
1 (for regular scale, 100%)
2 (for twice the scale, 200%)
0,5 (for half the size, that is 50%)
etc.
but you can use whatever number you wish.
Just know that those numbers don't mean the size in pixels.