Create a new Node2D scene. Rename the Node2D to ‘Board’.
Save the scene as ‘board.tscn‘
Attach a script to the ‘Board’ scene and save it as ‘board.gd‘
Open the ‘main.tscn‘ scene.
Right-click ‘GameRoot‘ Node and select ‘Instantiate Child Scene…’ – Select ‘board.tscn‘. Click ‘OK’.
At this point, our ‘main.tscn‘ should look like this.

Save ‘main.tscn‘.
Leave a Reply