Big commit
This commit is contained in:
3
js/l3d/apps/prototype/Coin.js
vendored
3
js/l3d/apps/prototype/Coin.js
vendored
@@ -156,6 +156,9 @@ Coin.prototype.get = function() {
|
||||
|
||||
Coin.sounds[(Coin.total ++) - 1].play();
|
||||
if (Coin.total === 9) {
|
||||
if (typeof Coin.onLastCoin === 'function') {
|
||||
Coin.onLastCoin();
|
||||
}
|
||||
// You got the last coin
|
||||
var music = document.getElementById('music');
|
||||
if (music !== null) {
|
||||
|
||||
@@ -111,7 +111,7 @@ var TutorialSteps = function(tutoCamera, scene, coins, onWindowResize, container
|
||||
justclick:false
|
||||
},
|
||||
{
|
||||
text: "Congratulations ! You've successfully finished the tutorial !",
|
||||
text: "Congratulations ! You've successfully finished the tutorial ! <a href=\"/prototype/empty\">Click here</a> to start.",
|
||||
justclick: false
|
||||
}
|
||||
];
|
||||
|
||||
20
js/l3d/src/recommendations/EmptyRecommendation.js
Normal file
20
js/l3d/src/recommendations/EmptyRecommendation.js
Normal file
@@ -0,0 +1,20 @@
|
||||
L3D.EmptyRecommendation = function() {
|
||||
L3D.BaseRecommendation.apply(this, arguments);
|
||||
this.target = new THREE.Vector3();
|
||||
};
|
||||
|
||||
L3D.EmptyRecommendation.prototype = Object.create(L3D.BaseRecommendation.prototype);
|
||||
L3D.EmptyRecommendation.prototype.constructor = L3D.EmptyRecommendation;
|
||||
|
||||
|
||||
L3D.EmptyRecommendation.prototype.raycast = function() {};
|
||||
L3D.EmptyRecommendation.prototype.check = function() {};
|
||||
L3D.EmptyRecommendation.prototype.initExtremity = function() {};
|
||||
L3D.EmptyRecommendation.prototype.updateExtremity = function() {};
|
||||
L3D.EmptyRecommendation.prototype.setSize = function() {};
|
||||
L3D.EmptyRecommendation.prototype.update = function() {};
|
||||
L3D.EmptyRecommendation.prototype.regenerateArrow = function() {};
|
||||
L3D.EmptyRecommendation.prototype.look = function() {};
|
||||
L3D.EmptyRecommendation.prototype.addToScene = function() {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user