Hi.
I want to put the index.html(php) to different directory(and domain) with other files(‘files folder’ and ‘~js’ and ‘json’…).
But It doesn’t work…
Are there any way to change the settings about it?
Is this specification of PlayCanvas?
I tried a sample below:
NG
(deleted sample page)
I modified the files below:
(I added the PATH to each directories. "pc/“or"js/”)
[[index.html]]
> <link rel="stylesheet" type="text/css" href="pc/styles.css">
> <link rel="manifest" href="pc/manifest.json">
> :
> :
> <script src="js/playcanvas-stable.min.js"></script>
> <script>
> :
> SCENE_PATH = "pc/453663.json";
> :
> CONFIG_FILENAME = "pc/config.json";
> :
> <body>
> <script src="pc/__start__.js"></script>
> <script src="pc/__loading__.js"></script>
> :
[[Directories]]
[directoryA(domainA)]
index.html(php)
[directoryB(domainB)]
js folder
|-playcanvas-stable.min.js
pc folder
|-files folder
|-453663.json
|-__game-scripts.js
|-loading.js
|-start.js
|-config.json
:
:
Thanks.