Improved tutorial

This commit is contained in:
Thomas FORGIONE
2015-07-30 13:11:28 +02:00
parent c690accd4b
commit 3e442500ca
10 changed files with 59 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ var TutorialSteps = function(tutoCamera, scene, coins, onWindowResize, container
justclick:false
},
{
text: "Congratulations ! You've successfully finished the tutorial ! <a href=\"/prototype/empty\">Click here</a> to start.",
text: "Congratulations ! You've successfully finished the tutorial ! Click on the green button to continue !",
justclick: false
}
];

View File

@@ -62,6 +62,13 @@ function main() {
// Log fps
setInterval(function() {logfps(stats.getFps());}, 500);
Coin.onLastCoin = function() {
$('#next').click(function() {
window.location = '/before-begin';
});
$('#next').show();
};
}
function initThreeElements() {