I am adding a folder with assets inside the build template folder of the web mobile and trying to access them using the asset manager inside the Cocos game. Does this work?
and accessing this inside the cocos component like this
I am adding a folder with assets inside the build template folder of the web mobile and trying to access them using the asset manager inside the Cocos game. Does this work?
and accessing this inside the cocos component like this
Why do you want to load other folders while the game running? Have you tried the bundle before? Here is the bundle introduction link to you: Asset Bundle Overview | Cocos Creator
I actually don’t want to recompile or build the game to update a few assets.
for example, I have some 40 levels and 40 backgrounds. I want to update a few more but I dont want to recompile them to build and update. Instead, I will just add those extra assets in that folder.
Hope you understand What I mean
I will suggest you use bundle to load assets from outside project. Of course you can set up a resources server, and use assetmanager.loadRemote to load picture/text/audio from the server.