mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 21:01:32 +02:00
Add begin step to tutorial
This commit is contained in:
parent
8a7f67c849
commit
7b881a6be0
1 changed files with 3 additions and 4 deletions
|
@ -244,11 +244,10 @@ function playFirecrackerSound(position) {
|
||||||
// STEP: DISABLE CONTROLLERS //
|
// STEP: DISABLE CONTROLLERS //
|
||||||
// //
|
// //
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
var stepDisableControllers = function(name) {
|
var stepStart = function(name) {
|
||||||
this.tag = name;
|
this.tag = name;
|
||||||
this.shouldLog = false;
|
|
||||||
}
|
}
|
||||||
stepDisableControllers.prototype = {
|
stepStart.prototype = {
|
||||||
start: function(onFinish) {
|
start: function(onFinish) {
|
||||||
disableEverything();
|
disableEverything();
|
||||||
|
|
||||||
|
@ -1035,7 +1034,7 @@ TutorialManager = function() {
|
||||||
currentStep = null;
|
currentStep = null;
|
||||||
startedTutorialAt = Date.now();
|
startedTutorialAt = Date.now();
|
||||||
STEPS = [
|
STEPS = [
|
||||||
new stepDisableControllers("step0"),
|
new stepStart("start"),
|
||||||
new stepOrient("orient"),
|
new stepOrient("orient"),
|
||||||
//new stepRaiseAboveHead("raiseHands"),
|
//new stepRaiseAboveHead("raiseHands"),
|
||||||
new stepNearGrab("nearGrab"),
|
new stepNearGrab("nearGrab"),
|
||||||
|
|
Loading…
Reference in a new issue