Thanks to a big performance update in js/game2.js I can now draw a second world layer, adding some depth to the environment (car will drive underneath pedestrian bridges) without dropping frames.
In an ideal world the svg would be loaded, and certain layers/groups be disabled but for now we'll make do with an extras -bridges.svg file for every track.
Performance still does take a hit with large gradient / blur areas (see hotel section in Abu Dhabi / Yas Marina.
Thanks to a big performance update in
js/game2.js
I can now draw a second world layer, adding some depth to the environment (car will drive underneath pedestrian bridges) without dropping frames.In an ideal world the svg would be loaded, and certain layers/groups be disabled but for now we'll make do with an extras
-bridges.svg
file for every track.Performance still does take a hit with large gradient / blur areas (see hotel section in Abu Dhabi / Yas Marina.