forked from cgvr/DeltaVR
shape scanner updates display on start
This commit is contained in:
@@ -11,11 +11,14 @@
|
|||||||
* klaas on näha temast eespool
|
* klaas on näha temast eespool
|
||||||
* voicelines: list listidest, mille hulgast saab valida
|
* voicelines: list listidest, mille hulgast saab valida
|
||||||
* shape detection:
|
* shape detection:
|
||||||
|
* ring liiga raske
|
||||||
* professor võiks öelda "good job, continue..." pärast esimest successi
|
* professor võiks öelda "good job, continue..." pärast esimest successi
|
||||||
* kui kõik configurationid tehtud, siis professor ütleb "thank you"
|
* kui kõik configurationid tehtud, siis professor ütleb "thank you"
|
||||||
* peab mängijale kuidagi selgitama, kuidas scale'ida prinditud objekte
|
* peab mängijale kuidagi selgitama, kuidas scale'ida prinditud objekte
|
||||||
* prinditud objekti scale'imisele min ja max size limiit
|
* prinditud objekti scale'imisele min ja max size limiit
|
||||||
* archery range:
|
* archery range:
|
||||||
|
* õigesti pöörata spawnitud objekte, et nad tuleksid esipoolega
|
||||||
|
* timer lühemaks (30 sec)
|
||||||
* võiks jääda kordama viimast instruktsiooni, kui mängija ei progressi edasi
|
* võiks jääda kordama viimast instruktsiooni, kui mängija ei progressi edasi
|
||||||
* kui archery range läbi, võiks npc öelda "good job, try again..."
|
* kui archery range läbi, võiks npc öelda "good job, try again..."
|
||||||
* cafe:
|
* cafe:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -84,6 +84,7 @@ public class ShapeScanner : MonoBehaviour
|
|||||||
isCompleted = false;
|
isCompleted = false;
|
||||||
currentConfiguration = 0;
|
currentConfiguration = 0;
|
||||||
InitializeConfiguration(configurations[0]);
|
InitializeConfiguration(configurations[0]);
|
||||||
|
UpdateCurrentConfigurationDisplay(currentConfiguration);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
@@ -180,12 +181,12 @@ public class ShapeScanner : MonoBehaviour
|
|||||||
}
|
}
|
||||||
if (correctPercentage >= configurations[currentConfiguration].requiredCorrectPercentage)
|
if (correctPercentage >= configurations[currentConfiguration].requiredCorrectPercentage)
|
||||||
{
|
{
|
||||||
UpdateCurrentConfigurationDisplay(currentConfiguration + 1);
|
|
||||||
OnConfigurationComplete();
|
OnConfigurationComplete();
|
||||||
if (currentConfiguration + 1 < configurations.Count)
|
if (currentConfiguration + 1 < configurations.Count)
|
||||||
{
|
{
|
||||||
currentConfiguration++;
|
currentConfiguration++;
|
||||||
InitializeConfiguration(configurations[currentConfiguration]);
|
InitializeConfiguration(configurations[currentConfiguration]);
|
||||||
|
UpdateCurrentConfigurationDisplay(currentConfiguration);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
// Initialize configuration with all rays requiring collision
|
// Initialize configuration with all rays requiring collision
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"HighScore":340.0}
|
{"HighScore":416.0}
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"entries": [
|
"entries": [
|
||||||
|
{
|
||||||
|
"name": "Perfoon",
|
||||||
|
"score": 416.0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "h",
|
"name": "h",
|
||||||
"score": 138.0
|
"score": 138.0
|
||||||
|
|||||||
Reference in New Issue
Block a user