scrollmap, zoom and Carcassonne

Game development with Board Game Arena Studio
Post Reply
User avatar
Mistergos
Posts: 79
Joined: 18 September 2011, 16:59

scrollmap, zoom and Carcassonne

Post 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?
User avatar
apollo1001
Posts: 191
Joined: 21 July 2015, 10:41

Re: scrollmap, zoom and Carcassonne

Post 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..
User avatar
Mistergos
Posts: 79
Joined: 18 September 2011, 16:59

Re: scrollmap, zoom and Carcassonne

Post 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.
User avatar
A-dam
Posts: 107
Joined: 28 September 2013, 18:15

Re: scrollmap, zoom and Carcassonne

Post 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..
Post Reply

Return to “Developers”