The question of the "stack".

Discuss game box design and sharing.

Moderators: Ichibrothers, Cambronne

Post Reply
User avatar
donhua
Posts: 7
Joined: 02 Nov 2011, 12:07
Location: Russian
Contact:

The question of the "stack".

Post 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:

Как сделать, чтобы при наведении мышкой на сток карточек, сток не расползался.
Извините за мой английский. Я русский.
Если необходимо, выложу ссылки для картинки или коробку с этой проблемой.
За раннее спасибо. Жду ответа.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

Hi!
You can unfold a card stack by holding the Control key.
Jerome, ZunTzu developer.
User avatar
donhua
Posts: 7
Joined: 02 Nov 2011, 12:07
Location: Russian
Contact:

Post 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/
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post 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" >
User avatar
donhua
Posts: 7
Joined: 02 Nov 2011, 12:07
Location: Russian
Contact:

Post 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
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

change 'front' to 'face'.
User avatar
donhua
Posts: 7
Joined: 02 Nov 2011, 12:07
Location: Russian
Contact:

Post by donhua »

Perfectly well. All has turned out.
Post Reply