Monster commit
This commit is contained in:
@@ -12,9 +12,9 @@ module.exports.demo = function(req, res) {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
|
||||
switch (req.query.scene) {
|
||||
case '2': res.locals.scene = 'L3D.initBobomb'; break;
|
||||
case '3': res.locals.scene = 'L3D.initMountain'; break;
|
||||
case '4': res.locals.scene = 'L3D.initWhomp'; break;
|
||||
case '2': res.locals.scene = 'BobombScene'; break;
|
||||
case '3': res.locals.scene = 'MountainScene'; break;
|
||||
case '4': res.locals.scene = 'WhompScene'; break;
|
||||
}
|
||||
|
||||
switch (req.query.bookmark) {
|
||||
|
||||
@@ -4,17 +4,22 @@ block title
|
||||
title #{title} - Prototype
|
||||
|
||||
block prepend js
|
||||
script BD_DISABLED = true;
|
||||
script.
|
||||
GLOB = typeof GLOB !== 'undefined' ? GLOB : {};
|
||||
GLOB.BD_DISABLED = true;
|
||||
|
||||
block extrajs
|
||||
script(src="/static/js/l3dp.min.js")
|
||||
script.
|
||||
GLOB = typeof GLOB !== 'undefined' ? GLOB : {};
|
||||
GLOB.SceneClass = #{scene};
|
||||
GLOB.Recommendation = #{bookmark};
|
||||
GLOB.prefetch = "#{prefetch}";
|
||||
GLOB.locked = #{session.locked === undefined ? 'true' : session.locked};
|
||||
block configjs
|
||||
script.
|
||||
initMainScene = #{scene};
|
||||
Recommendation = #{bookmark};
|
||||
prefetch = "#{prefetch}";
|
||||
locked = #{session.locked === undefined ? 'true' : session.locked};
|
||||
coinsId=[];
|
||||
GLOB = typeof GLOB !== 'undefined' ? GLOB : {};
|
||||
GLOB.coinConfig={ids:[], type: Coin.Config.NONE};
|
||||
|
||||
script(src="/static/js/prototypeinteractive.min.js")
|
||||
script document.getElementById('music').volume = 0.5;
|
||||
|
||||
Reference in New Issue
Block a user