YesNoOk
avatar

Row Alignment/Character Box Posistioning (Read 862 times)

Started by F&F, February 12, 2008, 05:35:13 am
Share this topic:

F&F

Row Alignment/Character Box Posistioning
#1  February 12, 2008, 05:35:13 am
I am currently designing a full game - This is my rough layout of the Select screen



I was just wondering if this would be at all functional in mugen. By that I mean is it possible to handle the cursor correctly and align the character select boxes this way?

Any advice appreciated
Re: Row Alignment/Character Box Posistioning
#2  February 12, 2008, 05:39:32 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Yes, but you need to use a special trick in order for the cursor to look correct.


Basically you make the cell size 640x480. Then... Err.... you know what I suck at explaining things so I dunno if I could continue and get you to understand. It's not you, it's just I suck at explaining things like this.



You'll have a REALLY large cursor image in this trick is all I can say. I wish I could explain better...
Last Edit: February 12, 2008, 05:43:44 am by Jesuszilla

F&F

Re: Row Alignment/Character Box Posistioning
#3  February 12, 2008, 05:58:24 am
Lol ok - but if poss give it another shot.

At first I thought you meant make a 640x480 cursor image with the layout of the character boxes, but then I realised the boxes would move with the cursor

Was I kinda close or way off?

Soz didnt read your post properley - Cell size 640 x 480? Does that include all the cells?
Re: Row Alignment/Character Box Posistioning
#4  February 12, 2008, 06:37:16 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Well yeah since that's the only way it's possible to have it.

[mcode]cell.size = -640,-480       ;x,y size of each cell (in pixels)
cell.spacing = 0;              ;Space between each cell[/mcode]


You then make a giant image. Start with 640x480. Then place the cursor over the first spot you want it to be. Let's say the top-left corner. Place it there, then add 480 pixels to the canvas. Make sure that what you already have there is at the top and that it is NOT cut off. Then copy and paste the cursor image to the spot directly below it.



See I told you I suck at explaining this. You are not going to get what I'm saying at all.
Re: Row Alignment/Character Box Posistioning
#5  February 12, 2008, 06:48:23 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Thats going to be one massive image, especially when you factor in something like the box having an animation when selecting or selected.

Each part of this image has the cursor in the correct place to cover one of those portraits. Which aren't part of the character sff but part of the bg itself. Each time you hit down, or up, (i see sideways making this awkward) the cursor will "move" 480 pixels down and swap to the next image. I think.

I may have got the wrong end of the stick a little. Mostly because i don't see how the cursor actually changes if it doesn't really move anywhere. I can see how it kinda works, but not without some fiddling. Sounds more like cell spacing should be 640,480 so the cursor has to actually move to the next one.

640x480 would be hires as well. 320x240 if you're not doing hires.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

F&F

Re: Row Alignment/Character Box Posistioning
#6  February 12, 2008, 06:51:51 am
It looks pretty hard to explain but i'm very apprecietive of both your efforts

I think this is one of those "learn by doing" situations so i'm gonna get on photoshop and play around to get a better understanding.

At the minute my understanding of it sounds like you tile up images of cell positions into one big image (I'm unsure if that makes any sense)

Thanks again, i'll report back when i've had a go (And I have re-read your posts a few more times for clarification)