Big commit

This commit is contained in:
Thomas FORGIONE
2015-07-29 11:04:38 +02:00
parent a914ed2a2d
commit c690accd4b
22 changed files with 238 additions and 12 deletions

View File

@@ -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) {

View File

@@ -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
}
];