From what I can see here the sceneArgs object is always empty on the initial call of makeScene. Would it make sense for "global" scene config to allow an arguments object in scenes.json that gets read there? Is there already another way to do this outside of scenes.json that I'm not thinking about?
I'm not sure what this would solve. I think you should just have a default set of arguments if none are passed in. I do something like var level = game.arguments.level || 1.
From what I can see here the
sceneArgs
object is always empty on the initial call ofmakeScene
. Would it make sense for "global" scene config to allow anarguments
object inscenes.json
that gets read there? Is there already another way to do this outside ofscenes.json
that I'm not thinking about?