- Home /
Board game linking board spaces
Hello! I'm creating a board game where the board movement are supposed to be similar to Mario party. The idea is that each board space will have up to four references, one for each direction the player can walk. A simple solution is to drag and drop references to each board tile in the editor, but it would take a lot of time to do it for every tile since it's not intuitive and have to do it twice to link them back to each other every time. Do you have an opinion on what method is easiest to work with or implement?
Answer by CodesCove · Jun 29, 2020 at 08:12 PM
How about 2-dimensional "overlay" matrix like GameObject[ , ]. So you place the object references to this matrix. Then you can make movement (control) script using this matrix like a coordinate system. You could also use this matrix to generate the actual "board" from prefab(s).
Your answer

Follow this Question
Related Questions
Get all items from hierarchy? 2 Answers
Display localizations strings selector on custom script component 1 Answer
EditorWindow and emulating panels 2 Answers
Are textured/z-clipped gizmos possible? 0 Answers
creating 2d table\chess board\2d array 2 Answers