Page 1 of 1

The question of the "stack".

Posted: 02 Nov 2011, 12:19
by donhua
How do I get when you hover the mouse on the "stock" cards, not creeping stock.
Sorry for my English. I am a Russian.
If necessary, lay links to pictures or a box with this problem.
Early thanks. Waiting for an answer.

Original text:

Как сделать, чтобы при наведении мышкой на сток карточек, сток не расползался.
Извините за мой английский. Я русский.
Если необходимо, выложу ссылки для картинки или коробку с этой проблемой.
За раннее спасибо. Жду ответа.

Posted: 02 Nov 2011, 18:33
by Jerome
Hi!
You can unfold a card stack by holding the Control key.

Posted: 03 Nov 2011, 06:56
by donhua
Thanks for the quick answer!
But I couldn't make it.
Simply I haven't understood. Sorry.
Here a screenshot with a problem.

Image
(Press to increase.)

Here a screenshot with desirable result.
(Version ZunTzu 1.2)

Image
(Press to increase.)

P.S.

I want to ask the permission to develop your project ZunTzu on my site for Russia.
Free site about board games. http://donhua.bigteo.net/

Posted: 03 Nov 2011, 20:34
by Heath
Your counters need to be defined as cards instead.

Change this:

<counter-section front-left="0" front-top="0" front-right="100" front-bottom="100" supply="1" />

to this:

<card-section face-left="0" face-top="0" face-right="100" face-bottom="100" supply="1" >

Posted: 07 Nov 2011, 05:38
by donhua
Greetings.
I have made replacement.
Result - a window with an error:
"Error of type FormatException: input string was not in a correct format".

Listing:

Code: Select all

<?xml version="1.0" encoding="windows-1252" ?>
<game-box version="1.0"
	name="Osada Zamka"
	description="The boardgame OSADA ZAMKA"
	copyright="The game by DONHUA.BIGTEO.NET"
	startup-scenario="startup.zts">
	

	<map name="zamok" image-file="osada.jpg"  />
	<map name="rules" image-file="rules.jpg"  />

	<dice-hand type="D6">
		<dice count="1" color="0000ff" pips="ffffff" />
	</dice-hand>


<counter-sheet name="units"
	front-image-file="unit.jpg" front-resolution="150 dpi">
<card-section rows="1" columns="2" front-left="0" front-top="0" front-right="351" front-bottom="183"
	 supply="44" shadow="20" /> 
</counter-sheet>

<counter-sheet name="lords"
	front-image-file="lord.jpg" front-resolution="150 dpi">
<card-section rows="1" columns="2" front-left="0" front-top="0" front-right="351" front-bottom="183"
	 supply="2" shadow="20" /> 
</counter-sheet>

<counter-sheet name="ok" front-image-file="ok.jpg" front-resolution="150 dpi">
	<card-section front-left="0" front-top="0" front-right="117" front-bottom="117" supply="20"/>
</counter-sheet>

<counter-sheet name="orujie" front-image-file="ogon.jpg" front-resolution="150 dpi">
	<card-section front-left="0" front-top="0" front-right="117" front-bottom="117" supply="6"/> 
</counter-sheet>

</game-box>
_____________________________

Code: Select all

<?xml version="1.0" encoding="Windows-1252" standalone="yes"?>
<game game-box="CAN STOP" scenario-name="escenario" scenario-description="configuracion inicial del tutorial 1" scenario-copyright="no tiene">
	<layout board="zamok" visible="true">
	</layout>
	<layout board="rules" />
	<layout board="units" />
	<layout board="lords" />
	<layout board="ok" />
	<layout board="orujie" />
</game>
_________________________________

Where my error?

The reference on game-box:
http://www.unibytes.com/a47utfOKv5-B

Posted: 07 Nov 2011, 10:34
by Heath
change 'front' to 'face'.

Posted: 08 Nov 2011, 10:23
by donhua
Perfectly well. All has turned out.