Sandbox - only one element allowed in a zone
Posted: 13 June 2020, 16:15
Hi,
I am a newbie developer, just finished an online course in javascript and thought I'd see if I can develop a game in the Sandbox. I contacted BGA and they suggested I have a go at a game called Sensei. Having just set up the board and playing pieces through the interface view I have immediately come up against a problem.
The game involves one of the game pieces sitting on top of another - a tile - and moving from one of the player's tiles to another throughout the game. On trying to play a test game I find that the zones that I created as the board spaces will only take one element each, so the player's main piece cannot move on top of another tile in the same space. Is this something I can alter in the scripting when I come to do that? If I had one piece that represented a tile which has the main piece on top of it and was able to just switch that with the tile in the destination space that might work, but is that something I'll be able to do?
Any guidance appreciated, as I don't want to spend time on this if it is simply not possible in the sandbox. General advice on working in the sandbox would also be appreciated, if you have the time to give it.
Thanks, Alistair
I am a newbie developer, just finished an online course in javascript and thought I'd see if I can develop a game in the Sandbox. I contacted BGA and they suggested I have a go at a game called Sensei. Having just set up the board and playing pieces through the interface view I have immediately come up against a problem.
The game involves one of the game pieces sitting on top of another - a tile - and moving from one of the player's tiles to another throughout the game. On trying to play a test game I find that the zones that I created as the board spaces will only take one element each, so the player's main piece cannot move on top of another tile in the same space. Is this something I can alter in the scripting when I come to do that? If I had one piece that represented a tile which has the main piece on top of it and was able to just switch that with the tile in the destination space that might work, but is that something I'll be able to do?
Any guidance appreciated, as I don't want to spend time on this if it is simply not possible in the sandbox. General advice on working in the sandbox would also be appreciated, if you have the time to give it.
Thanks, Alistair