Page 1 of 1

scrollmap, zoom and Carcassonne

Posted: 02 May 2020, 20:40
by Mistergos
Hi there

There is a zoom method on mouse scroll in carcassonne. I assumed it uses the scrollmap component but i cannot find any documentation on the zoom feature. I cannot access the source of carcassonne on studio projects. Where can i access this source code.

Plus, I cannot scroll up or down in Carcassonne on mobile phone. It scrolls the entire page, not just the board. Is that a bug on my Iphone or anyone else has the same behavior?

Re: scrollmap, zoom and Carcassonne

Posted: 02 May 2020, 20:43
by apollo1001
You can load up a replay of an old game (https://boardgamearena.com/archive/repl ... &comments=), and simply take a look at the js used there..

Re: scrollmap, zoom and Carcassonne

Posted: 02 May 2020, 20:54
by Mistergos
Ok thx. Not that easy with a 1 line js file ;p but i have seen that there is no built in zoom feature in scrollmap component. Thx.

Re: scrollmap, zoom and Carcassonne

Posted: 03 May 2020, 09:41
by A-dam
Mistergos wrote: 02 May 2020, 20:40 Plus, I cannot scroll up or down in Carcassonne on mobile phone. It scrolls the entire page, not just the board. Is that a bug on my Iphone or anyone else has the same behavior?

Hi, its not your phone, it is not working. I came with own solution in Marram (similar game to Carcassonne,in alpha phase now) you can have a look..