Application does not run on browsers apart from firefox - RE version 1.5.3

6 views
Skip to first unread message

winterismute

unread,
Jul 12, 2011, 6:15:06 PM7/12/11
to The Render Engine
Hi there,
I have the following problem: I have made a small game using the
version 1.5.3 of the engine. During development, I have been testing
in a local fashion using firefox and the small webserver shipped with
the engine. Then, I uploaded the whole thing on the web, but
unfortunately I can open it only with firefox. If I try to open it
with Chrome or Safari what I get on the log console is:

Math2D' has the following unresolved dependencies: (5) xmin xmax min
max hull

followed by similar errors about my code BUT naming variables that
don't actually exists (even though names seem to appear in the
comments). The strange thing is that if I test the app locally using
the .exe webserver it works with every browser and I get no messages
on the console.
Do you have any advice?
Thanks in advance,

Rudi

Brett Fattori

unread,
Jul 14, 2011, 9:16:16 AM7/14/11
to the-rend...@googlegroups.com
The dependency checker in v1.5.3 was extremely restrictive, and as such it creates exceptions where there are none.  Basically what causes that is lines where more than one variable is declared, such as:

var xmin = 0, xmax = 0, ymin = 0,
     ymax = 0;

The linker wasn't able to work with this pattern because no good regular expression could figure this out.  v2.0 has a much more lenient linker and dependency checker which doesn't trip up on issues like this.  I know it might be a lot of work to convert your game at this point, but I would recommend it due to the improvements in the engine and the much more lax engine linker.

- Brett


--
You received this message because you are subscribed to "The Render Engine" group.
To post to this group, send email to the-rend...@googlegroups.com
To unsubscribe from this group, send email to
the-render-eng...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/the-render-engine?hl=en

Reply all
Reply to author
Forward
0 new messages