Masking help

Do you need help installing or using ZunTzu? Would you like to report a bug?

Moderators: Ichibrothers, Cambronne

Post Reply
User avatar
fconolly
Posts: 5
Joined: 02 Aug 2010, 20:02

Masking help

Post by fconolly »

I need help with some round counter masking. I've created the .jpg and mask .png but I just can't seem to get them to work. Here is my code:

<counter-sheet name="Counters" front-image-file="counters.jpg" front-mask-file="counters-mask.png">
<counter-section front-left="0" front-top="0" front-right="494" front-bottom="536" />
</counter-sheet>

Do I need I need columns and rows? The counters aren't evenly spaced (they are sort of in 6 groups of 6. Kinda like this:
** ** **
** ** **
** ** **

** ** **
** ** **
** ** **
titocosa
Posts: 3
Joined: 27 May 2010, 19:53

Post by titocosa »

ok. I think that if you use the "<counter-section..." you must specify rows and columns, otherwise just declare name, image and mask..

Options:
1. <counter-sheet name="Counters"
front-image-file="counters.jpg" front-resolution="150 dpi"
front-mask-file="counters-mask.png">
</counter-sheet>


2. <counter-sheet name="Counters"
front-image-file="counters.jpg" front-resolution="150 dpi"
front-mask-file="counters-mask.png">
<counter-section rows="6" columns="6"
front-left="0" front-top="0" front-right="494" front-bottom="536" />
</counter-sheet>

I'm not so sure but just try it and tell me if I'm wrong..
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Yes you do need to specify the counter section coordinates even when using masks...
Post Reply