From what I understand, it's easy to access the runtime object from the global scope with:
— window["c3runtime"] in C2.5
— window["c3_runtimeInterface"]._GetLocalRuntime() in C3
And if I get it right, it's only made so the engine itself could call functions like
— window["cr_getSnapshot"]
— window["cr_sizeCanvas"]
— window["cr_setSuspended"]
from within global functions and event listeners where the runtime object can't be accessed otherwise.
I have a problem with it because when the runtime object is exposed to the global scope, it's impossible to impede shenanigans with the game data (from the javascript console, for example).
Are you planning on doing something with it?
Ashley