Create account / Log in

Question about mask trait

Talk about module design ideas and techniques.

Moderators: Tim M, uckelman

Question about mask trait

Postby briareos » May 10th, 2011, 11:46 pm

Ok I figured out that you put the back of the card as the mask trait. However when it is in a player's hand I can set it to insert so that a small image of the back of the card is in the upper left corner of the card to let that player know that only he can see it. However I need that insert to be in the upper right corner as it covers information on the card. Any way to do that?
briareos
 
Posts: 47
Joined: January 1st, 2009, 7:02 pm

Re: Question about mask trait

Postby Tim M » May 11th, 2011, 12:11 am

briareos wrote:Ok I figured out that you put the back of the card as the mask trait. However when it is in a player's hand I can set it to insert so that a small image of the back of the card is in the upper left corner of the card to let that player know that only he can see it. However I need that insert to be in the upper right corner as it covers information on the card. Any way to do that?


I find it is better to make an alternate back image and use it instead. This alternate back is semi transparent or mostly cut away revealing the front side for the owner player to view - looks neater too :)

see attached pic for example
Attachments
masking.png
using the mask trait with graphics
masking.png (44.69 KiB) Viewed 2177 times
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1777
Joined: December 8th, 2007, 12:22 pm
Location: Earth

Re: Question about mask trait

Postby briareos » May 11th, 2011, 12:29 am

Yup Yup :) Does anyone know a good quick batch image program or website. I'm thinking of doing it the dominion module way with a small image of the back of the card in the upper right corner of the card.
briareos
 
Posts: 47
Joined: January 1st, 2009, 7:02 pm

Re: [messages] [Module Design] Re: Question about mask trait

Postby uckelman » May 11th, 2011, 9:06 am

Thus spake briareos:
> Yup Yup :) Does anyone know a good quick batch image program or
> website. I'm thinking of doing it the dominion module way with a small
> image of the back of the card in the upper right corner of the card.
>

ImageMagick: http://www.imagemagick.org/script/index.php
--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: [messages] [Module Design] Re: Question about mask trait

Postby tar » May 11th, 2011, 4:19 pm

On May 10, 2011, at 5:29 PM, briareos wrote:

> Yup Yup :) Does anyone know a good quick batch image program or
> website. I'm thinking of doing it the dominion module way with a
> small
> image of the back of the card in the upper right corner of the card.

If you use prototypes, you shouldn't need to change more than one
image, since it would be shared among all the cards using that
prototype.

But I second Joel's recommendation of ImageMagick as a batch program.
User avatar
tar
 
Posts: 772
Joined: January 2nd, 2008, 6:53 pm
Location: Los Angeles area

Re: Question about mask trait

Postby briareos » May 13th, 2011, 4:21 am

Ok I'm having a little problem. I have some of the cards in the game setup for having fronts and backs. I also created seperate images of the fronts with small pics of the back in the corner to signfy they are hidden to your opponents. How do I make it so that when the cards are in the players hand and face down the player who owns the hand sees that pic. Like in the dominion mod.
briareos
 
Posts: 47
Joined: January 1st, 2009, 7:02 pm

Re: Question about mask trait

Postby DrNostromo » May 13th, 2011, 1:35 pm

You don't need to make separate images of the fronts with a symbol on them. The masking symbol is an independent image that's placed on the card when it's face up to you but face down to other players. Here's an example of the mask trait I used in BattleCON that was applied to all cards via a prototype.

The first pic shows the mask trait. The top half shows the image that is shown as the back of the card when a player cannot see it. Below that is a symbol that's placed on the card when the card's owner can see it but it's still face down to their opponents.

MaskSample.png
MaskSample.png (96.97 KiB) Viewed 2138 times


The second pic shows an example of the mask trait in game play. This is the Green player's view of the game board. The cards on the right in the Attack box have been revealed to all players as there is no masking symbol on the card. The cards in the lower left (red player's area) are face down so the green player can't see them. The cards in the upper left have the masking symbol in the center of them. The green player can see the cards as they are the card's owner but the masking symbol in the center of the card tells the green player that the cards are still face down to the red player.

MaskDemo2.png
MaskDemo2.png (186.85 KiB) Viewed 2138 times
User avatar
DrNostromo
 
Posts: 1036
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Re: Question about mask trait

Postby Tim M » May 13th, 2011, 2:07 pm

briareos wrote:Ok I'm having a little problem. I have some of the cards in the game setup for having fronts and backs. I also created seperate images of the fronts with small pics of the back in the corner to signfy they are hidden to your opponents. How do I make it so that when the cards are in the players hand and face down the player who owns the hand sees that pic. Like in the dominion mod.


In the mask trait set the Display Style option to "use image" and add your alternate image below - that is the image the owner will see
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1777
Joined: December 8th, 2007, 12:22 pm
Location: Earth

Re: Question about mask trait

Postby ijthompson » May 14th, 2011, 2:34 am

Tim, Dr. N, you guys are really helpful with the info... thank you. I can't wait to start working on my game!

Quick question: does the 'masked' icon always appear in the centre of the card, or can you alter its placement?
User avatar
ijthompson
 
Posts: 66
Joined: April 23rd, 2011, 10:33 pm
Location: Toronto, Canada

Re: Question about mask trait

Postby DrNostromo » May 14th, 2011, 2:51 am

I believe it will center but if you want to put a mask down in the lower left corner, for example, just make a transparent graphic the same size as the card with the mask you want down in the left corner of the graphic.
User avatar
DrNostromo
 
Posts: 1036
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Re: Question about mask trait

Postby ijthompson » May 14th, 2011, 11:08 am

Thanks!
User avatar
ijthompson
 
Posts: 66
Joined: April 23rd, 2011, 10:33 pm
Location: Toronto, Canada

Re: [messages] Edit: [Module Design] Re: Question about mask

Postby tar » May 16th, 2011, 4:44 pm

On May 13, 2011, at 7:52 PM, DrNostromo wrote:

> [This message has been edited.]
>
> I believe it will center but if you want to put a mask down in the lower
> left corner, for example, just make a transparent graphic the same size
> as the card with the mask you want down in the left corner of the
> graphic.

Added to the FAQ.
Thanks.
User avatar
tar
 
Posts: 772
Joined: January 2nd, 2008, 6:53 pm
Location: Los Angeles area


Return to Module Design

Who is online

Users browsing this forum: No registered users and 2 guests