Link assets into separate assets project
We can reuse the assets and .import directories from BasicGameGodot
into the BasicGamePck
project.
Use the BasicGamePck
project just for exporting assets, scenes, no C# scripts.
Link assets
Remove the assets directory if there is one in BasicGamePck
This can be done with _link_assets.bat
helper bat file.
Symbolic link the
BasicGameGodot\assets
directory into theBasicGamePck
directory.Symbolic link the
BasicGameGodot\.import
directory into theBasicGamePck
directory.
_link_assets.bat:
SET cDir=%cd%
cd ../BasicGameGodot
SET baseGodotDir=%cd%
cd assets
SET assetDir=%cd%
cd ../.import
SET importDir=%cd%
cd %cDir%
mklink /D assets "%assetDir%"
mklink /D .import "%importDir%"
- When we link the
.import
,.assets
here we should be on par with theBasicGameGodot
project all the time so we can just build out packs.