How to create _game-script file from the outside of PlayCanvas studio?

When we build and publish a project, it includes a script name called “game-script” when we choose “concatenate script” option.

I just wonder if I can manually create it from the outside of the editor.

Hi @sooyong_Kim,

I gather you can do that by collecting all script files in a backend (e.g. node.js) script and adding them one after the other (that’s what concatenate does).

What are you trying to do?

I will have several projects which will share the same code base.

Most of case, I need to work on editor to check the interaction with modeling.

However, I might need to just update the game script file and I just want to replace the script file after I build it locally. So, I can distribute each project more easily.

1 Like