Hi all,
I would like to check if this is an expected behavior:
I have a jstpl created token (A meeple for instance) that needs to be place (or slide) onto another jstpl created token (A randomly placed tile as a holder for meeples). This can be done as part of an onClick event. However, the token flew somewhere else unexpected when this is done during the setup function called during a refresh of the page. I had checked all variables passed for the meeple token to placeOnObject or slideToObject are referring to the correct tile.
Is this normal? What am I missing? Is it not possible to place or slide jstpl objects onto another during setup? I tried to rework my code place on space holder define in game.view.php and that works.
I would like to check if this is an expected behavior:
I have a jstpl created token (A meeple for instance) that needs to be place (or slide) onto another jstpl created token (A randomly placed tile as a holder for meeples). This can be done as part of an onClick event. However, the token flew somewhere else unexpected when this is done during the setup function called during a refresh of the page. I had checked all variables passed for the meeple token to placeOnObject or slideToObject are referring to the correct tile.
Is this normal? What am I missing? Is it not possible to place or slide jstpl objects onto another during setup? I tried to rework my code place on space holder define in game.view.php and that works.