Phaser API Documentation

baseURL: string


If you want to append a URL before the path of any asset you can set this here.

Useful if allowing the asset base url to be configured outside of the game code.

If you set this property directly then it must end with a "/". Alternatively, call setBaseURL() and it'll do it for you.

Default: ''
Since: 3.0.0