Note that these instructions are only necessary for development work on Pixelot, to install the current version of Pixelot, do so from here.
- Within
runner\runnpm run build-prod - Then run
npm run dist:<target>where<target>is one ofwindows,mac, orlinux(or justnpm run distto build all three) - Within
runner\dist\you will find the distributable files for each target - Within
runner\dist\<target>find the reference inpackage.jsonto the engine library and correct the relative path to point to theenginedirectory - Now run
npm run installwithinrunner\dist\<target> - Delete the
gamefolder within the runner (this will be created by the engine when building) - Finally, copy the built runner to
pixelot\runners\<target>and rename the folder to 'Windows', 'Linux', or 'Mac'
Yourpixelotdirectory should now look like (if you only want to build to Windows, the other folders aren't necessary):pixelot |___<everything else> |___ runners |_____Windows |_____Linux |_____Mac
- Within
pixelot\runnpm run build - Then run
npm run dist:<target>where<target>is one ofwindows,mac, orlinux(or justnpm run distto build all three) - Follow instructions 3-5 from the previous section, in the
pixelot\dist\<target>directory instead, to install the engine library and necessary packages - Take all files from
pixelot\dist\<target>\dist-ngand move them up one level (deleting the extraprojectsandengine_assetsfolders within).
This has been changed from how it was previously because otherwise the root directory of the UI would be
dist-ngand notpixelotwhich is what the engine expects.