Hi guys,
I'm playing with Render engine for 2 days, but I went to some issue I
cannot solve by myself. Here is problem:
My project structure is :
/website/
/website/Scripts/ <---- all javascript files are here, and for render
engine I stored it in renderengine subfloder, like below
/website/Scripts/renderengine/ <- renderengine downloaded from
internet (as is)
The rest folders are irrelevant for this question, since I'm using
asp.net MVC for this website. The point is that urls of my pages are
generated by mvc engine, so they are usually like /website/controller/
action/{id} which is out of renderengine lib folder.
In case when I use static page, in /website/Scripts/renderengine/
folder, and make game bootstrap script in same folder, everything
works like a charm, but, If I try to load game in one of
asp.net mvc
views I end up with plenty errors (probably dependency issues) and my
bootstrap javascript file never loads, since
Those two lines in renderengine/engine/runtime/engine.js are place on
what I mean Engine.gameLoadTimer's statement (condition)
if (Engine.optionsLoaded && window["DocumentContext"] != null)
is never true.
Anyone?
Thanks,
MJ