Slide card image behind card sleeve? (design help)

Hi,

Please see http://i.imgur.com/QMd6X.png:

I’m trying to create a map window where the place holder (yellow sleeve) is static but the image behind it (white card) can slide horizontaly. A trigger should send the white card X pixels left or right to reveal the numbers on the white card through the yellow sleeve.

Any suggestions?

Any help would be much appreciated!

Thanks.

-Goose

Make an seperate image of each of the possible positions the sleeve can be
in.

Make a layer that has 1 image per layer and rotate through the layers.

----- Original Message -----
From: “Goosifer” gustav.guldberg@gmail.com
To: messages@vassalengine.org
Sent: Friday, July 20, 2012 2:47 PM
Subject: [messages] [Module Design] Slide card image behind card
sleeve?(design help)

Hi,

Please see i.imgur.com/QMd6X.png:

[1]

I’m trying to create a map window where the place holder (yellow sleeve)
is static but the image behind it (white card) can slide horizontaly. A
trigger should send the white card X pixels left or right to reveal the
numbers on the white card through the yellow sleeve.

Any suggestions?

Any help would be much appreciated!

Thanks.

-Goose

[1] i.imgur.com/QMd6X.png


Read this topic online here:
Slide card image behind card sleeve? (design help)


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages

Perfect, i was going about this in the wrong way, of course you leave the card static and move the sleeve.

Thanks!

Isn’t there an x and y offset for each of the images in the layer?

If so, you can add an increasing x offset amount to each image in the layer.

----- Original Message -----
From: “Goosifer” gustav.guldberg@gmail.com
To: messages@vassalengine.org
Sent: Friday, July 20, 2012 5:43 PM
Subject: [messages] Edit: Re: [Module Design] Slide card image behind
cardsleeve? (design help)

[This message has been edited.]

Thanks, that’s the first thing that sprung to mind but I have 37 cards
and each card can have 45 positions (1665 in total).

I was hoping that you could add a horizontal offset to move the card
with a trigger.
Is this doable?

Thanks.

Edit: Or I just move the sleeve and leave the card static, then I just
need 45 positions…it’s been a long week :roll:


Read this topic online here:
Slide card image behind card sleeve? (design help) - #3 by Goosifer


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages

I couldn’t get that to work since it seems that the offset is for the entire layer class and not the individual layer levels.

The positioning and layering worked great however I ran into another problem.

When moving through the layers, layer 1 will have transparency, layer 2 will have partial transparency and layer 3 loses all transparency. There is nothing wrong with the images, all in PNG format and all taken from the same copy.

Is this a bug?

Turns out that the issue was 20 inches infront of the screen.

What happens is that the basic piece is always active thus covering parts of the images in the layers when cycled.
(see image in original post, let’s say I move the sleeve right from A-0 to A-1)

How can I get around the this issue? The ugly work around is to have the basic piece image almost completely transparant with a thin frame to indicate that it exists.

-Basic Piece (same image as layer 10)
-Layer (20 layers)
-Trigger (cycle layer up)
-Trigger (cycle layer down)
-Does not stack