Search found 7 matches

by i_a_green
01 February 2022, 15:41
Forum: Developers
Topic: How to change card size in Stock?
Replies: 8
Views: 1287

Re: How to change card size in Stock?

This page: https://en.doc.boardgamearena.com/Game_ ... _directory suggests 4096x4096 as an upper limit.
by i_a_green
01 February 2022, 15:35
Forum: Developers
Topic: How to change card size in Stock?
Replies: 8
Views: 1287

Re: How to change card size in Stock?

I have a 2500 x 4080 image representing a 5 x 6 array of cards on the sprite sheet (i.e. 30 cards total) You might have trouble on "old" android devices of assets not loading. Interesting. I'm sure I remember a finding a suggested size limit somewhere on the wiki (can't remember if it was...
by i_a_green
01 February 2022, 15:28
Forum: Developers
Topic: How to change card size in Stock?
Replies: 8
Views: 1287

Re: How to change card size in Stock?

thoun wrote: 01 February 2022, 15:22 Why not resize the image? It will also make the file smaller
It will not look as good, especially when you zoom in.
by i_a_green
01 February 2022, 15:18
Forum: Developers
Topic: How to change card size in Stock?
Replies: 8
Views: 1287

Re: How to change card size in Stock?

The way I have it working is as follows: I have a 2500 x 4080 image representing a 5 x 6 array of cards on the sprite sheet (i.e. 30 cards total) In the css for the stockitem I have : background-size: 500px 816px; so this is 1/5th the original size. Then when I create the stock I use: cardwidth = 10...
by i_a_green
26 September 2021, 00:16
Forum: Developers
Topic: RESOLVED - Incorrect error: Impossible to change active player during activeplayer type state
Replies: 3
Views: 624

Re: Incorrect error: Impossible to change active player during activeplayer type state

So I went to copy the code, did a quick sanity check and spotted the problem. Always the way. I was calling another method which changed the state, but then it returned back to stCardSawpCleanUp() and I tried to change the active player. I was for some stupid reason assuming that changing state also...
by i_a_green
25 September 2021, 21:40
Forum: Developers
Topic: RESOLVED - Incorrect error: Impossible to change active player during activeplayer type state
Replies: 3
Views: 624

RESOLVED - Incorrect error: Impossible to change active player during activeplayer type state

Hi I'm developing Templari, and it's all been going great, but I made a bunch of changes to add a variant and now I'm getting the following error: Impossible to change active player during activeplayer type state But it isn't being thrown during an 'activeplayer' state! Log snippet: 25/09 21:50:40 [...
by i_a_green
09 March 2021, 16:37
Forum: "Alpha" games
Topic: Templari in Alpha!
Replies: 0
Views: 296

Templari in Alpha!

Templari is now in Alpha! https://boardgamearena.com/reviewer?game=templari It's a card based set collection + auction game from Michael Schacht (probably most famous for coloretto), a reimplementation of his game Don which was also reimplemented as Serengeti. The twist is that you cannot bid a valu...

Go to advanced search